You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I replace the cfg load_prediction_file in test_submission.yml to my prediction file using YOLOv8 and it's in the KITTI format. But when I run the CLI python inference.py --cfg "../configs/KITTI_inference:test_submission.yml" I receive a error like:
'''
Traceback (most recent call last):
File "inference.py", line 288, in
main()
File "inference.py", line 278, in main
generate_empty_file(output_dir, test_calib_dir)
File "inference.py", line 207, in generate_empty_file
detected = os.listdir(os.path.join(output_dir, 'data'))
FileNotFoundError: [Errno 2] No such file or directory: '../MyOutput/submission/data'
'''
My folder structure is the same with provided folder and the name of .txt file is the same too.
I don't know what causes this error, please give me some advice!
The text was updated successfully, but these errors were encountered:
Tz2H
changed the title
Cannot use my predicted files to run the infereence.py
Cannot use my predicted files to run the inference.py
Apr 21, 2024
I replace the cfg load_prediction_file in test_submission.yml to my prediction file using YOLOv8 and it's in the KITTI format. But when I run the CLI python inference.py --cfg "../configs/KITTI_inference:test_submission.yml" I receive a error like:
'''
Traceback (most recent call last):
File "inference.py", line 288, in
main()
File "inference.py", line 278, in main
generate_empty_file(output_dir, test_calib_dir)
File "inference.py", line 207, in generate_empty_file
detected = os.listdir(os.path.join(output_dir, 'data'))
FileNotFoundError: [Errno 2] No such file or directory: '../MyOutput/submission/data'
'''
My folder structure is the same with provided folder and the name of .txt file is the same too.
I don't know what causes this error, please give me some advice!
The text was updated successfully, but these errors were encountered: