Open w4-artychen opened 5 years ago
turns out decoding.decode_from_file works in a most troublesome way
best practice might be to write a trancribe function yourself in a similar manner from the following tutorial
hope it helps
Hi , have you solved it ? When t2t_decode , an error comes, it says "the location in docding:586:inputs_ids=vocabulary.encode(inputs) , 'NoneType' object has no atrribute 'encode'" . The content in decode_from_file is whether "the path to real testdata file" or "testfile file" ?
Description I have been trying to train ASR on librispeech using transformer model and when I am trying to see the results using t2t-decoder, specifically using these commands
t2t-decoder --data_dir=$DECODE_FILE --problem=$PROBLEM --model=$MODEL --hparams_set=$HPARAMS --output_dir=$TRAIN_DIR --decode_from_file=$DECODE_FILE --decode_to_file=translation.txt
I get the following errorCould anyone tell me what I am doing wrong here? TIA.
Environment: