ImportError: cannot import name 'PyTorchPredictor' from partially initialized module 'gluonts.torch.model.predictor'
JimengShi opened this issue · comments
Hello,
Thanks for the authors' work. After I pip3 install pytorchts, when i run from pts.model.deepar import DeepAREstimator
, I encountered a error ImportError: cannot import name 'PyTorchPredictor' from partially initialized module 'gluonts.torch.model.predictor' (most likely due to a circular import)
. Any suggestion? Thanks!
Hi
Seems to be a problem with the latest 15.1 version of gluonts
pip install gluonts==15.0 is working