megvii-research / FSCE

Apache License 2.0
274 stars 47 forks source link

problem during installation #28

Open EdyQiu opened 3 years ago

EdyQiu commented 3 years ago

Hello, in the instruction, there is a line showing "Dependencies: pip install -r requirements.txt", but how could I find this .txt file? When I run the setup file, the following error msg appears, do you have any clue about this? Any suggestions will be appreciated!

(FSCE) qiuxinkuan@aa-ESC8000:/data2/qiuxinkuan/FSCE$ python setup.py build develop running build running build_py running build_ext building 'fsdet._C' extension Emitting ninja build file /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) [1/8] :/home/qiuxinkuan/cuda-10.1/bin/nvcc -DWITH_CUDA -I/data2/qiuxinkuan/FSCE/fsdet/layers/csrc -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/TH -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/THC -I:/home/qiuxinkuan/cuda-10.1/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/include/python3.7m -c -c /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/ROIAlign/ROIAlign_cuda.cu -o /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/ROIAlign/ROIAlign_cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14 FAILED: /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/ROIAlign/ROIAlign_cuda.o :/home/qiuxinkuan/cuda-10.1/bin/nvcc -DWITH_CUDA -I/data2/qiuxinkuan/FSCE/fsdet/layers/csrc -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/TH -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/THC -I:/home/qiuxinkuan/cuda-10.1/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/include/python3.7m -c -c /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/ROIAlign/ROIAlign_cuda.cu -o /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/ROIAlign/ROIAlign_cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14 /bin/sh: 1: :/home/qiuxinkuan/cuda-10.1/bin/nvcc: not found [2/8] :/home/qiuxinkuan/cuda-10.1/bin/nvcc -DWITH_CUDA -I/data2/qiuxinkuan/FSCE/fsdet/layers/csrc -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/TH -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/THC -I:/home/qiuxinkuan/cuda-10.1/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/include/python3.7m -c -c /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv_cuda_kernel.cu -o /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv_cuda_kernel.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14 FAILED: /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv_cuda_kernel.o :/home/qiuxinkuan/cuda-10.1/bin/nvcc -DWITH_CUDA -I/data2/qiuxinkuan/FSCE/fsdet/layers/csrc -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/TH -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/THC -I:/home/qiuxinkuan/cuda-10.1/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/include/python3.7m -c -c /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv_cuda_kernel.cu -o /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv_cuda_kernel.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14 /bin/sh: 1: :/home/qiuxinkuan/cuda-10.1/bin/nvcc: not found [3/8] :/home/qiuxinkuan/cuda-10.1/bin/nvcc -DWITH_CUDA -I/data2/qiuxinkuan/FSCE/fsdet/layers/csrc -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/TH -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/THC -I:/home/qiuxinkuan/cuda-10.1/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/include/python3.7m -c -c /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/nms_rotated/nms_rotated_cuda.cu -o /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/nms_rotated/nms_rotated_cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14 FAILED: /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/nms_rotated/nms_rotated_cuda.o :/home/qiuxinkuan/cuda-10.1/bin/nvcc -DWITH_CUDA -I/data2/qiuxinkuan/FSCE/fsdet/layers/csrc -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/TH -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/THC -I:/home/qiuxinkuan/cuda-10.1/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/include/python3.7m -c -c /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/nms_rotated/nms_rotated_cuda.cu -o /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/nms_rotated/nms_rotated_cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14 /bin/sh: 1: :/home/qiuxinkuan/cuda-10.1/bin/nvcc: not found [4/8] :/home/qiuxinkuan/cuda-10.1/bin/nvcc -DWITH_CUDA -I/data2/qiuxinkuan/FSCE/fsdet/layers/csrc -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/TH -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/THC -I:/home/qiuxinkuan/cuda-10.1/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/include/python3.7m -c -c /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv_cuda.cu -o /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv_cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14 FAILED: /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv_cuda.o :/home/qiuxinkuan/cuda-10.1/bin/nvcc -DWITH_CUDA -I/data2/qiuxinkuan/FSCE/fsdet/layers/csrc -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/TH -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/THC -I:/home/qiuxinkuan/cuda-10.1/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/include/python3.7m -c -c /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv_cuda.cu -o /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv_cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14 /bin/sh: 1: :/home/qiuxinkuan/cuda-10.1/bin/nvcc: not found [5/8] :/home/qiuxinkuan/cuda-10.1/bin/nvcc -DWITH_CUDA -I/data2/qiuxinkuan/FSCE/fsdet/layers/csrc -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/TH -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/THC -I:/home/qiuxinkuan/cuda-10.1/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/include/python3.7m -c -c /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.cu -o /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14 FAILED: /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.o :/home/qiuxinkuan/cuda-10.1/bin/nvcc -DWITH_CUDA -I/data2/qiuxinkuan/FSCE/fsdet/layers/csrc -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/TH -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/THC -I:/home/qiuxinkuan/cuda-10.1/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/include/python3.7m -c -c /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.cu -o /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14 /bin/sh: 1: :/home/qiuxinkuan/cuda-10.1/bin/nvcc: not found [6/8] :/home/qiuxinkuan/cuda-10.1/bin/nvcc -DWITH_CUDA -I/data2/qiuxinkuan/FSCE/fsdet/layers/csrc -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/TH -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/THC -I:/home/qiuxinkuan/cuda-10.1/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/include/python3.7m -c -c /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/cuda_version.cu -o /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/cuda_version.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14 FAILED: /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/cuda_version.o :/home/qiuxinkuan/cuda-10.1/bin/nvcc -DWITH_CUDA -I/data2/qiuxinkuan/FSCE/fsdet/layers/csrc -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/TH -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/THC -I:/home/qiuxinkuan/cuda-10.1/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/include/python3.7m -c -c /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/cuda_version.cu -o /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/cuda_version.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14 /bin/sh: 1: :/home/qiuxinkuan/cuda-10.1/bin/nvcc: not found [7/8] :/home/qiuxinkuan/cuda-10.1/bin/nvcc -DWITH_CUDA -I/data2/qiuxinkuan/FSCE/fsdet/layers/csrc -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/TH -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/THC -I:/home/qiuxinkuan/cuda-10.1/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/include/python3.7m -c -c /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu -o /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14 FAILED: /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.o :/home/qiuxinkuan/cuda-10.1/bin/nvcc -DWITH_CUDA -I/data2/qiuxinkuan/FSCE/fsdet/layers/csrc -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/TH -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/THC -I:/home/qiuxinkuan/cuda-10.1/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/include/python3.7m -c -c /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu -o /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14 /bin/sh: 1: :/home/qiuxinkuan/cuda-10.1/bin/nvcc: not found [8/8] c++ -MMD -MF /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.o.d -pthread -B /home/qiuxinkuan/anaconda3/envs/FSCE/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/data2/qiuxinkuan/FSCE/fsdet/layers/csrc -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/TH -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/THC -I:/home/qiuxinkuan/cuda-10.1/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/include/python3.7m -c -c /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp -o /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 FAILED: /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.o c++ -MMD -MF /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.o.d -pthread -B /home/qiuxinkuan/anaconda3/envs/FSCE/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/data2/qiuxinkuan/FSCE/fsdet/layers/csrc -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/TH -I/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/THC -I:/home/qiuxinkuan/cuda-10.1/include -I/home/qiuxinkuan/anaconda3/envs/FSCE/include/python3.7m -c -c /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp -o /data2/qiuxinkuan/FSCE/build/temp.linux-x86_64-3.7/data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149:0, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:3: /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]

pragma omp parallel for if ((end - begin) >= grain_size)

^ In file included from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:4:0: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/ROIAlign/ROIAlign.h: In function ‘at::Tensor fsdet::ROIAlign_forward(const at::Tensor&, const at::Tensor&, float, int, int, int, bool)’: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/ROIAlign/ROIAlign.h:62:18: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] if (input.type().is_cuda()) { ^ In file included from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:3: /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here DeprecatedTypeProperties & type() const { ^ In file included from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:4:0: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/ROIAlign/ROIAlign.h: In function ‘at::Tensor fsdet::ROIAlign_backward(const at::Tensor&, const at::Tensor&, float, int, int, int, int, int, int, int, bool)’: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/ROIAlign/ROIAlign.h:98:17: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] if (grad.type().is_cuda()) { ^ In file included from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:3: /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here DeprecatedTypeProperties & type() const { ^ In file included from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:5:0: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/ROIAlignRotated/ROIAlignRotated.h: In function ‘at::Tensor fsdet::ROIAlignRotated_forward(const at::Tensor&, const at::Tensor&, float, int, int, int)’: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/ROIAlignRotated/ROIAlignRotated.h:57:18: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] if (input.type().is_cuda()) { ^ In file included from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:3: /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here DeprecatedTypeProperties & type() const { ^ In file included from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:5:0: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/ROIAlignRotated/ROIAlignRotated.h: In function ‘at::Tensor fsdet::ROIAlignRotated_backward(const at::Tensor&, const at::Tensor&, float, int, int, int, int, int, int, int)’: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/ROIAlignRotated/ROIAlignRotated.h:85:17: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] if (grad.type().is_cuda()) { ^ In file included from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:3: /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here DeprecatedTypeProperties & type() const { ^ In file included from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:7:0: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h: In function ‘int fsdet::deform_conv_forward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, int, int, int, int, int, int, int, int, int, int)’: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h:134:18: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] if (input.type().is_cuda()) { ^ In file included from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:3: /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here DeprecatedTypeProperties & type() const { ^ In file included from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:7:0: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h:136:26: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!"); ^ In file included from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:3: /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here DeprecatedTypeProperties & type() const { ^ In file included from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:7:0: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h:136:69: error: ‘AT_CHECK’ was not declared in this scope AT_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!"); ^ /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h:137:26: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_CHECK(offset.type().is_cuda(), "offset tensor is not on GPU!"); ^ In file included from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:3: /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here DeprecatedTypeProperties & type() const { ^ In file included from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:7:0: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h: In function ‘int fsdet::deform_conv_backward_input(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, int, int, int, int, int, int, int, int, int, int)’: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h:182:23: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] if (gradOutput.type().is_cuda()) { ^ In file included from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:3: /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here DeprecatedTypeProperties & type() const { ^ In file included from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:7:0: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h:184:25: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_CHECK(input.type().is_cuda(), "input tensor is not on GPU!"); ^ In file included from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:3: /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here DeprecatedTypeProperties & type() const { ^ In file included from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:7:0: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h:184:67: error: ‘AT_CHECK’ was not declared in this scope AT_CHECK(input.type().is_cuda(), "input tensor is not on GPU!"); ^ /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h:185:26: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!"); ^ In file included from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:3: /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here DeprecatedTypeProperties & type() const { ^ In file included from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:7:0: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h:186:26: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_CHECK(offset.type().is_cuda(), "offset tensor is not on GPU!"); ^ In file included from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:3: /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here DeprecatedTypeProperties & type() const { ^ In file included from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:7:0: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h: In function ‘int fsdet::deform_conv_backward_filter(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, int, int, int, int, int, int, int, int, int, float, int)’: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h:232:23: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] if (gradOutput.type().is_cuda()) { ^ In file included from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:3: /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here DeprecatedTypeProperties & type() const { ^ In file included from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:7:0: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h:234:25: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_CHECK(input.type().is_cuda(), "input tensor is not on GPU!"); ^ In file included from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:3: /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here DeprecatedTypeProperties & type() const { ^ In file included from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:7:0: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h:234:67: error: ‘AT_CHECK’ was not declared in this scope AT_CHECK(input.type().is_cuda(), "input tensor is not on GPU!"); ^ /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h:235:26: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_CHECK(offset.type().is_cuda(), "offset tensor is not on GPU!"); ^ In file included from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:3: /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here DeprecatedTypeProperties & type() const { ^ In file included from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:7:0: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h: In function ‘void fsdet::modulated_deform_conv_forward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, int, int, int, int, int, int, int, int, int, bool)’: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h:282:18: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] if (input.type().is_cuda()) { ^ In file included from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:3: /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here DeprecatedTypeProperties & type() const { ^ In file included from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:7:0: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h:284:26: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!"); ^ In file included from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:3: /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here DeprecatedTypeProperties & type() const { ^ In file included from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:7:0: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h:284:69: error: ‘AT_CHECK’ was not declared in this scope AT_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!"); ^ /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h:285:24: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_CHECK(bias.type().is_cuda(), "bias tensor is not on GPU!"); ^ In file included from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:3: /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here DeprecatedTypeProperties & type() const { ^ In file included from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:7:0: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h:286:26: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_CHECK(offset.type().is_cuda(), "offset tensor is not on GPU!"); ^ In file included from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:3: /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here DeprecatedTypeProperties & type() const { ^ In file included from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:7:0: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h: In function ‘void fsdet::modulated_deform_conv_backward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, int, int, int, int, int, int, int, int, int, bool)’: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h:339:24: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] if (grad_output.type().is_cuda()) { ^ In file included from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:3: /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here DeprecatedTypeProperties & type() const { ^ In file included from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:7:0: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h:341:25: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_CHECK(input.type().is_cuda(), "input tensor is not on GPU!"); ^ In file included from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:3: /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here DeprecatedTypeProperties & type() const { ^ In file included from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:7:0: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h:341:67: error: ‘AT_CHECK’ was not declared in this scope AT_CHECK(input.type().is_cuda(), "input tensor is not on GPU!"); ^ /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h:342:26: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!"); ^ In file included from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:3: /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here DeprecatedTypeProperties & type() const { ^ In file included from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:7:0: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h:343:24: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_CHECK(bias.type().is_cuda(), "bias tensor is not on GPU!"); ^ In file included from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:3: /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here DeprecatedTypeProperties & type() const { ^ In file included from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:7:0: /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/deformable/deform_conv.h:344:26: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_CHECK(offset.type().is_cuda(), "offset tensor is not on GPU!"); ^ In file included from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3:0, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8, from /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /data2/qiuxinkuan/FSCE/fsdet/layers/csrc/vision.cpp:3: /home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here DeprecatedTypeProperties & type() const { ^ ninja: build stopped: subcommand failed. Traceback (most recent call last): File "/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1539, in _run_ninja_build env=env) File "/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/subprocess.py", line 512, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "setup.py", line 114, in cmdclass={"build_ext": torch.utils.cpp_extension.BuildExtension}, File "/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/setuptools/init.py", line 153, in setup return distutils.core.setup(**attrs) File "/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 79, in run _build_ext.run(self) File "/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run _build_ext.build_ext.run(self) File "/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/distutils/command/build_ext.py", line 340, in run self.build_extensions() File "/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 670, in build_extensions build_ext.build_extensions(self) File "/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions _build_ext.build_ext.build_extensions(self) File "/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions self._build_extensions_serial() File "/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial self.build_extension(ext) File "/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 196, in build_extension _build_ext.build_extension(self, ext) File "/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/distutils/command/build_ext.py", line 534, in build_extension depends=ext.depends) File "/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 500, in unix_wrap_ninja_compile with_cuda=with_cuda) File "/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1255, in _write_ninja_file_and_compile_objects error_prefix='Error compiling objects for extension') File "/home/qiuxinkuan/anaconda3/envs/FSCE/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1555, in _run_ninja_build raise RuntimeError(message) from e RuntimeError: Error compiling objects for extension

manikandan-ravikiran commented 3 years ago

NVCC is not in path.

EdyQiu commented 3 years ago

NVCC is not in path.

Thanks for replying! I checked "nvcc -V", and it did show the correct message, Did you use "sudo" when running the command "python setup.py build develop " ? I am sharing the server with my coworkers and wondering whether this (did not use sudo) is the reason for my error report.

manikandan-ravikiran commented 3 years ago

Yes I did. But sudo is not mandatory I guess because its typical building of python code. The extension error is possible due to pytorch version. Try using pytorch 1.4 and torchvision 0.5.0 with CUDA 10, it should be able to compile

manikandan-ravikiran commented 3 years ago

Detectron has this compilation bug, so I lowered to pytorch 1.4

EdyQiu commented 3 years ago

Detectron has this compilation bug, so I lowered to pytorch 1.4

Thank you so much for this information, I would have a try soon!

2563895797 commented 2 years ago

Yes I did. But sudo is not mandatory I guess because its typical building of python code. The extension error is possible due to pytorch version. Try using pytorch 1.4 and torchvision 0.5.0 with CUDA 10, it should be able to compile

it solve my problem! thank you!