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

Create Dataset IndexError #10

Closed
rcaio opened this issue Sep 30, 2020 · 1 comment
Closed

Create Dataset IndexError #10

rcaio opened this issue Sep 30, 2020 · 1 comment

Comments

@rcaio
Copy link

rcaio commented Sep 30, 2020

I'm new to python language, I'm trying to create my own dataset so I can use it for training.
I have all the .ttf files inside the folder "scraper/fonts". But when I run create_dataset.py, I get the following error:

python create_dataset.py
Traceback (most recent call last):
File "create_dataset.py", line 78, in
for fn in get_ttfs(d=sys.argv[1]):
IndexError: list index out of range

Is there a easy solution to that?
Thank you

@erikbern
Copy link
Owner

looks like you need to provide a path on the command line

this might not be the best project to work on if you don't know python – it's quite poorly documented

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

2 participants