decisionforce / TPN

[CVPR 2020] Temporal Pyramid Network for Action Recognition
https://decisionforce.github.io/TPN/
Apache License 2.0
394 stars 55 forks source link

RuntimeError: Legacy autograd function with non-static forward method is deprecated #35

Open Note-Liu opened 3 years ago

Note-Liu commented 3 years ago

RuntimeError: Legacy autograd function with non-static forward method is deprecated. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)

jtd-ch commented 3 years ago

I think the error message is pretty straight forward. Just add @staticmethod...

exli54264 commented 1 year ago

Download pytorch1.2