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 initialize the Transformers with ImageNet-1k weights and fine-tune them? #2

Open
abellnav opened this issue Oct 9, 2024 · 0 comments

Comments

@abellnav
Copy link

abellnav commented Oct 9, 2024

Good afternoon,

First, I would like to thank you for the code provided, and I find the work very interesting. Please could you share the code you have used to initialize the Transformers with ImageNet-1k weights and to fine-tune them using another database given in the ‘build_dataset’ calls for Image classification? I tried to import pretrained Vision Transformers from HuggingFace using the argument ‘finetune’, but the corresponding code which considers ‘args.finetune’ gives me errors.

Thank you very much in advance.

Best

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