ylabbe / cosypose

Code for "CosyPose: Consistent multi-view multi-object 6D pose estimation", ECCV 2020.
MIT License
301 stars 89 forks source link

No Such File Error in Reproducing Single-View Results #28

Closed azad96 closed 3 years ago

azad96 commented 3 years ago

Hi, I downloaded the TLESS dataset from the BOP challenge's website. However, when execute the command below python -m cosypose.scripts.run_cosypose_eval --config tless-siso I got the following key error

Screenshot from 2020-12-17 23-39-44 Folders inside the local_data/bop_datasets/tless/testprimesense do not start with the prefix 'obj', so I renamed all of them by adding the prefix. However, this time I got the following error Screenshot from 2020-12-17 23-41-45

Anyone knows the reason of this error? Thanks in advance.

ylabbe commented 3 years ago

Are you sure you downloaded the BOP tless dataset correctly ? Does the file .../tless/test_primesense/000003/rgb/000353.png exists ?

azad96 commented 3 years ago

@ylabbe, I checked know and it exists. Should the folder name be 000003 or obj_000003? Because I renamed 000003 as obj_000003 and also other 19 folders. Othewise I get the first error I mentioned before which is KeyError: 'obj_000018'

edit: Is obj_000018 in the KeyError related to the files in the bop_datasets/tless/models_eval directory because I have only obj_000001.ply, ..., obj_000015.ply. Maybe I get this error as I don't have obj_000018.ply. Do you have it in your folder?

azad96 commented 3 years ago

I downloaded the files using your script. I have 30 ply files instead of 15 now and I do not get this error anymore.