BridgeDepthFlow icon indicating copy to clipboard operation
BridgeDepthFlow copied to clipboard

ImportError: libcudart.so.9.2

Open ltkong218 opened this issue 6 years ago • 5 comments

File "BridgeDepthFlow-master/models/networks/correlation_package/correlation.py", line 4, in import correlation_cuda ImportError: libcudart.so.9.2: cannot open shared object file: No such file or directory

Hello, I tried this code with cuda-9.0 and cuda-10.0 with pytorch-1.1.0, and I have built and installed the correlation module. But when I run python train.py, it gets an error above, should I use cuda-9.2?

ltkong218 avatar Jun 04 '19 13:06 ltkong218

I've ever got this error before when using PyTorch-1.1.0. I suggest you to run with PyTorch-1.0.0 and Python-3.7.

lelimite4444 avatar Jun 04 '19 13:06 lelimite4444

@ltkong218 How do you solve this error? I met the same error even though I ran the code with PyTorch-1.0.0 and Python-3.7.

wanghao14 avatar Dec 22 '19 04:12 wanghao14

Use CUDA-9.2 and run

python setup.py build       
python setup.py install

under ./models/networks/correlation_package and ./models/networks/resample2d_package respectively, then I can run the code.

wanghao14 avatar Dec 22 '19 06:12 wanghao14

I replace the correlation module with that in FlowNet2 https://github.com/NVIDIA/flownet2-pytorch

ltkong218 avatar Dec 22 '19 07:12 ltkong218

@ltkong218 Thanks for your reply.

wanghao14 avatar Dec 23 '19 02:12 wanghao14