lzccccc / SMOKE

SMOKE: Single-Stage Monocular 3D Object Detection via Keypoint Estimation
MIT License
705 stars 176 forks source link

evalution error occurred! #58

Open iamupd opened 3 years ago

iamupd commented 3 years ago

After all the twists and turns, the training went well. Now when I try to evaluate, I get a failure message. What should I do? The files appearing in the error message exist and it is possible to open the file. But why does this happen?

[2021-08-22 21:29:24,641] smoke.data.datasets.evaluation.kitti.kitti_eval INFO: Evaluate on KITTI dataset [2021-08-22 21:29:24,726] smoke.data.datasets.evaluation.kitti.kitti_eval INFO: Thank you for participating in our evaluation! Loading detections... number of files for evaluation: 7518 ERROR: Couldn't read: 002501.txt of ground truth. Please write me an email! An error occured while processing your results.

KinkangLiu commented 3 years ago

Hello, have you solved it? I have the same problem as you. Hope you can share the solution. Thank you.

saesaria commented 2 years ago

Hi all, I also having the same issue here

number of files for evaluation: 3769 ERROR: Couldn't read: 006434.txt of ground truth. Please write me an email! An error occured while processing your results.

does anyone know the solution? thank you in advance.

edit: I have solved it, the solution is actually exist in #24 proposed by @ccerhan, where we have to change the label_dir directory in kitty_eval.py. from label_dir = getattr(dataset, 'label_dir') to label_dir = os.path.join('..', '..', '..', '..', '..', '..', getattr(dataset, 'label_dir'))