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

How to show the instance segmentation result #26

Open
freebooterish opened this issue Nov 1, 2020 · 1 comment
Open

How to show the instance segmentation result #26

freebooterish opened this issue Nov 1, 2020 · 1 comment

Comments

@freebooterish
Copy link

Thanks for your hard work. Much appreciated.
I try to run the command:
"python ./demo/D2Det_demo.py ./configs/D2Det/D2Det_instance_r101_fpn_2x.py ./D2Det-instance-res101.pth ./demo/demo.jpg --out ./demo/aa.jpg"
But aa.jpg only displays the detection results, NOT the segmentation results, Any ideas?

Another question: If I train with custom dataset, using the config "D2Det/D2Det_instance_r101_fpn_2x.py", Does the result contain segmentation mask? Do I need to add "mask_head" items to the configuration file?

Thank you!

@JialeCao001
Copy link
Owner

JialeCao001 commented Nov 4, 2020

@freebooterish Thanks for your interest. Currently, I am sorry that I have no time to help check the problem. Maybe you can try to debug it by checking the imshow function. If you train the model with D2Det/D2Det_instance_r101_fpn_2x.py, I thinkt it should contain the segmentation mask because the config file will set the MASK_ON be true.

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