-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Add test for CIFAR10(0) #1010
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
Add test for CIFAR10(0) #1010
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks a lot for the awesome PR!
Just waiting for CI to finish and then this is good to merge
Seems like the |
@pmeier the pickle file seems to be Python3-only. I see two options:
Given that you have generated the dummy file yourself, I think it might make sense to go for option 2, and plus the data generation logic stays in the code as well. Thoughts? |
Codecov Report
@@ Coverage Diff @@
## master #1010 +/- ##
==========================================
+ Coverage 63.11% 63.24% +0.12%
==========================================
Files 65 65
Lines 5073 5148 +75
Branches 757 772 +15
==========================================
+ Hits 3202 3256 +54
- Misses 1656 1669 +13
- Partials 215 223 +8
Continue to review full report at Codecov.
|
Should be fixed now. As a general thought: Do we want to do the fake data generation on-the-fly for all datasets? If yes, I think we should move the generation to a separate module to avoid cluttering the actual tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Yes, I think we should be doing it on-the-fly, and I agree that they should eventually be moved to a separate file. |
This adds test for the
CIFAR10
andCIFAR100
datasets as mentioned in #1006.