Reputation: 1
I wanted to make ctc_decoder using torchaudio ctc_decoder module. According to this tutorial ASR INFERENCE WITH CTC DECODER
it should have been easy to import as usual but I am unable to do so in google colab even after installing torchaudio.
It says ModuleNotFoundError: No module named 'torchaudio.prototype'
How can I import prototype module?
Upvotes: 0
Views: 1413
Reputation: 441
The prototype feature is only available in nightly builds, so one needs to install nightly version, following the https://pytorch.org/get-started/locally/ .
Note that since the release of 0.12, the CTC decoder is in beta and is available as from torchaudio.models.decoder import ctc_decoder
.
Upvotes: 1