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

mask head usage? #7

Open
Scitator opened this issue Apr 13, 2018 · 1 comment
Open

mask head usage? #7

Scitator opened this issue Apr 13, 2018 · 1 comment

Comments

@Scitator
Copy link

Hi!

Firstly, thank u a lot. It looks like the best mask-rcnn implementation. (cause it does not use this magic from config import cfg)

Nevertheless, something is a bit strange for me. In the model init you define self.mask_head (cause it needed for segmentation task), but in the forward pass you dont use it at all. How is that?

Thanks!

@ignacio-rocco
Copy link
Owner

Hi, glad you liked the code :)

Please see the demo notebooks for the usage of the mask head. Essentially there is a results postprocess stage between the forward pass and running the mask head.

Ideally this post-processing stage (which involves NMS and other things) should also be converted into a torch.nn.Module, but this is not the case for now.

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

No branches or pull requests

2 participants