tianzhi0549 / FCOS

FCOS: Fully Convolutional One-Stage Object Detection (ICCV'19)
https://arxiv.org/abs/1904.01355
Other
3.27k stars 629 forks source link

python setup.py build develop --no-deps #321

Open howellma35 opened 3 years ago

howellma35 commented 3 years ago

running build running build_py running egg_info writing fcos.egg-info/PKG-INFO writing dependency_links to fcos.egg-info/dependency_links.txt writing requirements to fcos.egg-info/requires.txt writing top-level names to fcos.egg-info/top_level.txt reading manifest file 'fcos.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'fcos.egg-info/SOURCES.txt' running build_ext building 'fcos_core._C' extension gcc -pthread -B /home/howellma/anaconda3/envs/FCOS/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -Ifcos_core/csrc -I/home/howellma/anaconda3/envs/CenterNet/lib/python3.6/site-packages/torch/lib/include -I/home/howellma/anaconda3/envs/CenterNet/lib/python3.6/site-packages/torch/lib/include/TH -I/home/howellma/anaconda3/envs/CenterNet/lib/python3.6/site-packages/torch/lib/include/THC -I:/usr/local/cuda/include -I/home/howellma/anaconda3/envs/FCOS/include/python3.6m -c fcos_core/csrc/vision.cpp -o build/temp.linux-x86_64-3.6/fcos_core/csrc/vision.o -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from fcos_core/csrc/nms.h:3:0, from fcos_core/csrc/vision.cpp:2: fcos_core/csrc/cpu/vision.h:3:29: fatal error: torch/extension.h: 没有那个文件或目录 compilation terminated. error: command 'gcc' failed with exit status 1

tianzhi0549 commented 3 years ago

@howellma35 It seems you have not installed pytorch successfully.