guanyingc / DeepHDRVideo

HDR Video Reconstruction: A Coarse-to-fine Network and A Real-world Benchmark Dataset (ICCV 2021)
https://guanyingc.github.io/DeepHDRVideo
Other
98 stars 19 forks source link

Issues while running setup.py to build deformable Conv module. During testing time, getting undefined symbol error. Cuda version mismatch a problem? #1

Closed Rishabh-Samra closed 3 years ago

Rishabh-Samra commented 3 years ago

I was running your code with Pytorch 1.1.0, gcc-5.5.0 and Cuda 10.1. I got the following output while running setup.py

Dconv

After that while testing on synthetic data when I ran run_model.py, I got some undefined symbol error as below:

TestError_Syn

Since your code was tested with Cuda-9.0 and I had Cuda-10.1 installed in my system, so is the cuda version mismatch a only issue or are there some other issues for the above mentioned error? Can you please help me out as how I can rectify the above mentioned error?

guanyingc commented 3 years ago

Hi, please try to use cuda-9.0.

You can download cuda9.0 and extract to a path (e.g., /media/data/cuda-9.0/). Then before building dcn, you should export the cuda PATH like the following.

export CUDA_HOME=/media/data/cuda-9.0
export CUDA_LIB_DIR=/media/data/cuda-9.0/lib64
export PATH=$CUDA_HOME:$PATH
export LD_LIBRARY_PATH=$CUDA_LIB_DIR:$LD_LIBRARY_PATH

Hope this help.