NVlabs / PWC-Net

PWC-Net: CNNs for Optical Flow Using Pyramid, Warping, and Cost Volume, CVPR 2018 (Oral)
Other
1.63k stars 357 forks source link

Moving to later Versions of PyTorch #91

Closed NylaWorker closed 4 years ago

NylaWorker commented 5 years ago

Hello, I noticed that running on the latest PyTorch versions is not possible because torch.utils.ffi is deprecated. Are you planning to upgrade this? I saw the solution is moving to cpp, rather than c. How difficult do you think this would be?

Thank you!

ChrGri commented 5 years ago

+1

zhuangxiaopi commented 4 years ago

+1

NylaWorker commented 4 years ago

Hello, I noticed your interested on the latest version. The way of doing so easily is by using the correlation layer found here: https://github.com/NVIDIA/flownet2-pytorch/tree/master/networks/correlation_package

This correlation layer is up to date and compatible to latest PyTorch! It does no longer use the deprecated PyTorch library.

K1NSA commented 1 year ago

Hello, I noticed your interested on the latest version. The way of doing so easily is by using the correlation layer found here: https://github.com/NVIDIA/flownet2-pytorch/tree/master/networks/correlation_package

This correlation layer is up to date and compatible to latest PyTorch! It does no longer use the deprecated PyTorch library.

Hello, sorry to bother, should I just change the "correlation_package" with the files in Flownet2? Does it need any installation?