-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
masks from (n,h,w) to [(h,w),...,(h,w)] #4032
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4032 +/- ##
==========================================
+ Coverage 61.78% 61.86% +0.07%
==========================================
Files 224 225 +1
Lines 16632 16672 +40
Branches 2810 2825 +15
==========================================
+ Hits 10276 10314 +38
+ Misses 5859 5853 -6
- Partials 497 505 +8
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
bitmapmasks = results['masks'].masks | ||
for i in range(bitmapmasks.shape[0]): | ||
masks_list += [bitmapmasks[i,:,:]] | ||
results['masks'] = masks_list |
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.
Can be simplified by np.vsplit
Task linked: CU-4zxm6k [Review] MMdet #4032 |
@howardchina, please sign CLAassistant, then we can merge. |
CLAassistant is signed already. |
Thanks for the fantastic work regarding new release ! |
Please @yhcao6 have a look for that. |
https://github.com/albumentations-team/albumentations/blob/master/albumentations/core/composition.py#L223
"data" is List