Closed mikkkeldp closed 3 years ago
Hi, thanks for your interest! 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.
Hi,
Thanks for the reply, but I'm unfortunately still getting the same error as before. I'm running this as follows:
python3 demo/demo.py --config-file /home/mikkel/Desktop/masters/detectron2/projects/PanopticFCN/configs/PanopticFCN-Star-R50-3x.yaml --input /home/mikkel/Desktop/masters/detectron2/datasets/Flickr8k/69189650_6687da7280.jpg
Hi, it works well for me, and I'm wondering whether the project works (train or inference) normally following the steps in README
?
Hi, yes, I've done the inference and achieved the correct accuracies as in the paper. Do you have any other idea why this is not working?
Oh, I forgot to mention, when I import
from panopticfcn.config import add_panopticfcn_config # noqa
it gives me
ModuleNotFoundError: No module named 'panopticfcn'
so I just manually added the add_panopticfcn_config to demo.py
.
Nevermind, I'm stupid. Figured it out. Thanks for the help!
I'm also getting the following error:
KeyError: "No object named 'PanopticFCN' found in 'META_ARCH' registry!"
Do you have a solution? Thanks
Hi,
Could I please get some additional guidance as to how to infer on a directory of images?
I saw another issue where someone advised to do the following in
demo.py
: FromTo
This seem to work, but i get the following error: