Closed rose-jinyang closed 1 year ago
Hello How are you? Thanks for contributing to this project. I found that the demo script does NOT output bounding boxes for each instance in panoptic/instance segmentation. Could u guide me how to get the bounding boxes?
Hi @rose-jinyang, please set DETECTION_ON as True in the config to visualize bounding boxes.
DETECTION_ON
https://github.com/SHI-Labs/OneFormer/blob/761189909f392a110a4ead574d85ed3a17fbc8a7/configs/coco/oneformer_R50_bs16_50ep.yaml#L54
It works now. Thanks
how to do the same for the huggingface integration. I could not find the relevant config.
Hello How are you? Thanks for contributing to this project. I found that the demo script does NOT output bounding boxes for each instance in panoptic/instance segmentation. Could u guide me how to get the bounding boxes?