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 fine-tune the model? #12

Open
SalvatoreRa opened this issue Jun 13, 2023 · 1 comment
Open

How fine-tune the model? #12

SalvatoreRa opened this issue Jun 13, 2023 · 1 comment

Comments

@SalvatoreRa
Copy link

Very nice work,

do you have a sample of code for fine-tuning the model for a task?

Could be possible to fine tune as it was a model from the torch hub?

@dbolya
Copy link
Contributor

dbolya commented Jun 13, 2023

Yes, you should be able to fine-tune a torch hub model like normal.

As for how to fine-tune the models, I'd suggest taking a look at the finetuning script in the mae repo. It should be fairly similar to what we did, but you might have to tweak "drop path" and "layer decay" to your specific task.

We will eventually release training code in this repo as well, but we're currently fairly busy so it might take a while.

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

2 participants