Skip to content

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

@Tz2H

Description

@Tz2H

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions