0

我按照此链接创建了一个模型,而不是英语 https://discourse.mozilla.org/t/tutorial-how-i-trained-a-specific-french-model-to-control-my-robot/ 22830 我按照这些步骤操作,但问题是我收到以下错误:

FATAL Flags parsing error: flag --alphabet_config_path=/home/DeepSpeech/data/vlad/alphabet.txt: The file pointed to by --alphabet_config_path must exist and be readable.

我的 sh 文件如下:

 #!/bin/sh
set -xe
if [ ! -f DeepSpeech.py ]; then
    echo "Please make sure you run this from DeepSpeech's top level directory."
    exit 1
fi;

python -u DeepSpeech.py \
  --train_files data/vlad/train/train.csv \
  --test_files data/vlad/test/test.csv \
  --train_batch_size 64 \
  --test_batch_size 1 \
  --n_hidden 250 \
  --epochs 100 \
  --checkpoint_dir data/vlad/fine_tuning/\
  --export_dir /home/DeepSpeech/data/vlad/results/model_export/ \
  --checkpoint_dir /home/DeepSpeech/data/vlad/fine_tuning/ \
  --alphabet_config_path /home/DeepSpeech/data/vlad/alphabet.txt \
  --lm_binary_path /home/DeepSpeech/data/vlad/lm.binary \
  --lm_trie_path /home/DeepSpeech/data/vlad/trie\
  "$@"

你有什么想法我能做什么?

4

0 回答 0