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

tuning parameters #5

Open
Yanfei-Qin opened this issue Dec 25, 2020 · 3 comments
Open

tuning parameters #5

Yanfei-Qin opened this issue Dec 25, 2020 · 3 comments

Comments

@Yanfei-Qin
Copy link

I wish you a merry Christmas. On this beautiful day, I would like to ask you a question about tuning parameters. When I run the training file according to your steps, for example, when I run resnet18.sh (because I will report an error, I only modify / src / datasets)/ ingredient.py:num_workers = 0,After training, the accuracy of 1-shot 0.3776 and 5-shot 0.5026 can only be achieved in the mini dataset. Is there any other parameter adjustment skills

@Yanfei-Qin
Copy link
Author

for example pre-training model

@mboudiaf
Copy link
Owner

mboudiaf commented Jan 15, 2021

Hi, I've tried re-training from scratch with num_workers = 0, but haven't noticed any significant difference. Are you still facing this issue ? (when you've re-trained a model from scratch, you must delete the "best/" folder at the directory where your model is saved before launching the test experiment. This folder contains saved features that are used to speed-up the experiments, but that must be deleted every time you have a new model. You can do it by hand, or simply specify the option eval.fresh_start=True when launching)

@Yanfei-Qin
Copy link
Author

when I run resnet18.sh,only in the date of mini-ImageNet,after training,using the Tim-GD to val,the accuracy of 1-shot 72.96 and 5-shot 84.17,Less than 1%. Do you have any other skills?

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