Skip to content
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

MaskRCNN: Inconsistency between documentation and output #1047

Closed
Adityav2410 opened this issue Jun 24, 2019 · 1 comment · Fixed by #1089
Closed

MaskRCNN: Inconsistency between documentation and output #1047

Adityav2410 opened this issue Jun 24, 2019 · 1 comment · Fixed by #1089

Comments

@Adityav2410
Copy link

Adityav2410 commented Jun 24, 2019

As per mask RCNN documentation, the predicted masks have the shape:
masks (Tensor[N, H, W]):

however as per the tutorial, https://colab.research.google.com/github/pytorch/vision/blob/temp-tutorial/tutorials/torchvision_finetuning_instance_segmentation.ipynb#scrollTo=M58J3O9OtT1G,
and the results/output i see from the model, the masks have the shape: [N, 1, H, W]

The masks are predicted as [N, 1, H, W]
i.e. i output masks have 4 dim, whereas documentation has 3dim..

@fmassa
Copy link
Member

fmassa commented Jun 25, 2019

Yes, this is a problem with the documentation.

Could you send a PR fixing it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants