Closed huynhtruc0309 closed 2 years ago
I made a fix with I think will help with the first error.
The french_news.txt
is derived from this database: https://webhose.io/free-datasets/french-news-articles/
I've added the python script I used to compile it's jsons into the single txt file: data/compile_french_new.py
. First cre
ate a file listing all the jsons (ls > jsons.txt
) then run the script.
However, any French text corpus should do, it isn't that important as it just is providing text samples that aren't in the RIMES dataset.
Thank you for your great work. 1) I am trying to train HWR on RIMES dataset by this command
python train.py -c configs/cf_RIMESLines_hwr_cnnOnly_batchnorm_aug.json
But the error happens.
Then I add
input = input.type(torch.cuda.FloatTensor)
to this function incnn_only_hwr.py
Then this error happens:
2) I am also trying to train GAN on RIMES dataset by this command
python train.py -c configs/cf_RIMESLinesslant_noMask_charSpecSingleAppend_GANMedMT_autoAEMoPrcp2tightNewCTCUseGen_balB_hCF0.75_sMG.json
But it says:Thank you for helping me.