FSCE
FSCE copied to clipboard
problem during installation
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 -D__CUDA_NO_HALF_OPERATORS_ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_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 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_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 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_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 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_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 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_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 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_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 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_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 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_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 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_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 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_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 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_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 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_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 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_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 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_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
NVCC is not in path.
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.
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
Detectron has this compilation bug, so I lowered to pytorch 1.4
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!
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!