-
Notifications
You must be signed in to change notification settings - Fork 7.1k
add tests for Kinetics400 #3457
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
Conversation
def test_not_found_or_corrupted(self): | ||
self.skipTest("Dataset currently does not handle the case of no found videos.") |
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.
This can be removed after #2903 is fixed.
maybe related: #3273 |
@vadimkantorov That would be #3453 😉 |
Codecov Report
@@ Coverage Diff @@
## master #3457 +/- ##
==========================================
+ Coverage 75.96% 76.26% +0.29%
==========================================
Files 105 105
Lines 9707 9697 -10
Branches 1556 1556
==========================================
+ Hits 7374 7395 +21
+ Misses 1852 1822 -30
+ Partials 481 480 -1
Continue to review full report at Codecov.
|
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.
LGTM!
def test_not_found_or_corrupted(self): | ||
# LSUN does not raise built-in exception, but a custom one. It is expressive enough to not 'cast' it to | ||
# RuntimeError or FileNotFoundError that are normally checked by this test. | ||
with self.assertRaises(datasets_utils.lazy_importer.lmdb.Error): | ||
super().test_not_found_or_corrupted() |
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.
nit: this is an unrelated fix and would have been better fit for a separate PR
Summary: * add tests for Kinetics400 * use create_random_string() Reviewed By: fmassa Differential Revision: D26756281 fbshipit-source-id: a4fb2dde283a45cc8675db343d765881ceaba91d Co-authored-by: Philip Meier <[email protected]> Co-authored-by: Francisco Massa <[email protected]>
No description provided.