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

mini_imagenet_dataloader.py: 189 should be self.num_samples_per_class*self.way_num #5

Open
dsmic opened this issue Aug 22, 2019 · 2 comments

Comments

@dsmic
Copy link
Contributor

dsmic commented Aug 22, 2019

OK, I have another question or probably a bug :)

in mini_imagenet_dataloader.py:

num_samples_per_class: should be (episode_test_sample_num + shot_num) * way_num

Line 189 has
one_episode_sample_num = self.num_samples_per_class*self.shot_num

which I think I do not understand or what is wrong :) In the default way_num and shot_num are both 5, so most will not get any problems here.

@yaoyao-liu
Copy link
Owner

Thanks a lot for your contributions. That's a bug. You may create a pull request to fix the bug if you hop to.

@jamesbraza
Copy link

Looks like a fix was merged: #6

@yaoyao-liu would you mind closing this issue as complete?

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