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’
Try moving it up in your call, for mixed precision you set True, for tflite you don’t, your paths have a / at the end. I am no expert for parameters, so try moving it around. The parameters should be fine. Maybe leave out all but the essential flags for your first run.
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
6
@Shadi_Shakkour Please also document what version you are working on.
If you are just starting with DeepSpeech, just install 0.6 version in a virtual environment and go on from there. Latest builds can have issues, but the 0.6 works fine. Fine a running basic config and change parameters later.
ive tried with version 0.6.1
and i get the following error
Instructions for updating:
Use standard file APIs to delete files with this prefix.
W0219 15:20:36.589558 139973126850368 deprecation.py:323] From /home/shadi/.local/lib/python3.7/site-packages/tensorflow/python/training/saver.py:960: remove_checkpoint (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file APIs to delete files with this prefix.
Epoch 5 | Validation | Elapsed Time: 0:00:07 | Steps: 1 | Loss: 176.848511 | Dataset: /home/shadi/Desktop/DeepSpeech-0.6.1/data/jarvis/train/train.csv
I Early stop triggered as (for last 4 steps) validation loss: 176.848511 with standard deviation: 13.728871 and mean: 159.063858
I FINISHED optimization in 0:14:44.315500
[scorer.cpp:77] FATAL: "(access(filename, 4)) == (0)" check failed. Invalid language model path