xinntao / EDVR

Winning Solution in NTIRE19 Challenges on Video Restoration and Enhancement (CVPR19 Workshops) - Video Restoration with Enhanced Deformable Convolutional Networks. EDVR has been merged into BasicSR and this repo is a mirror of BasicSR.
https://github.com/xinntao/BasicSR
1.5k stars 316 forks source link

the problem of python setup.py develop #192

Open zhanglibo852 opened 3 years ago

zhanglibo852 commented 3 years ago

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

cudnn

H-Wenfeng commented 3 years ago

You may check the installation of the GCC

xinntao commented 3 years ago

@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