NVIDIA / flownet2-pytorch

Pytorch implementation of FlowNet 2.0: Evolution of Optical Flow Estimation with Deep Networks
Other
3.09k stars 739 forks source link

Legacy autograd function with non-static forward method is deprecated #230

Closed essamgoda closed 3 years ago

essamgoda commented 3 years ago

Legacy autograd function with non-static forward method is deprecated error in PyTorch "1.6.0+cu101" (Colab)

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)

essamgoda commented 3 years ago

problem solved refer to this issue #207