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 )
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?