zalandoresearch / pytorch-ts

PyTorch based Probabilistic Time Series forecasting framework based on GluonTS backend
MIT License
1.25k stars 191 forks source link

Module Import Issue in Version 0.70 #172

Closed c1adrien closed 4 months ago

c1adrien commented 4 months ago

First of all, thank you for your amazing work. I tried running the example from the README in the main branch, but I encountered the following error (when executing the estimator):

- Exception: Reached maximum number of idle transformation calls. This means the transformation looped over 1 inputs without returning any output. 

Following the issues that have been opened about this error, I switched to version 0.70 and tried the TimeGrad example. However, the code tries to import Trainer from pts, along with several other modules, which causes an error. Is this expected?

Thank you for your assistance.

starry-ZRY commented 4 months ago

Did you resolve the issue?

c1adrien commented 4 months ago

No, unfortunately in version 0.70 I don't even reach that error. I get the error I mentioned before even being able to start the training.

kashif commented 4 months ago

@c1adrien can you mention the issue with version 0.7.0 branch?

c1adrien commented 4 months ago

@starry-ZRY Yes! You can install the solution proposed by https://github.com/LemonCANDY42/pytorch-ts/tree/dev/kenny and make sure you have version 0.12 of GluonTS! @kashif I'll take care of that !