dvlab-research / PanopticFCN

Fully Convolutional Networks for Panoptic Segmentation (CVPR2021 Oral)
Apache License 2.0
391 stars 53 forks source link

How to use the demo.py file? #46

Closed rongyiqing closed 1 year ago

rongyiqing commented 2 years ago

Please give me a detailed introduction of what needs to be changed. image

yanwei-li commented 2 years ago

Hi, I guess this solution in issue #17 work for you.

The main reason is that the module panopticfcn has not been registered in Detectron2. So, you can simply add "panopticfcn": "PanopticFCN" to path_to_detectron2/detectron2/projects/__init__.py. Then you can enjoy it by python3 demo/demo.py --config-file xxxx. Hope this could help you.

rongyiqing commented 2 years ago

I understand.