Hi, I tryed to reproduce the scorer but I have issue with generate_lm.py .
Here it’s :
python3 generate_lm.py --input_txt librispeech-lm-norm.txt.gz --output_dir . \
> --top_k 500000 --kenlm_bins /home/nathan/Téléchargements/kenlm/build/bin/ \
> --arpa_order 5 --max_arpa_memory "85%" --arpa_prune "0|0|1" \
> --binary_a_bits 255 --binary_q_bits 8 --binary_type trie
Converting to lowercase and counting word occurrences ...
Traceback (most recent call last):
File "generate_lm.py", line 210, in <module>
main()
File "generate_lm.py", line 200, in main
data_lower, vocab_str = convert_and_filter_topk(args)
File "generate_lm.py", line 31, in convert_and_filter_topk
for line in progressbar.progressbar(file_in):
TypeError: 'module' object is not callable
This looks like an environment issue. As you didn’t give any information on version or setup, this is likely the cause. Reinstall everything according to the docs and report more if you need help.
But I am not sure that it’s the right way to do it…
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
4
have you properly followed the setup steps? that does not sounds like you did
your error would be consistent with the wrong progressbar package being installed
Yes, ok! I will follow these steps like I did first. The doc was clear enough to be understandable
Should have tried this way!
Yeah, but I found a good French language already trained and I wanted to test with my own scorer to see what happen. I am in student project, and I tried some stuff
Thank you for the quick responses and for the help !
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
9
I’m not sure this is the right method, I tryed this and I got other problems. But if it works for you it’s cool
I installed python3.6 and used Deepspeech in an virtual env and it worked.
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
13