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

question about "--episodes-per-batch" #45

Open
yxgnahz opened this issue Apr 28, 2020 · 2 comments
Open

question about "--episodes-per-batch" #45

yxgnahz opened this issue Apr 28, 2020 · 2 comments

Comments

@yxgnahz
Copy link

yxgnahz commented Apr 28, 2020

Hi,

Thanks for your excellent work. Due to the limitation of my GPUs, I couldn't set --episodes-per-batch" to 8 as you did in your paper, instead I set it to 2 and used only one GPU to run your code. However, the result I achieved for miniImagenet 5 way 1 shot accuracy is 59%, which is much lower than your reported result. Could you please tell why "--episodes-per-batch" can influence the result quite significantly?

Thanks

@kjunelee
Copy link
Owner

You can understand --episodes-per-batch as something equivalent to batch size. Gradient descent is sensitive to the choice of batch size. Instead of reducing --episodes-per-batch, you might want try reducing --train-shot.

@By-he
Copy link

By-he commented Jun 23, 2020

Hi,

Thanks for your excellent work. Due to the limitation of my GPUs, I couldn't set --episodes-per-batch" to 8 as you did in your paper, instead I set it to 2 and used only one GPU to run your code. However, the result I achieved for miniImagenet 5 way 1 shot accuracy is 59%, which is much lower than your reported result. Could you please tell why "--episodes-per-batch" can influence the result quite significantly?

Thanks

Hello, I am also reproducing this experiment at present. May I ask that I encountered "TypeError: btrisolve() takes 3 positional arguments but 4 were given" during the operation under the situation of Metaoptnet-RR training on the CIfar-FS。May I ask where this parameter is given more? I am looking forward to your reply. Thank you!

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

3 participants