NVlabs / mask-auto-labeler

Other
159 stars 14 forks source link

how to generate complete json file with python tools/test.py #10

Closed tianyufang1958 closed 1 year ago

tianyufang1958 commented 1 year ago

Hello, I ran the following command python tools/test.py configs/MALMask/solov2_r50_fpn_3x_coco_mal.py work_dirs/solov2_r50_fpn_3x_coco_mal/latest.pth --format-only --eval-options "jsonfile_prefix=val-dev

and successfully generated val-dev.segm.json file, however, this annotation file is not complete without information like file names. It only contains segmentation information. I tried to add the missing information myself but kept getting format errors. This might be a mmdet issue, but I would appreciate if you could give me some advice how to generate a complete json file.

voidrank commented 1 year ago

Hi @tianyufang1958 , can you show me the logs?