-
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
[Feature] Support 300VW Dataset #3005
[Feature] Support 300VW Dataset #3005
Conversation
if __name__ == '__main__': | ||
tester = TestFace300VWDataset() | ||
tester.test_metainfo() | ||
tester.test_topdown() | ||
tester.test_bottomup() | ||
tester.test_exceptions_and_warnings() | ||
tester.test_annotation() |
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.
We should remove these test codes.
img = cv2.imread(instance['img_path']) | ||
visualizer.draw_points(img, instance['keypoints'][0]) | ||
save_path = os.path.join(vis_dir, | ||
os.path.basename(instance['img_path'])) | ||
assert cv2.imwrite(save_path, | ||
img), 'facial keypoints visualization failed!' |
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.
If you want to test the visualizer, you can add test code here https://github.com/open-mmlab/mmpose/blob/main/tests/test_visualization/test_fast_visualizer.py. And use a temporary path instead of a real path.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev-1.x #3005 +/- ##
===========================================
- Coverage 71.74% 71.64% -0.11%
===========================================
Files 293 294 +1
Lines 20068 20124 +56
Branches 3406 3416 +10
===========================================
+ Hits 14397 14417 +20
- Misses 4853 4886 +33
- Partials 818 821 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Motivation
Modification
BC-breaking (Optional)
Use cases (Optional)
Checklist
Before PR:
After PR: