phoenix104104 / fast_blind_video_consistency

Learning Blind Video Temporal Consistency (ECCV 2018)
http://vllab.ucmerced.edu/wlai24/video_consistency/
Other
415 stars 63 forks source link

When I compile flownet2 using ./install.sh, "_kernel.cu:1:10: fatal error: THC.h: No such file or directory" #20

Open orange-416 opened 2 years ago

orange-416 commented 2 years ago

I found THC.h in ".../anaconda3/env/myenv/lib/python3.6/site-packages/torch/include/THC",and "_kernel.cu:1:10: fatal error: THC.h: No such file or directory" error occurs when compiling "nvcc -c -o Resample2d_kernel.o Resample2d_kernel.cu -x cu -Xcompiler -fPIC -arch=sm_52 -I ${TORCH}/lib/include/TH -I ${TORCH}/lib/include/THC" and "nvcc -c -o ChannelNorm_kernel.o ChannelNorm_kernel.cu -x cu -Xcompiler -fPIC -arch=sm_52 -I ${TORCH}/lib/include/TH -I ${TORCH}/lib/include/THC".(These code is in dir _fast_blind_video_consistency/networks/resample2dpackage/make.sh and _fast_blind_video_consistency/networks/channelnormpackage/make.sh )

Could someone please tell me how to solve this?

1208869644 commented 2 years ago

I also encountered the same problem. Have you solved it now?