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

Re-sampling tasks after each epoch increases the performance #36

Open
ShawnLixx opened this issue Oct 22, 2019 · 3 comments
Open

Re-sampling tasks after each epoch increases the performance #36

ShawnLixx opened this issue Oct 22, 2019 · 3 comments

Comments

@ShawnLixx
Copy link

The create_batch function is only called once when the MiniImagenet dataset object is created, which means the tasks sampled are the same in every epoch.

I changed the code to second-order (according to #32) and call create_batch in every epoch, the performance can achieve 47.17%.

@Vampire-Vx
Copy link

Lol. Thanks for your result. I think the author is busy making money... He does not care about this little bug. For those who want to implement maml. I recommend https://towardsdatascience.com/advances-in-few-shot-learning-reproducing-results-in-pytorch-aba70dee541d

@ShawnLixx
Copy link
Author

Lol. Thanks for your result. I think the author is busy making money... He does not care about this little bug. For those who want to implement maml. I recommend https://towardsdatascience.com/advances-in-few-shot-learning-reproducing-results-in-pytorch-aba70dee541d

Thanks, I'll check that.

@zzpustc
Copy link

zzpustc commented Dec 9, 2020

The create_batch function is only called once when the MiniImagenet dataset object is created, which means the tasks sampled are the same in every epoch.

I changed the code to second-order (according to #32) and call create_batch in every epoch, the performance can achieve 47.17%.

@ShawnLixx
Hi!
I have run this code on miniImageNet, I can get almost 47% accuracy on testing dataset. However, when I save the corresponding best model, and load it on my testing code, I can only get 44% accuracy, is there any insight you can provide to help me fix this problem? Or can you tell me the way of how you implement the test code?

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