When i train a new model i get the following Error:
I FINISHED optimization in 0:01:49.846611
Traceback (most recent call last):
File “DeepSpeech.py”, line 969, in
absl.app.run(main)
File “/home/shadi/.local/lib/python3.7/site-packages/absl/app.py”, line 299, in run
_run_main(main, args)
File “/home/shadi/.local/lib/python3.7/site-packages/absl/app.py”, line 250, in _run_main
sys.exit(main(argv))
File “DeepSpeech.py”, line 946, in main
test()
File “DeepSpeech.py”, line 685, in test
samples = evaluate(FLAGS.test_files.split(’,’), create_model, try_loading)
File “/home/shadi/Desktop/DeepSpeech/evaluate.py”, line 47, in evaluate
FLAGS.scorer_path, Config.alphabet)
TypeError: init() missing 1 required positional argument: ‘alphabet’
My bash Running file :
python3 -u DeepSpeech.py
–train_files /home/shadi/Desktop/DeepSpeech/data/jarvis/train/train.csv
–dev_files /home/shadi/Desktop/DeepSpeech/data/jarvis/dev/dev.csv
–test_files /home/shadi/Desktop/DeepSpeech/data/jarvis/test/test.csv
–automatic_mixed_precision=True
–n_hidden 375
–export_tflite
–export_dir /home/shadi/Desktop/DeepSpeech/data/jarvis/results/model_export/
–checkpoint_dir /home/shadi/Desktop/DeepSpeech/data/jarvis/results/checkout/
–alphabet_config_path /home/shadi/Desktop/DeepSpeech/data/alphabet.txt
“$@”
Any Idea what this means or how to fix it?
Thanks to everyone
Best Regards
Shadi.