MetaOptNet icon indicating copy to clipboard operation
MetaOptNet copied to clipboard

question about "--episodes-per-batch"

Open yxgnahz opened this issue 4 years ago • 2 comments

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

yxgnahz avatar Apr 28 '20 14:04 yxgnahz

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.

kjunelee avatar Apr 28 '20 20:04 kjunelee

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!

By-he avatar Jun 23 '20 01:06 By-he