Note that you need to install the required dependencies via apt-get first as mentioned in the GitHub repo. Also you need to have PyTorch installed, otherwise you will get an error during the install.
Actually I was installing it manually and found that I should have installed ācffiā first as additional dependency. However the direct installation via pip you have provided is awesome. Thaanks
Got the following message: Successfully built torchaudio
However, got the following error while importing torchaudio: import torchaudio RuntimeError: Failed to parse the argument list of a type annotation: name 'Optional' is not defined
Hmmm; seems like there is an issue with the torchaudio! could you raise an issue on torchaudio and pytorch-docs? so that it will get fixed and people wonāt face problems in future!
link for docs github - pytorch-tutorials
link for the audio - torchaudio
meanwhile I will try to resolve if I can
I think the reason for the the error lies in the __init__ of torchaudio module.
maybe adding reference to prototype module in init will help (you can do it in your local copy)
On colab, I still get
ModuleNotFoundError: No module named ātorchaudio.prototypeā
This is expected, as the prototype feature is removed from the official release. If you want to try the CTC Decoder, you can install the nightly-build of torchaudio by pip3 install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu102/torch_nightly.html
Iām trying to understand prototype was in previous versions and is no longer supported?
If so, does torchaudion has no ābeamsearchā decoding? I couldnāt find any replacement.
Hi @barakb, the prototype features are still maintained in torchaudio, you can use the CTC beamsearch decoder by installing the nightly torchaudio.
Here is the command for installing nightly version with CUDA 10.2:
Hi I saw your previous answer, but it didnāt help me.
Iām still trying to understand, is it a future feature that is still not stable or a deprecated feature?
Thanks for your help
Sorry for misunderstanding. In general if a feature is a prototype feature, itās a future feature and may be refactored faster than stable feature. It will not be included in the official release like 0.10.0 or 0.11.0.
Once it is stable, the feature will be moved out of prototype folder into a stable one, then itāll be included in the next official release.