Open nithinreddyy opened 3 years ago
Use -fd
instead of -ft
. The former is for a directory while the latter is for a single font file. The missing handwritten module message is because you do not have TensorFlow installed (you probably don't need it).
trdg -i words.txt -c 20000 --output_dir data/train -ft your/fontfile
I'm trying to run the above command and it's throwing error like Missing modules for handwritten text generation. Cannot open font
The fonts I have are Arimo-Bold.ttf Arimo-BoldItalic.ttf Arimo-Italic.ttf Arimo-Regular.ttf Diner-Fatt.ttf Diner-Fatt.ttf Diner-Obese.ttf LeagueSpartan-Bold.otf
The Folder structure is
data ------ train your ------ fontfile (which it consists .ttf files)