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

load_for_transfer_learning #79

Open
lurong-xing opened this issue Feb 23, 2024 · 0 comments
Open

load_for_transfer_learning #79

lurong-xing opened this issue Feb 23, 2024 · 0 comments

Comments

@lurong-xing
Copy link

Thank you for your work!
When I use "load_for_transfer_learning(model, /path/to/pretrained/weights, use_ema=True, strict=False, num_classes=1000)" to change the num_classes, the size of output is still 1000. So what should I do when I want to change the final layer of t2t-vit to deal with different datasets?

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