Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Jun 15, 2022 · 1 comment

Comments

@orange-416
Copy link

orange-416 commented Jun 15, 2022

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/resample2d_package/make.sh and fast_blind_video_consistency/networks/channelnorm_package/make.sh )

Could someone please tell me how to solve this?

@1208869644
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants