erikbern/deep-fonts

Create Dataset IndexError

rcaio opened this issue · 1 comments

rcaio commented

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

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