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

I ran test the code but error ocrrued. #92

Open kimwoojoo opened 5 years ago

kimwoojoo commented 5 years ago

Hi, I ran this test code, but error ocrrued. I think, It is memory allocation problem, but I did not found malloc.. please, comment for me, python script_pwc.py ./data/frame_0010.png ./data/frame_0011.png ./tmp/frame_0010.flo

script_pwc.py:65: UserWarning: volatile was removed and now has no effect. Use with torch.no_grad(): instead. im_all = torch.autograd.Variable(torch.cat(im_all,1).cuda(), volatile=True) /home/gim/Downloads/PWC-Net/PyTorch/models/PWCNet.py:134: UserWarning: nn.init.kaiming_normal is now deprecated in favor of nn.init.kaimingnormal. nn.init.kaiming_normal(m.weight.data, mode='fan_in')

zhengge commented 4 years ago

Hi @kimwoojoo I have the same error, Do you slove it ?