facebookresearch / detectron2

Detectron2 is a platform for object detection, segmentation and other visual recognition tasks.
https://detectron2.readthedocs.io/en/latest/
Apache License 2.0
30.1k stars 7.42k forks source link

LVIS Models not working for Instance Segmentation #4942

Open navins3d opened 1 year ago

navins3d commented 1 year ago

I am using the following command to create a LVISv0.5 Instance Segmentation video using the LVISv0.5 configs:

python demo.py --config-file ../configs/LVISv0.5-InstanceSegmentation/mask_rcnn_X_101_32x8d_FPN_1x.yaml --video-input vid1.mp4 --output LVISv05-InstanceSegmentation_mask_rcnn_X_101_32x8d_FPN_1x.mp4

Now this is not performing any type of segmentation in the output video, whereas when I use COCO Instance Segmentation on the same video, it works. The COCO commands is as follows:

python demo.py --config-file ../configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x.yaml --video-input vid2.mp4 --output COCO-InstanceSegmentation_mask_rcnn_R_50_FPN_3x.mp4 --opts MODEL.WEIGHTS detectron2://COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x/137849600/model_final_f10217.pkl

This is the input video link for your reference: https://drive.google.com/file/d/1iLqNdLBGUryIl4lAot1YpZOU6s76FUgI/view?usp=share_link

Am I missing something?

github-actions[bot] commented 1 year ago

You've chosen to report an unexpected problem or bug. Unless you already know the root cause of it, please include details about it by filling the issue template. The following information is missing: "Instructions To Reproduce the Issue and Full Logs"; "Your Environment";