deepspeech 训练 报错

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_41672744/article/details/88021089

./bin/run-ldc93s1.sh

报错

+ [ ! -f DeepSpeech.py ]
+ [ ! -f data/ldc93s1/ldc93s1.csv ]
+ echo Downloading and preprocessing LDC93S1 example data, saving in ./data/ldc93s1.
Downloading and preprocessing LDC93S1 example data, saving in ./data/ldc93s1.
+ python -u bin/import_ldc93s1.py ./data/ldc93s1
Found archive "./data/ldc93s1/LDC93S1.wav" - not downloading.
Found archive "./data/ldc93s1/LDC93S1.txt" - not downloading.
+ [ -d  ]
+ python -c from xdg import BaseDirectory as xdg; print(xdg.save_data_path("deepspeech/ldc93s1"))
+ checkpoint_dir=/home/xu/.local/share/deepspeech/ldc93s1
+ python -u DeepSpeech.py --train_files data/ldc93s1/ldc93s1.csv --dev_files data/ldc93s1/ldc93s1.csv --test_files data/ldc93s1/ldc93s1.csv --train_batch_size 1 --dev_batch_size 1 --test_batch_size 1 --n_hidden 494 --epoch 75 --checkpoint_dir /home/xu/.local/share/deepspeech/ldc93s1
/home/xu/anaconda3/lib/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
Traceback (most recent call last):
  File "DeepSpeech.py", line 11, in <module>
    import evaluate
  File "/home/xu/DeepSpeech-0.4.1/evaluate.py", line 17, in <module>
    from ds_ctcdecoder import ctc_beam_search_decoder_batch, Scorer
ModuleNotFoundError: No module named 'ds_ctcdecoder'

pip install $(python util/taskcluster.py --decoder)


参考:

https://discourse.mozilla.org/t/new-v0-4-alpha-2-and-language-model/34286/10

猜你喜欢

转载自blog.csdn.net/qq_41672744/article/details/88021089