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

segmentation figures are all empty #13

Open
harborsarah opened this issue Sep 6, 2023 · 1 comment
Open

segmentation figures are all empty #13

harborsarah opened this issue Sep 6, 2023 · 1 comment

Comments

@harborsarah
Copy link

Hi,
I clone this repo (https://github.com/bowenc0221/panoptic-deeplab) to the external folder. And run python semantic_seg.py
But the generated images all have a value of False. I would like to know if it is because the model didn't correctly load weight or what the problem is.
What additional steps should be taken after cloning the repo?
Thanks a lot for your help.

@longyunf
Copy link
Owner

longyunf commented Sep 7, 2023

You may check if you have installed required packages for running Panoptic-DeepLab according to https://github.com/bowenc0221/panoptic-deeplab/blob/master/tools/docs/INSTALL.md and downloaded pretrained weights panoptic_deeplab_R101_os32_cityscapes.pth.

The command using the pretained weights is:
python semantic_seg.py TEST.MODEL_FILE path/to/panoptic_deeplab_R101_os32_cityscapes.pth

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