-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'Timedelta' object has no attribute 'delta' #16
Comments
did you get any solution? |
That problem is solved by modifying the function to this " def datetime_encoded(self, units):
Not sure if it will work, It runs without any error though. |
Thanks for your reply very much! I found that pandas` version is 2.x.x, so I re-installed pandas v1.3.5, and then everything is okay. |
@NonCover Did you manage to run this model? I tried to Run it following my solution, I get gpu memory over utilization error. I have 24 GB GPU. How much memory does it need? |
@NonCover Also Can you share your requirement files? |
Logically speaking, using PL to run your model will optimize the space. There is a significant difference in memory usage when I run my model with PL and without it.
Perhaps my configuration file won't work for you, because I've modified a lot of the source code of tsl. |
I confirm that a pandas version < 1.4 fixes this problem. However, a versioned requirements file for this package - including all the dependencies - would be difficult to produce now. We integrated SPIN in Torch Spatiotemporal from version 0.9.5. We suggest you use this implementation within tsl to solve all dependencies directly. As also written in the paper, the original SPIN model may require high GPU memory. You can opt for the hierarchical version, which is more scalable with minimal sacrifice in accuracy. |
Thanks for your reply. Will look into it. |
How can i fix this issue
The text was updated successfully, but these errors were encountered: