valueError: trainer constructor argument must be either None or pytorch_lightning.Trainer. But got <class 'lightning.pytorch.trainer.trainer.Trainer'> instead. #11458
Labels
bug
Something isn't working
Describe the bug
I was following the tutorials provided in
/tutorials/asr
directory. In theTraining with PyTorch Lightning
section ofASR_with_NeMo.ipynb
, when I run the second code block, I get the following error -This error can be solved by updating the pytorch lightning import to
import pytorch_lightning as pl
.I am happy to open a PR to fix this if required!
Steps/Code to reproduce bug
The error can be reproduced by running the notebook
ASR_with_NeMo.ipynb
.Expected behavior
The NeMo model should load from the config.
Environment overview (please complete the following information)
Environment details
The text was updated successfully, but these errors were encountered: