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

About finetune #9

Closed
Christine620 opened this issue Jun 16, 2021 · 1 comment
Closed

About finetune #9

Christine620 opened this issue Jun 16, 2021 · 1 comment

Comments

@Christine620
Copy link

Hello,when I use your ResT_base weight to my fine-frained image classification task, I use the "--finetune",but i got a mistake . in 264 line(main.py) :
**UnboundLocalError: local variable 'model_without_ddp' referenced before assignment.**how can i fix it?

by the way, in line 431 in main.py: n_parameters is not define,can you give the definition?

@wofmanaf
Copy link
Owner

The main.py has been updated, the bash of fine-tuning a pre-trained rest is added in get_started.md

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