Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use my predicted files to run the inference.py #23

Open
Tz2H opened this issue Apr 21, 2024 · 0 comments
Open

Cannot use my predicted files to run the inference.py #23

Tz2H opened this issue Apr 21, 2024 · 0 comments

Comments

@Tz2H
Copy link

Tz2H commented 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'
'''
error

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!

@Tz2H 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant