-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Refactor] Refactor unit test structure #433
[Refactor] Refactor unit test structure #433
Conversation
e060c6d
to
c1a35fe
Compare
Codecov Report
@@ Coverage Diff @@
## master #433 +/- ##
=======================================
Coverage 84.76% 84.76%
=======================================
Files 121 121
Lines 8579 8579
Branches 1416 1416
=======================================
Hits 7272 7272
Misses 953 953
Partials 354 354
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
What's the status now, is it ready for review? |
yes. And we will then raise another pull request to extract the common function in mmcv |
Here are some suggestions to discuss:
What do you think ? @congee524 @innerlee |
about the first point, does it means |
like |
fede29c
to
063abe5
Compare
Is this ready for review & merge? |
I'm waiting for releasing of mmcv to apply its latest common testing function |
I think |
yeah, and I have removed it |
tests/test_data/test_pipelines/test_augmentation/test_augment.py
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,10 @@ | |||
[ | |||
{ | |||
"video_dir": "rawvideo_dataset", |
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.
What's the difference between rawvideo and video? I think it should be consistent of dataset types.
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.
RawVideo dataset is used in the Project OmniSource. They have some differences.
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.
- May need to check if those common check functions moved to
mmcv.utils
are actually being used. - How to set a threshold to split the unittest?
ce7bdc4
to
6762c28
Compare
I have checked it all before, but there may be some omissions. We may fix them in future PR If there exist some omissions. There is no threshold for the time being. In fact, I have some confusion about |
Refactor unittest structure according to design document