-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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] Add SRFacicalLandmarkDataset. #329
Conversation
Codecov Report
@@ Coverage Diff @@
## master #329 +/- ##
==========================================
+ Coverage 80.03% 80.09% +0.05%
==========================================
Files 178 179 +1
Lines 9332 9349 +17
Branches 1357 1359 +2
==========================================
+ Hits 7469 7488 +19
+ Misses 1674 1673 -1
+ Partials 189 188 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
dict: Returned dict for GT and landmark. | ||
Contains: gt_path, bbox, shape, landmark. | ||
""" | ||
data_infos = np.load(self.ann_file, allow_pickle=True) |
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.
Use mmcv.load
. Benefit: it will support json automatically.
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.
But it doesn't support "npy" file, and here we don't need JSON data.
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.
I see.
A minor change |
* [Feature] Add SRLandmarkDataset. * Update docstring * Rename Co-authored-by: liyinshuo <liyinshuo@sensetime.com>
No description provided.