Open kayleeliyx opened 3 years ago
exactly the same error on my side, I try all kind of cudnn installation and version but none of them worked
hi, i solved this by installing the latest pytorch version (pip3 install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1 -f https://download.pytorch.org/whl/torch_stable.html), then i had to patch flownet2 (https://github.com/NVIDIA/flownet2-pytorch/pull/254/files) to make it compatible.
Hi!
@dschoerk can you elaborate a bit more how did you manage to solve this. I was having the same problem as @karliell and once I used your advice and installed the newer pytorch (pip3 install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1 -f https://download.pytorch.org/whl/torch_stable.html) and separately clone the git repository that you referred to (https://github.com/christian-rauch/flownet2-pytorch/tree/cxx14) in place of flownet2 I managed to get it to work. So I was just wondering if there is an easier solution than the one I used (kind of messy with separate cloning etc.). In any case, thanks for the solution!
hi, i solved this by installing the latest pytorch version (pip3 install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1 -f https://download.pytorch.org/whl/torch_stable.html), then i had to patch flownet2 (https://github.com/NVIDIA/flownet2-pytorch/pull/254/files) to make it compatible.
After patching flownet2 it is necessary to install it again
Worked for me too : I have Ubuntu 20 and GeForce 3050 Ti: pip3 install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1 -f https://download.pytorch.org/whl/torch_stable.html then cloning branch cxx14 from https://github.com/christian-rauch/flownet2-pytorch/tree/cxx14 and installing according to readme
I installed all the requirements as you listed on the website. However, I met this error while running the demo.
Error:
python main.py --video_file data/videos/ayush.mp4 --path results/ayush --camera_params "1671.770118, 540, 960" --camera_model "SIMPLE_PINHOLE" --make_video
Here is my setup
Cuda compilation tools, release 10.1, V10.1.243
print(torch.__version__)
1.4.0+cu100
Thanks for helping!