NeMo icon indicating copy to clipboard operation
NeMo copied to clipboard

AttributeError: type object 'EncDecCTCModel' has no attribute 'from_pretrained'

Open sorenjmadsen opened this issue 4 years ago • 2 comments

Upon call to retrieve a pre-trained model, the following line fails: asr_model = nemo_asr.models.EncDecCTCModel.from_pretrained(model_name="QuartzNet15x5Base-En")

Additionally, list_available_models() also fails with the same above error.

I have installed NeMo via: python -m pip install git+https://github.com/NVIDIA/NeMo.git

OS: Mac OS Catalina 10.15.7 Pytorch: 1.10.0 Python: 3.8.5

sorenjmadsen avatar Jan 13 '22 01:01 sorenjmadsen

I tried the steps linked here with no luck.

I also tried 3369 and 2978.

Attempted on conda environment as well.

sorenjmadsen avatar Jan 13 '22 01:01 sorenjmadsen

Tried all related closed issues.

Edit: pip install nemo_toolkit['all'] returns an error.

Edit 2: Nemo version: 1.6.0rc0

sorenjmadsen avatar Jan 13 '22 16:01 sorenjmadsen