amzn / convolutional-handwriting-gan

ScrabbleGAN: Semi-Supervised Varying Length Handwritten Text Generation (CVPR20)
https://www.amazon.science/publications/scrabblegan-semi-supervised-varying-length-handwritten-text-generation
MIT License
264 stars 55 forks source link

When I run create_text_data.py I got error as follows #24

Open xinyaojiejie opened 2 years ago

xinyaojiejie commented 2 years ago

ValueError: invalid literal for int() with base 10: ' '. Dose anybody have met the same errors and how can I solve it?

rlit commented 2 years ago

Can you give more details? (e.g. where was this exception raised)

Sonel-YXL commented 2 years ago

Hello. Here are some suggestions for you. Unzip according to the name. You need to change the name to correspond to the corresponding file. Create a lexicon folder under the data folder to save the thesaurus, otherwise an error will be reported