-
Notifications
You must be signed in to change notification settings - Fork 423
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
IOU with segm masks and MAP for instance segment. #822
IOU with segm masks and MAP for instance segment. #822
Conversation
@gianscarpe mind resolve the conflict... 🐰 |
214e175
to
c5fc1d9
Compare
Any help with this error? It happens with ddp and I cannot figure out why @Borda
We can create an empty tensor for "detection_masks" and "groundtruth_masks" when the user does not provide them, in order to keep things working smoothly |
Codecov Report
@@ Coverage Diff @@
## master #822 +/- ##
=====================================
- Coverage 95% 95% -0%
=====================================
Files 181 181
Lines 7937 7993 +56
=====================================
+ Hits 7526 7568 +42
- Misses 411 425 +14 |
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.
Hello guys,
Let me add my 5 cents:
I just started to use this code, and it seems too complicated, maybe it would be better to create separate MAP for boxes and MAP for segments with common parent?
For example, I want to use segments, but I have to fill in boxes
If someone want to use both, he/she can create 2 metrics for boxes and for segments.
I maybe can contribute, If this idea seems fine
Not an expert on the detection topic so just wanted to ask how many different common formats there exist? |
There are segmentation and bounding boxes (not rotated)
|
@gianscarpe @Red-Eyed @SkafteNicki how is it going here? |
@Borda I'll fix my PR and submit next week :) |
The idea seems interesting. Let's see what @justusschock think about it! For the moment I have kept things as in the original pycoco implementation, where only one kind of iou_type |
5f7107c
to
c470675
Compare
Hi @Borda @SkafteNicki could you check the failing test?
I'm trying to fix this but it happens only on windows. This should be a boolean value, so why overflow error? Any ideas? |
Hi @gianscarpe, area = torch.tensor(mask_utils.area(input).astype("int")) to area = torch.tensor(mask_utils.area(input).astype("float")) and hope that fixed the problem :] |
if all is fine now, I ll move the data to S3 |
@Borda go ahead and do that, test are passing on windows now :] |
Co-authored-by: Nicki Skafte Detlefsen <[email protected]>
shall be all set now :) |
Update: Seems like it's not installing pycocotools from detection requirements |
What does this PR do?
Fixes #821
Before submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃