TorchSpatiotemporal / tsl

tsl: a PyTorch library for processing spatiotemporal data.
https://torch-spatiotemporal.readthedocs.io/
MIT License
236 stars 22 forks source link

Error while training the model in the example notebook: a_gentle_introduction_to_tsl.ipynb #17

Closed Capitolhill closed 1 year ago

Capitolhill commented 1 year ago

Any suggestions, on how to resolve TypeError: forward() got an unexpected keyword argument 'return_last_state'

tsl_error

marshka commented 1 year ago

Hi, unfortunately the notebook is not updated to the latest version of tsl yet. We will fix the notebook in next days. In the meantime, I suggest you to check one of the example scripts in the examples folder, which show how to use the latest version of tsl for forecasting and imputation.

Capitolhill commented 1 year ago

Hi, unfortunately the notebook is not updated to the latest version of tsl yet. We will fix the notebook in next days. In the meantime, I suggest you to check one of the example scripts in the examples folder, which show how to use the latest version of tsl for forecasting and imputation.

Thanks for your quick response. I have been working with the example scripts (in the examples folder), and they work fine. Maybe I will close this issue once you fix the notebook!

marshka commented 1 year ago

Hi, we just released version 0.9.2 with - among other improvements - an updated version of the notebook. Check it out here:

https://github.com/TorchSpatiotemporal/tsl/blob/main/examples/notebooks/a_gentle_introduction_to_tsl.ipynb