Skip to content

Update conversion script to skip missing files #441

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ai-mg
Copy link

@ai-mg ai-mg commented Feb 19, 2025

I was getting this error:
FileNotFoundError: [Errno 2] No such file or directory: 'datasets/crowdhuman/CrowdHuman_val/284193,33640003781bc86.jpg'

because train annotation file contained path to annotations of 26787 images and I had only 1080 images in train folder.
Similarly, it was the case for validation annotation file paths and the actual number of images available.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant