I Early stop triggered as (for last 4 steps) validation loss: 153.417343 with standard deviation: 1.086464 and mean: 147.303814
I FINISHED optimization in 19:13:26.734802
Traceback (most recent call last):
File "./DeepSpeech.py", line 969, in <module>
absl.app.run(main)
File "/home/adrian/.local/lib/python3.6/site-packages/absl/app.py", line 299, in run
_run_main(main, args)
File "/home/adrian/.local/lib/python3.6/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/adrian/DeepSpeech/evaluate.py", line 47, in evaluate
FLAGS.scorer_path, Config.alphabet)
TypeError: __init__() missing 1 required positional argument: 'alphabet'
Thanks @lissyx !! I will try to reinstall everything again with the latest versions this weekend and I share the result. I find the alignment of the versions very complicated for everything to work Thanks!!Thank you very much for your time!!
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
16
It should all be very well simple if you read the documentation, so please file issues or send PR to make the documentation better.
Hey guys, I’m also running into this same error using the same command with the proper --alphabet_config_path argument to the correct path. My versions are nearly identical as well…
I also had ds-ctcdecoder 0.7.0a1 installed so I uninstalled it and reinstalled running the command pip3 install $(python3 util/taskcluster.py --decoder) with the version set to 0.6.1 and I get the following error:
Collecting ds-ctcdecoder==0.6.1
ERROR: HTTP error 404 while getting https://community- tc.services.mozilla.com/api/index/v1/task/project.deepspeech.deepspeech.native_client.v0.7.0-alpha.1.osx-ctc/artifacts/public/ds_ctcdecoder-0.6.1-cp37-cp37m-macosx_10_10_x86_64.whl
ERROR: Could not install requirement ds-ctcdecoder==0.6.1 from https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.deepspeech.native_client.v0.7.0-alpha.1.osx-ctc/artifacts/public/ds_ctcdecoder-0.6.1-cp37-cp37m-macosx_10_10_x86_64.whl because of error 404 Client Error: Not Found for url: https://community-tc.services.mozilla.com/api/queue/v1/task/J0PDA5a3Q_aXUFlqPH4uQw/artifacts/public%2Fds_ctcdecoder-0.6.1-cp37-cp37m-macosx_10_10_x86_64.whl
ERROR: Could not install requirement ds-ctcdecoder==0.6.1 from https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.deepspeech.native_client.v0.7.0-alpha.1.osx-ctc/artifacts/public/ds_ctcdecoder-0.6.1-cp37-cp37m-macosx_10_10_x86_64.whl because of HTTP error 404 Client Error: Not Found for url: https://community-tc.services.mozilla.com/api/queue/v1/task/J0PDA5a3Q_aXUFlqPH4uQw/artifacts/public%2Fds_ctcdecoder-0.6.1-cp37-cp37m-macosx_10_10_x86_64.whl for URL https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.deepspeech.native_client.v0.7.0-alpha.1.osx-ctc/artifacts/public/ds_ctcdecoder-0.6.1-cp37-cp37m-macosx_10_10_x86_64.whl
I’m kind of a noob when it comes to python and package installations so I’m assuming that either my formatting is off or there isn’t a current version being hosted that matches the version number of DeepSpeech. Thank you for any help.
Edit: Ok, I realized that the url was wrong. So I’m now using ds-ctcdecoder 0.6.1 and I’m getting this error:
DeepSpeech version (0.7.0-alpha.1) requires CTC decoder to expose version. Please upgrade the ds_ctcdecoder package to version 0.7.0-alpha.1
I’m not really sure what to do next. pip list shows that my version of deepspeech is 0.6.1 so I must be missing something.
Ok, so I pulled down the latest changes from master, and decided to upgrade everything to the latest version (0.7.0-alpha.2) and now I’m getting a new error:
ValueError: Scorer initialization failed with error code 1
Why? Please stick to a stable release or be prepared to follow the development process close enough to see the changes happening. The scorer format and generation process has changed recently on master as part of our API polish work so you’ll need to make sure that’s correct on your side.