Not able to install ds_ctcdecoder required for training my own dataset

Hi I am unable to download the ds_ctcdecoder which is required for training my model.

I am getting the below error: no such option: --decoder)

My taskcluster.py file is located in the following file path:

C:\Users\ritis\Anaconda3\DeepSpeech-0.6.1\util\taskcluster.py

Need Help.

Need text instead of screenshot.

I’m not sure the pip3 install $(python3 util/taskcluster.py --decoder) syntax works under cmd. Please use a real shell.

Post your feedback, I have changed to linux. Still I am getting the following error :

Please help

Traceback (most recent call last):
  File "util/taskcluster.py", line 7, in <module>
    from deepspeech_training.util import taskcluster as dsu_taskcluster
ModuleNotFoundError: No module named 'deepspeech_training'
Invalid requirement: 'installed.'
Traceback (most recent call last):
  File "/usr/share/python-wheels/packaging-19.0-py2.py3-none-any.whl/packaging/requirements.py", line 93, in __init__
    req = REQUIREMENT.parseString(requirement_string)
  File "/usr/share/python-wheels/pyparsing-2.2.0-py2.py3-none-any.whl/pyparsing.py", line 1632, in parseString
    raise exc
  File "/usr/share/python-wheels/pyparsing-2.2.0-py2.py3-none-any.whl/pyparsing.py", line 1622, in parseString
    loc, tokens = self._parse( instring, 0 )
  File "/usr/share/python-wheels/pyparsing-2.2.0-py2.py3-none-any.whl/pyparsing.py", line 1379, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "/usr/share/python-wheels/pyparsing-2.2.0-py2.py3-none-any.whl/pyparsing.py", line 3395, in parseImpl
    loc, exprtokens = e._parse( instring, loc, doActions )
  File "/usr/share/python-wheels/pyparsing-2.2.0-py2.py3-none-any.whl/pyparsing.py", line 1383, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "/usr/share/python-wheels/pyparsing-2.2.0-py2.py3-none-any.whl/pyparsing.py", line 3183, in parseImpl
    raise ParseException(instring, loc, self.errmsg, self)
pyparsing.ParseException: Expected stringEnd (at char 9), (line:1, col:10)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/_internal/req/constructors.py", line 253, in install_req_from_line
    req = Requirement(req)
  File "/usr/share/python-wheels/packaging-19.0-py2.py3-none-any.whl/packaging/requirements.py", line 97, in __init__
    requirement_string[e.loc : e.loc + 8], e.msg
pip._vendor.packaging.requirements.InvalidRequirement: Parse error at "'.'": Expected stringEnd

If you’re using v0.6.1 models, make sure you’re also using v0.6.1 code. If you cloned the code with Git you can simply checkout the tag with git checkout v0.6.1. Your message suggests you’re using a version from master, which is not compatible with v0.6.1.

Please follow the documentation: Training Your Own Model — Mozilla DeepSpeech 0.10.0-alpha.3 documentation

You have not performed the pip install -e step, at least.

Sir, so you mean to say after I have git cloned : git clone https://github.com/mozilla/DeepSpeech ; I must type : git checkout v0.6.1 to migrate to the v0.6.1 branch?

The reason I am asking is because, I have not seen this code in the link : https://deepspeech.readthedocs.io/en/v0.6.1/TRAINING.html. It is cloning v0.7.3alpha instead directly.

Please help.

If you are just starting with DeepSpeech, stick to the 0.6.1 branch to get to know everything, find docs and commands in this thread: