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

the problem of python setup.py develop #192

Open
1 task
zhanglibo852 opened this issue Mar 16, 2021 · 2 comments
Open
1 task

the problem of python setup.py develop #192

zhanglibo852 opened this issue Mar 16, 2021 · 2 comments

Comments

@zhanglibo852
Copy link

zhanglibo852 commented Mar 16, 2021

hi,
I have problem.When I run python setup.py develop has the following problems.

python setup.py develop
running develop
running egg_info
writing deform_conv.egg-info/PKG-INFO
writing dependency_links to deform_conv.egg-info/dependency_links.txt
writing top-level names to deform_conv.egg-info/top_level.txt
reading manifest file 'deform_conv.egg-info/SOURCES.txt'
writing manifest file 'deform_conv.egg-info/SOURCES.txt'
running build_ext
building 'deform_conv_cuda' extension
gcc -pthread -B /home/zlb/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/zlb/conda/lib/python3.8/site-packages/torch/include -I/home/zlb/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/zlb/conda/lib/python3.8/site-packages/torch/include/TH -I/home/zlb/conda/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/zlb/conda/include/python3.8 -c /content/drive/My Drive/EDVR/codes/models/archs/dcn/src/deform_conv_cuda.cpp -o build/temp.linux-x86_64-3.8/content/drive/My Drive/EDVR/codes/models/archs/dcn/src/deform_conv_cuda.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=deform_conv_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
gcc: error: /content/drive/My Drive/EDVR/codes/models/archs/dcn/src/deform_conv_cuda.cpp: No such file or directory
error: command 'gcc' failed with exit status 1

This is my environment configuration:
cuda 10.0.130
cudnn 10.0
pytorch 1.4.0
pytyon

  • 3.8.5

cudnn

@H-Wenfeng
Copy link

You may check the installation of the GCC

@xinntao
Copy link
Owner

xinntao commented Sep 10, 2021

@zhanglibo852

It is better to use the latest version of BasicSR, which also includes the EDVR models: https://github.com/xinntao/BasicSR
For PyToch >=1.8, TorchVision>= 0.9.0, you do not need to compilation for EDVR: More details are here: https://github.com/xinntao/BasicSR/blob/master/INSTALL.md

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

3 participants