ethnhe / PVN3D

Code for "PVN3D: A Deep Point-wise 3D Keypoints Hough Voting Network for 6DoF Pose Estimation", CVPR 2020
MIT License
488 stars 105 forks source link

Problem with Training , class or object 'NoneType' #42

Closed Ixion46 closed 3 years ago

Ixion46 commented 4 years ago

Hey @ethnhe , I have some problems while running the training for my own dataset. I think I adjusted the dataset in the correct way so that it matches the structure of the ycb dataset. While running python3 -m datasets.ycb.preprocess_testset or python3 -m datasets.ycb.ycb_dataset I always get an error with 'NoneType' class or object.

Do you have an idea what is wrong ?

errorpvn3d
ethnhe commented 3 years ago

It seems that there are something wrong in def get_item(self, item_name) in ycb_dataset.py, try to remove the first try: except to see which line of code cause the except.

Ixion46 commented 3 years ago

Okay thanks, i will try :)