TorchSpatiotemporal / tsl

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

TypeError: on_train_batch_start() takes 3 positional arguments but 4 were given #10

Closed BasinChen closed 1 year ago

BasinChen commented 1 year ago

image

junekchen commented 1 year ago

I also meet the same error when I run the example/run_imputation.py code.

marshka commented 1 year ago

Hi all, sorry for the late reply! we recently updated the code releasing a more stable version (v0.9.0) with substantial changes. We invite you to check out the new code and the new doc! Please let us know if you still encounter this problem. Cheers!

javiersgjavi commented 1 year ago

Hello,

I have version v0.9.0 of tsl and I have exactly the same error. What can I do to solve it?

marshka commented 1 year ago

Hi, commit 1f55a6d should have fixed your problem. Let us know if this is not the case, thanks for your contribution!

javiersgjavi commented 1 year ago

Thank you very much; the problem is resolved. Thank you for the fast reply!