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

IndexError: index 0 is out of bounds for axis 0 with size 0 #112

Open
lordwildbeast opened this issue Mar 29, 2023 · 2 comments
Open

IndexError: index 0 is out of bounds for axis 0 with size 0 #112

lordwildbeast opened this issue Mar 29, 2023 · 2 comments

Comments

@lordwildbeast
Copy link

i met an error while I ran the following commands within the toolkit to create my custom training dataset.
python main.py downloader --classes 'Vehicle_registration_plate' --type_csv train --limit 15

do you know how to solve it? thanks

image

@ThinkWD
Copy link

ThinkWD commented Jun 14, 2023

This is because the passed in classes cannot find the same value in OID/csv_folder/class-descriptions-boxable.csv

@siri-g-265
Copy link

This issue is faced when the class names are more than one word.

Solution:
Make a classes.txt file with all the class names you want to download and send the path
python main.py downloader --classes OID/classes.txt --type_csv train --limit 15

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

3 participants