crossgrad icon indicating copy to clipboard operation
crossgrad copied to clipboard

Demo does not run, some files are missing

Open qwer1304 opened this issue 7 years ago • 2 comments

When running the demo, the following error occurs: ValueError: No data files found in ~/crossgrad/data/gfonts/hwoffline_train_0000*.tfrecord

Originally, the data directory was set to /mnt/blossom/data/viharip/data/image_fonts/, but there's no image_fonts sub-directory in data directory in github.

Looks like the gfonts.py file is from the offline hand-written image experiment and not from gfonts one.

qwer1304 avatar May 10 '18 06:05 qwer1304

When running the demo, the following error occurs: ValueError: No data files found in ~/crossgrad/data/gfonts/hwoffline_train_0000*.tfrecord

Originally, the data directory was set to /mnt/blossom/data/viharip/data/image_fonts/, but there's no image_fonts sub-directory in data directory in github.

Looks like the gfonts.py file is from the offline hand-written image experiment and not from gfonts one.

Hi, do you solve this problem?

BX-xb avatar Dec 26 '20 12:12 BX-xb

Hi, this repository is quite old now, may I suggest you use the CrossGrad (CG) implementation from this newer repository: https://github.com/vihari/CSD.
The instructions for how you can run CG on the handwritten tasks is elaborated in this section: https://github.com/vihari/CSD
You can also run CG on speech task using the command: python train.py --training_percentage <num train domains> --train_dir=<checkpoints folder> --model cg --seed 0 --learning_rate 2e-3 --how_many_epochs 500 --lmbda 0.5, for more instructions, see: https://github.com/vihari/CSD#speech-task

vihari avatar Dec 26 '20 12:12 vihari