Closed MarcVisions closed 2 years ago
It seems that the BoxMode causes the error. The data in the generated dictionary for the training/evaluation uses "0" as the BoxMode but this should be mapped again to BoxMode.XYXY_ABS
in Detectron2. Detectron2 can not handle 0. I believe it would be better to use the "load_coco_json" function in detectron2/data/dataset/coco.py
.
Hi @MarcVisions,
Could you please share your entire error logs? The screenshot appears to be cut before the error is raised. Also could you please give me details on how to reproduce your error?
Hi @osimeoni,
Thank you for making the code available!
When evaluating Detectron2 on VOC12 with the obtained pseudolables. I obtain the following error: AttributeError: "int object has no attribute 'value'. It seems that the coco_style_file is not registered by 'register_coco_instances' (see image underneath). Any idea how this can be fixed? Thanks.