Closed Mr-Geekman closed 1 month ago
Comment by Mr-Geekman
Monday Apr 17, 2023 at 12:06 GMT
Package pytorch_forecasting
was updated recently.
It looks like they probably solved the problem with pytorch_lightning
there. But other packages requirements are very strict.
🐛 Bug Report
DeepARModel
andTFTModel
don't work onpytorch_lightning>=1.9.1
.Fitting fails with error:
As I understand, it is connected to the issue in
pytorch_forecasting
library: 'tuple' object has no attribute 'items' in models.Expected behavior
Everything works fine.
How To Reproduce
Script to check
TFTModel
(withDeepAR
error is the same).Script fails on
pipline_tft.fit(ts)
with error:Environment
No response
Additional context
No response
Checklist