-
Notifications
You must be signed in to change notification settings - Fork 474
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
Error when running bash install.sh #27
Comments
My PC is Ubuntu 18.04 LTS, Python 3.6, Pytorch 1.4, CUDA 10.1, GTX1070 GPU. |
change |
And due to your high pytorch version,some api was deprecated,use their substitute in pytorch 1.0+ |
Thank all bros. Let me do. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello everyone, i just got the following error when running bash install.sh:
Compiling correlation kernels by nvcc...
Traceback (most recent call last):
File "build.py", line 3, in
import torch.utils.ffi
File "/home/huan/anaconda3/envs/myenv/lib/python3.6/site-packages/torch/utils/ffi/init.py", line 1, in
raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.")
ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.
Compiling resample2d kernels by nvcc...
Resample2d_kernel.cu:1:10: fatal error: THC.h: No such file or directory
#include <THC.h>
^~~~~~~
compilation terminated.
Traceback (most recent call last):
File "build.py", line 3, in
import torch.utils.ffi
File "/home/huan/anaconda3/envs/myenv/lib/python3.6/site-packages/torch/utils/ffi/init.py", line 1, in
raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.")
ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.
Compiling channelnorm kernels by nvcc...
ChannelNorm_kernel.cu:1:10: fatal error: THC.h: No such file or directory
#include <THC.h>
^~~~~~~
compilation terminated.
Traceback (most recent call last):
File "build.py", line 3, in
import torch.utils.ffi
File "/home/huan/anaconda3/envs/myenv/lib/python3.6/site-packages/torch/utils/ffi/init.py", line 1, in
raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.")
ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.
Compiling correlation kernels by nvcc...
Traceback (most recent call last):
File "build.py", line 3, in
import torch.utils.ffi
File "/home/huan/anaconda3/envs/myenv/lib/python3.6/site-packages/torch/utils/ffi/init.py", line 1, in
raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.")
ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.
(myenv) huan@HuanUbt:~/video-object-removal/inpainting$
Is anyone can help me?
The text was updated successfully, but these errors were encountered: