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 get following error when running script after having the path to coco.json file changed to path of my folder: FileNotFoundError: [Errno 2] No such file or directory: 'new_dir/labels/coco/data/video-GzdKTLbkG5F7gAunM-frame-000108-QHZmA4QTZCnzBG3HZ.txt'.
The text was updated successfully, but these errors were encountered:
@zvonimirkonjevic hello! 😊 It sounds like the directory you're trying to save your .txt files in doesn't exist. Ensure that the new_dir/labels/coco/data/ directory path is correctly created before attempting to save files there. You might need to check your script to ensure it's creating folders as expected. Here's a quick example on how to do this in Python:
This code checks if the directory exists, and if not, it creates it for you. This should help avoid the FileNotFoundError. For more detailed guidelines, remember to check the Ultralytics Docs. Keep up the great work with your project!
I get following error when running script after having the path to coco.json file changed to path of my folder: FileNotFoundError: [Errno 2] No such file or directory: 'new_dir/labels/coco/data/video-GzdKTLbkG5F7gAunM-frame-000108-QHZmA4QTZCnzBG3HZ.txt'.
The text was updated successfully, but these errors were encountered: