gentaiscool / end2end-asr-pytorch

End-to-End Automatic Speech Recognition on PyTorch
MIT License
292 stars 62 forks source link

create_manifest missing in utils directory #20

Open makamkkumar opened 4 years ago

makamkkumar commented 4 years ago

_from utils import createmanifest

Traceback (most recent call last): File "", line 1, in from utils import create_manifest

ImportError: cannot import name 'create_manifest' from 'utils' (/home/mandrake/end2end-asr-pytorch/utils/init.py)

This is resulting in an error as there is no entry in the manifest as under

================================================== THE EXPERIMENT LOG IS SAVED IN: log/aishell_drop0.1_cnn_batch12_4_vgg_layer4 TRAINING MANIFEST: ['data/manifests/aishell_train_manifest.csv'] VALID MANIFEST: ['data/manifests/aishell_dev_manifest.csv'] TEST MANIFEST: ['data/manifests/aishell_test_manifest.csv']

0it [00:00, ?it/s] Traceback (most recent call last): File "train.py", line 117, in trainer.train(model, train_loader, train_sampler, valid_loader_list, opt, loss_type, start_epoch, num_epochs, label2id, id2label, metrics) File "/home/mandrake/end2end-asr-pytorch/trainer/asr/trainer.py", line 107, in train (epoch+1), total_loss/(len(train_loader)), total_cer*100/total_char, opt._rate)) ZeroDivisionError: division by zero

Please do respond thanks

gentaiscool commented 4 years ago

hi @makamkkumar, would you describe how do you run the script? Probably the name of the script and the command. Thanks