thodan / bop_toolkit

A Python toolkit of the BOP benchmark for 6D object pose estimation.
http://bop.felk.cvut.cz
MIT License
376 stars 135 forks source link

eval_bop22_coco.py Error #99

Closed malenickymartin closed 9 months ago

malenickymartin commented 9 months ago

I ran into a problem when I tried to run scripts/eval_bop22_coco.py. The problem seems to be here. I am using pycocotools version 2.0.6, but even older versions support only file name as input to COCO. Has anyone successfully used this script?

MartinSmeyer commented 9 months ago

Hey, We have patched the pycocotools. If you install the bop_toolkit dependencies in requirements.txt you will obtain the correct version from

https://github.com/MartinSmeyer/cocoapi

The script is used for the official BOP evaluations.