Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to print the subnet architectures get from supernet AutoFormer (tiny,base,small)? #231

Open
vovantuanuit opened this issue Mar 26, 2024 · 0 comments

Comments

@vovantuanuit
Copy link

Hi, first thanks for the nice work! It's really interesting,

Currently, I did like to print out the architectures of AutoFormer subnet, however, when I print the subnet architectures, the subnet is the get from super-net like this:
model_subnet = unwrap_model(model_VIT_supernet)
model_subnet.set_sample_config(config=net_arch)
model_subnet.to(device)

the output architectures of subnet when i just print(model_subnet) is always the architectures of supernet.

Is there any other way to print out the architectures of subnet? Thanks you

Best regards,
Tuan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant