How to install mmdet 1.0rc0?

Hi.
I want to install mmdet 1.0rc0, so I installed mmcv-full==1.0rc0, but if I run pip install -e . in the project, error occurs.
**...(Numerous skipping link lines)**
  Found link https://files.pythonhosted.org/packages/99/29/1a048829f9cdb14b98e676bf9970afb7c2b9d27e6403eb820322ba476d36/threadpoolctl-3.0.0.tar.gz#sha256=d03115321233d0be715f0d3a5ad1d6c065fe425ddc2d671ca8e45e9fd5d7a52a (from https://pypi.org/simple/threadpoolctl/) (requires-python:>=3.6), version: 3.0.0
Skipping link: not a file: https://pypi.org/simple/threadpoolctl/
Given no hashes to check 8 links for project 'threadpoolctl': discarding no candidates
Collecting threadpoolctl>=2.0.0
  Created temporary directory: /tmp/pip-unpack-u_lwu8lf
  Looking up "https://files.pythonhosted.org/packages/ff/fe/8aaca2a0db7fd80f0b2cf8a16a034d3eea8102d58ff9331d2aaf1f06766a/threadpoolctl-3.0.0-py3-none-any.whl" in the cache
  Current age based on date: 2931891
  Ignoring unknown cache-control directive: immutable
  Freshness lifetime from max-age: 365000000
  The response is "fresh", returning cached response
  365000000 > 2931891
  Using cached threadpoolctl-3.0.0-py3-none-any.whl (14 kB)
  Added threadpoolctl>=2.0.0 from https://files.pythonhosted.org/packages/ff/fe/8aaca2a0db7fd80f0b2cf8a16a034d3eea8102d58ff9331d2aaf1f06766a/threadpoolctl-3.0.0-py3-none-any.whl#sha256=4fade5b3b48ae4b1c30f200b28f39180371104fccc642e039e0f2435ec8cc211 (from scikit-learn>=0.19.1->qudida>=0.0.4->albumentations>=0.3.2->mmdet==1.0rc0+0d587bc) to build tracker '/tmp/pip-req-tracker-7dpg2tnf'
  Removed threadpoolctl>=2.0.0 from https://files.pythonhosted.org/packages/ff/fe/8aaca2a0db7fd80f0b2cf8a16a034d3eea8102d58ff9331d2aaf1f06766a/threadpoolctl-3.0.0-py3-none-any.whl#sha256=4fade5b3b48ae4b1c30f200b28f39180371104fccc642e039e0f2435ec8cc211 (from scikit-learn>=0.19.1->qudida>=0.0.4->albumentations>=0.3.2->mmdet==1.0rc0+0d587bc) from build tracker '/tmp/pip-req-tracker-7dpg2tnf'
Requirement already satisfied: opencv-python>=3.4.5 in /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages (from imagecorruptions->mmdet==1.0rc0+0d587bc) (<IP_ADDRESS>)
Given no hashes to check 5 links for project 'pillow': discarding no candidates
Given no hashes to check 15 links for project 'scikit-image': discarding no candidates
Requirement already satisfied: cython>=0.27.3 in /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages (from pycocotools->mmdet==1.0rc0+0d587bc) (0.29.22)
Requirement already satisfied: setuptools>=18.0 in /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages (from pycocotools->mmdet==1.0rc0+0d587bc) (49.6.0.post20210108)
Given no hashes to check 5 links for project 'pillow': discarding no candidates
Created temporary directory: /tmp/pip-unpack-p26xd_yj
Installing collected packages: threadpoolctl, Pillow, joblib, tifffile, scikit-learn, PyWavelets, opencv-python-headless, networkx, imageio, scikit-image, qudida, mmcv, imagecorruptions, albumentations, mmdet

  Attempting uninstall: Pillow
    Found existing installation: Pillow 8.2.0
    Uninstalling Pillow-8.2.0:
      Created temporary directory: /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/~IL
      Removing file or directory /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/PIL/
      Created temporary directory: /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/~illow-8.2.0.dist-info
      Removing file or directory /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/Pillow-8.2.0.dist-info/
      Successfully uninstalled Pillow-8.2.0

  changing mode of /home/sueyeon/anaconda3/envs/mmdetection/bin/lsm2bin to 775
  changing mode of /home/sueyeon/anaconda3/envs/mmdetection/bin/tiff2fsspec to 775
  changing mode of /home/sueyeon/anaconda3/envs/mmdetection/bin/tiffcomment to 775
  changing mode of /home/sueyeon/anaconda3/envs/mmdetection/bin/tifffile to 775

  changing mode of /home/sueyeon/anaconda3/envs/mmdetection/bin/imageio_download_bin to 775
  changing mode of /home/sueyeon/anaconda3/envs/mmdetection/bin/imageio_remove_bin to 775

  changing mode of /home/sueyeon/anaconda3/envs/mmdetection/bin/skivi to 775

  Attempting uninstall: mmdet
    Found existing installation: mmdet 2.17.0
    Uninstalling mmdet-2.17.0:
      Created temporary directory: /tmp/pip-uninstall-_5rgv8x5
      Removing file or directory /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/mmdet.egg-link
      Removing pth entries from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/easy-install.pth:
      Removing entry: /mnt/SueDrive/Projects/mmdetection
      Successfully uninstalled mmdet-2.17.0
  Running setup.py develop for mmdet
    Running command /home/sueyeon/anaconda3/envs/mmdetection/bin/python3.7 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/setup.py'"'"'; __file__='"'"'/mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps
    running develop
    running egg_info
    writing mmdet.egg-info/PKG-INFO
    writing dependency_links to mmdet.egg-info/dependency_links.txt
    writing requirements to mmdet.egg-info/requires.txt
    writing top-level names to mmdet.egg-info/top_level.txt
    reading manifest file 'mmdet.egg-info/SOURCES.txt'
    writing manifest file 'mmdet.egg-info/SOURCES.txt'
    running build_ext
    building 'mmdet.ops.nms.soft_nms_cpu' extension
    Emitting ninja build file /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/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)
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/setuptools/dist.py:458: UserWarning: Normalizing '1.0.rc0+0d587bc' to '1.0rc0+0d587bc'
      warnings.warn(tmpl.format(**locals()))
    [1/1] c++ -MMD -MF /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/build/temp.linux-x86_64-3.7/mmdet/ops/nms/src/soft_nms_cpu.o.d -pthread -B /home/sueyeon/anaconda3/envs/mmdetection/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/numpy/core/include -I/home/sueyeon/anaconda3/envs/mmdetection/include/python3.7m -c -c /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/soft_nms_cpu.cpp -o /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/build/temp.linux-x86_64-3.7/mmdet/ops/nms/src/soft_nms_cpu.o -Wno-unused-function -Wno-write-strings -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=soft_nms_cpu -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/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1832,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/soft_nms_cpu.cpp:663:
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
       17 | #warning "Using deprecated NumPy API, disable it with " \
          |  ^~~~~~~
    g++ -pthread -shared -B /home/sueyeon/anaconda3/envs/mmdetection/compiler_compat -L/home/sueyeon/anaconda3/envs/mmdetection/lib -Wl,-rpath=/home/sueyeon/anaconda3/envs/mmdetection/lib -Wl,--no-as-needed -Wl,--sysroot=/ /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/build/temp.linux-x86_64-3.7/mmdet/ops/nms/src/soft_nms_cpu.o -o build/lib.linux-x86_64-3.7/mmdet/ops/nms/soft_nms_cpu.cpython-37m-x86_64-linux-gnu.so
    building 'mmdet.ops.nms.nms_cpu' extension
    Emitting ninja build file /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/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/1] c++ -MMD -MF /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/build/temp.linux-x86_64-3.7/mmdet/ops/nms/src/nms_cpu.o.d -pthread -B /home/sueyeon/anaconda3/envs/mmdetection/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include -I/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/TH -I/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/sueyeon/anaconda3/envs/mmdetection/include/python3.7m -c -c /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp -o /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/build/temp.linux-x86_64-3.7/mmdet/ops/nms/src/nms_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=nms_cpu -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/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:2:
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/ParallelOpenMP.h:84: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
       84 | #pragma omp parallel for if ((end - begin) >= grain_size)
          |
    In file included from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/c10/core/Device.h:5,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/c10/core/Allocator.h:6,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/ATen.h:7,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:2:
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp: In instantiation of ‘at::Tensor nms_cpu_kernel(const at::Tensor&, float) [with scalar_t = double]’:
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:63:3:   required from here
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:6: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]
        6 |   AT_ASSERTM(!dets.type().is_cuda(), "dets must be a CPU tensor");
          |               ~~~~~~~~~^~
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:219:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
      219 | #define C10_EXPAND_MSVC_WORKAROUND(x) x
          |                                       ^
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:238:34: note: in expansion of macro ‘C10_UNLIKELY’
      238 | #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
          |                                  ^~~~~~~~~~~~
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:285:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
      285 |   if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
          |       ^~~~~~~~~~~~~~~~~~~~~
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:447:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
      447 |     C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
          |                                ^~~~~~~~~~~~~~~~~~~~~
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:6:3: note: in expansion of macro ‘AT_ASSERTM’
        6 |   AT_ASSERTM(!dets.type().is_cuda(), "dets must be a CPU tensor");
          |   ^~~~~~~~~~
    In file included from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:2:
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
      277 |   DeprecatedTypeProperties & type() const {
          |                              ^~~~
    In file included from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/c10/core/Device.h:5,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/c10/core/Allocator.h:6,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/ATen.h:7,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:2:
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:6: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]
        6 |   AT_ASSERTM(!dets.type().is_cuda(), "dets must be a CPU tensor");
          |               ~~~~~~~~~^~
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:219:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
      219 | #define C10_EXPAND_MSVC_WORKAROUND(x) x
          |                                       ^
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:238:34: note: in expansion of macro ‘C10_UNLIKELY’
      238 | #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
          |                                  ^~~~~~~~~~~~
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:285:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
      285 |   if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
          |       ^~~~~~~~~~~~~~~~~~~~~
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:447:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
      447 |     C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
          |                                ^~~~~~~~~~~~~~~~~~~~~
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:6:3: note: in expansion of macro ‘AT_ASSERTM’
        6 |   AT_ASSERTM(!dets.type().is_cuda(), "dets must be a CPU tensor");
          |   ^~~~~~~~~~
    In file included from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:2:
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
      277 |   DeprecatedTypeProperties & type() const {
          |                              ^~~~
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:26:47: warning: ‘T* at::Tensor::data() const [with T = unsigned char]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
       26 |   auto suppressed = suppressed_t.data<uint8_t>();
          |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
    In file included from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:2:
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
      363 |   T * data() const {
          |       ^~~~
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:27:37: warning: ‘T* at::Tensor::data() const [with T = long int]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
       27 |   auto order = order_t.data<int64_t>();
          |                ~~~~~~~~~~~~~~~~~~~~~^~
    In file included from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:2:
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
      363 |   T * data() const {
          |       ^~~~
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:28:8: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
       28 |   auto x1 = x1_t.data<scalar_t>();
          |        ^~
    In file included from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:2:
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
      363 |   T * data() const {
          |       ^~~~
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:29:8: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
       29 |   auto y1 = y1_t.data<scalar_t>();
          |        ^~
    In file included from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:2:
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
      363 |   T * data() const {
          |       ^~~~
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:30:8: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
       30 |   auto x2 = x2_t.data<scalar_t>();
          |        ^~
    In file included from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:2:
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
      363 |   T * data() const {
          |       ^~~~
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:31:8: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
       31 |   auto y2 = y2_t.data<scalar_t>();
          |        ^~
    In file included from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:2:
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
      363 |   T * data() const {
          |       ^~~~
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:32:8: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
       32 |   auto areas = areas_t.data<scalar_t>();
          |        ^~~~~
    In file included from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:2:
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
      363 |   T * data() const {
          |       ^~~~
    In file included from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/c10/core/Device.h:5,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/c10/core/Allocator.h:6,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/ATen.h:7,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:2:
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp: In instantiation of ‘at::Tensor nms_cpu_kernel(const at::Tensor&, float) [with scalar_t = float]’:
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:63:3:   required from here
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:6: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]
        6 |   AT_ASSERTM(!dets.type().is_cuda(), "dets must be a CPU tensor");
          |               ~~~~~~~~~^~
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:219:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
      219 | #define C10_EXPAND_MSVC_WORKAROUND(x) x
          |                                       ^
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:238:34: note: in expansion of macro ‘C10_UNLIKELY’
      238 | #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
          |                                  ^~~~~~~~~~~~
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:285:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
      285 |   if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
          |       ^~~~~~~~~~~~~~~~~~~~~
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:447:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
      447 |     C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
          |                                ^~~~~~~~~~~~~~~~~~~~~
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:6:3: note: in expansion of macro ‘AT_ASSERTM’
        6 |   AT_ASSERTM(!dets.type().is_cuda(), "dets must be a CPU tensor");
          |   ^~~~~~~~~~
    In file included from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:2:
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
      277 |   DeprecatedTypeProperties & type() const {
          |                              ^~~~
    In file included from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/c10/core/Device.h:5,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/c10/core/Allocator.h:6,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/ATen.h:7,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:2:
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:6: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]
        6 |   AT_ASSERTM(!dets.type().is_cuda(), "dets must be a CPU tensor");
          |               ~~~~~~~~~^~
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:219:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
      219 | #define C10_EXPAND_MSVC_WORKAROUND(x) x
          |                                       ^
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:238:34: note: in expansion of macro ‘C10_UNLIKELY’
      238 | #define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
          |                                  ^~~~~~~~~~~~
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:285:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
      285 |   if (C10_UNLIKELY_OR_CONST(!(cond))) {       \
          |       ^~~~~~~~~~~~~~~~~~~~~
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:447:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
      447 |     C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__));     \
          |                                ^~~~~~~~~~~~~~~~~~~~~
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:6:3: note: in expansion of macro ‘AT_ASSERTM’
        6 |   AT_ASSERTM(!dets.type().is_cuda(), "dets must be a CPU tensor");
          |   ^~~~~~~~~~
    In file included from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:2:
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
      277 |   DeprecatedTypeProperties & type() const {
          |                              ^~~~
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:26:47: warning: ‘T* at::Tensor::data() const [with T = unsigned char]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
       26 |   auto suppressed = suppressed_t.data<uint8_t>();
          |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
    In file included from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:2:
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
      363 |   T * data() const {
          |       ^~~~
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:27:37: warning: ‘T* at::Tensor::data() const [with T = long int]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
       27 |   auto order = order_t.data<int64_t>();
          |                ~~~~~~~~~~~~~~~~~~~~~^~
    In file included from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:2:
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
      363 |   T * data() const {
          |       ^~~~
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:28:8: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
       28 |   auto x1 = x1_t.data<scalar_t>();
          |        ^~
    In file included from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:2:
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
      363 |   T * data() const {
          |       ^~~~
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:29:8: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
       29 |   auto y1 = y1_t.data<scalar_t>();
          |        ^~
    In file included from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:2:
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
      363 |   T * data() const {
          |       ^~~~
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:30:8: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
       30 |   auto x2 = x2_t.data<scalar_t>();
          |        ^~
    In file included from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:2:
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
      363 |   T * data() const {
          |       ^~~~
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:31:8: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
       31 |   auto y2 = y2_t.data<scalar_t>();
          |        ^~
    In file included from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:2:
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
      363 |   T * data() const {
          |       ^~~~
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:32:8: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. [-Wdeprecated-declarations]
       32 |   auto areas = areas_t.data<scalar_t>();
          |        ^~~~~
    In file included from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cpu.cpp:2:
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
      363 |   T * data() const {
          |       ^~~~
    g++ -pthread -shared -B /home/sueyeon/anaconda3/envs/mmdetection/compiler_compat -L/home/sueyeon/anaconda3/envs/mmdetection/lib -Wl,-rpath=/home/sueyeon/anaconda3/envs/mmdetection/lib -Wl,--no-as-needed -Wl,--sysroot=/ /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/build/temp.linux-x86_64-3.7/mmdet/ops/nms/src/nms_cpu.o -L/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/lib -L/usr/local/cuda/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda -o build/lib.linux-x86_64-3.7/mmdet/ops/nms/nms_cpu.cpython-37m-x86_64-linux-gnu.so
    building 'mmdet.ops.nms.nms_cuda' extension
    Emitting ninja build file /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/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/2] c++ -MMD -MF /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/build/temp.linux-x86_64-3.7/mmdet/ops/nms/src/nms_cuda.o.d -pthread -B /home/sueyeon/anaconda3/envs/mmdetection/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include -I/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/TH -I/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/sueyeon/anaconda3/envs/mmdetection/include/python3.7m -c -c /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cuda.cpp -o /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/build/temp.linux-x86_64-3.7/mmdet/ops/nms/src/nms_cuda.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=nms_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
    FAILED: /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/build/temp.linux-x86_64-3.7/mmdet/ops/nms/src/nms_cuda.o
    c++ -MMD -MF /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/build/temp.linux-x86_64-3.7/mmdet/ops/nms/src/nms_cuda.o.d -pthread -B /home/sueyeon/anaconda3/envs/mmdetection/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include -I/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/TH -I/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/sueyeon/anaconda3/envs/mmdetection/include/python3.7m -c -c /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cuda.cpp -o /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/build/temp.linux-x86_64-3.7/mmdet/ops/nms/src/nms_cuda.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=nms_cuda -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/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cuda.cpp:2:
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/ParallelOpenMP.h:84: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
       84 | #pragma omp parallel for if ((end - begin) >= grain_size)
          |
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cuda.cpp: In function ‘at::Tensor nms(const at::Tensor&, float)’:
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cuda.cpp:4:39: 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]
        4 | #define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x, " must be a CUDAtensor ")
          |                                       ^
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cuda.cpp:9:3: note: in expansion of macro ‘CHECK_CUDA’
        9 |   CHECK_CUDA(dets);
          |   ^~~~~~~~~~
    In file included from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
                     from /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cuda.cpp:2:
    /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
      277 |   DeprecatedTypeProperties & type() const {
          |                              ^~~~
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cuda.cpp:4:23: error: ‘AT_CHECK’ was not declared in this scope; did you mean ‘DCHECK’?
        4 | #define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x, " must be a CUDAtensor ")
          |                       ^~~~~~~~
    /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_cuda.cpp:9:3: note: in expansion of macro ‘CHECK_CUDA’
        9 |   CHECK_CUDA(dets);
          |   ^~~~~~~~~~
    [2/2] /usr/local/cuda/bin/nvcc -I/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include -I/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/TH -I/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/sueyeon/anaconda3/envs/mmdetection/include/python3.7m -c -c /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/mmdet/ops/nms/src/nms_kernel.cu -o /mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/build/temp.linux-x86_64-3.7/mmdet/ops/nms/src/nms_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -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=nms_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
    ninja: build stopped: subcommand failed.
    Traceback (most recent call last):
      File "/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1539, in _run_ninja_build
        env=env)
      File "/home/sueyeon/anaconda3/envs/mmdetection/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 "<string>", line 1, in <module>
      File "/mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/setup.py", line 207, in <module>
        zip_safe=False)
      File "/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/setuptools/__init__.py", line 163, in setup
        return distutils.core.setup(**attrs)
      File "/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/setuptools/command/develop.py", line 38, in run
        self.install_for_development()
      File "/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/setuptools/command/develop.py", line 140, in install_for_development
        self.run_command('build_ext')
      File "/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 87, in run
        _build_ext.run(self)
      File "/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
        _build_ext.build_ext.run(self)
      File "/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/distutils/command/build_ext.py", line 340, in run
        self.build_extensions()
      File "/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 670, in build_extensions
        build_ext.build_extensions(self)
      File "/home/sueyeon/anaconda3/envs/mmdetection/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/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions
        self._build_extensions_serial()
      File "/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial
        self.build_extension(ext)
      File "/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 208, in build_extension
        _build_ext.build_extension(self, ext)
      File "/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/distutils/command/build_ext.py", line 534, in build_extension
        depends=ext.depends)
      File "/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 500, in unix_wrap_ninja_compile
        with_cuda=with_cuda)
      File "/home/sueyeon/anaconda3/envs/mmdetection/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/sueyeon/anaconda3/envs/mmdetection/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
  Rolling back uninstall of mmdet
  Moving to /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/mmdet.egg-link
   from /tmp/pip-uninstall-_5rgv8x5/mmdet.egg-link
  Replacing /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/mmdet.egg-link from /tmp/pip-uninstall-_5rgv8x5/mmdet.egg-link
  Rolling /home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/easy-install.pth back to previous state
ERROR: Command errored out with exit status 1: /home/sueyeon/anaconda3/envs/mmdetection/bin/python3.7 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/setup.py'"'"'; __file__='"'"'/mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.
Exception information:
Traceback (most recent call last):
  File "/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 180, in _main
    status = self.run(options, args)
  File "/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 204, in wrapper
    return func(self, options, args)
  File "/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 402, in run
    pycompile=options.compile,
  File "/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/pip/_internal/req/__init__.py", line 85, in install_given_reqs
    pycompile=pycompile,
  File "/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 768, in install
    unpacked_source_directory=self.unpacked_source_directory,
  File "/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/pip/_internal/operations/install/editable_legacy.py", line 46, in install_editable
    cwd=unpacked_source_directory,
  File "/home/sueyeon/anaconda3/envs/mmdetection/lib/python3.7/site-packages/pip/_internal/utils/subprocess.py", line 244, in call_subprocess
    raise InstallationSubprocessError(proc.returncode, command_desc)
pip._internal.exceptions.InstallationSubprocessError: Command errored out with exit status 1: /home/sueyeon/anaconda3/envs/mmdetection/bin/python3.7 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/setup.py'"'"'; __file__='"'"'/mnt/SueDrive/Projects/IoU/IoU-Uniform-R-CNN/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.
Removed build tracker: '/tmp/pip-req-tracker-7dpg2tnf'

Could you let me know how to install mmdet of previous version?
Is it too old to be installed?

Please follow the issue template to provide more info such as cuda version etc.

I can't run mmdet/utils/collec_env.py since I can't install mmdet.
I'm trying to install mmdet that suits 1.0rc0 version...
gcc (Ubuntu 8.4.0-3ubuntu2) 8.4.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Python 3.7.11
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Sun_Jul_28_19:07:16_PDT_2019
Cuda compilation tools, release 10.1, V10.1.243
CUDA available: True
GPU 0,1: TITAN Xp
$CUDA_HOME
/usr/local/cuda
mmcv                      1.3.18                   pypi_0    pypi
mmcv-full                 1.0rc0                   pypi_0    pypi
pytorch                   1.6.0           py3.7_cuda10.1.243_cudnn7.6.3_0    pytorch
torchvision               0.7.0                py37_cu101    pytorch

1.6.0

mmdet 1.0rc0  is too old and may not support torch 1.6.0 and cuda10.1.


runtime: use c-shared library in go crashes the program

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.7.4 linux/amd64
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH=""
GORACE=""
GOROOT="/home/zhaozq/src/go"
GOTOOLDIR="/home/zhaozq/src/go/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build985148074=/tmp/go-build"
CXX="g++"
CGO_ENABLED="1"
What did you do?
I write a program using cgo. the program has two go files.
----lib.go
package main
import "C"
func main() {}
//export gosub
func gosub() {}
----main.go
package main
/*
#cgo LDFLAGS: -L. -lgo -Xlinker -rpath=.
void gosub();
void csub() { gosub(); }
*/
import "C"
func main() {
C.csub()
}
----makefile
all:
go build -buildmode=c-shared -o libgo.so lib.go
go build -o main main.go
What did you expect to see?
When I run this program, I got
runtime: address space conflict: map(0xc420000000) = 0x7fa04b035000
fatal error: runtime: address space conflict
runtime stack:
runtime.throw(0x46d348, 0x1f)
/home/zhaozq/src/go/src/runtime/panic.go:566 +0x95 fp=0x7fff23243840 sp=0x7fff23243820
runtime.sysMap(0xc420000000, 0x100000, 0x0, 0x6b9438)
/home/zhaozq/src/go/src/runtime/mem_linux.go:223 +0x1b5 fp=0x7fff23243880 sp=0x7fff23243840
runtime.(*mheap).sysAlloc(0x6a0de0, 0x100000, 0x3d00000001)
/home/zhaozq/src/go/src/runtime/malloc.go:407 +0x37a fp=0x7fff23243908 sp=0x7fff23243880
runtime.(*mheap).grow(0x6a0de0, 0x1, 0x0)
/home/zhaozq/src/go/src/runtime/mheap.go:726 +0x62 fp=0x7fff23243968 sp=0x7fff23243908
runtime.(*mheap).allocSpanLocked(0x6a0de0, 0x1, 0x8f0002764a)
/home/zhaozq/src/go/src/runtime/mheap.go:630 +0x4f2 fp=0x7fff232439c0 sp=0x7fff23243968
runtime.(*mheap).alloc_m(0x6a0de0, 0x1, 0x16, 0x0)
/home/zhaozq/src/go/src/runtime/mheap.go:515 +0xe0 fp=0x7fff232439f8 sp=0x7fff232439c0
runtime.(*mheap).alloc.func1()
/home/zhaozq/src/go/src/runtime/mheap.go:579 +0x4b fp=0x7fff23243a30 sp=0x7fff232439f8
runtime.systemstack(0x7fff23243a50)
/home/zhaozq/src/go/src/runtime/asm_amd64.s:314 +0xab fp=0x7fff23243a38 sp=0x7fff23243a30
runtime.(*mheap).alloc(0x6a0de0, 0x1, 0x10000000016, 0x409e39)
/home/zhaozq/src/go/src/runtime/mheap.go:580 +0x73 fp=0x7fff23243a88 sp=0x7fff23243a38
runtime.(*mcentral).grow(0x6a2a50, 0x0)
/home/zhaozq/src/go/src/runtime/mcentral.go:210 +0x94 fp=0x7fff23243ad0 sp=0x7fff23243a88
runtime.(*mcentral).cacheSpan(0x6a2a50, 0x40fe96)
/home/zhaozq/src/go/src/runtime/mcentral.go:91 +0xfa fp=0x7fff23243b20 sp=0x7fff23243ad0
runtime.(*mcache).refill(0x7fa04b145000, 0x16, 0x6b94a0)
/home/zhaozq/src/go/src/runtime/mcache.go:121 +0xae fp=0x7fff23243b60 sp=0x7fff23243b20
runtime.(*mcache).nextFree.func1()
/home/zhaozq/src/go/src/runtime/malloc.go:505 +0x33 fp=0x7fff23243b88 sp=0x7fff23243b60
runtime.systemstack(0x7fff23243bc0)
/home/zhaozq/src/go/src/runtime/asm_amd64.s:314 +0xab fp=0x7fff23243b90 sp=0x7fff23243b88
runtime.(*mcache).nextFree(0x7fa04b145000, 0x7fff23243c16, 0x7fa04b145000, 0x4433f0, 0x7fff23243bf8)
/home/zhaozq/src/go/src/runtime/malloc.go:506 +0xb2 fp=0x7fff23243be8 sp=0x7fff23243b90
runtime.mallocgc(0x1a0, 0x469580, 0x40a601, 0x7fa04b145000)
/home/zhaozq/src/go/src/runtime/malloc.go:658 +0x809 fp=0x7fff23243c88 sp=0x7fff23243be8
runtime.newobject(0x469580, 0x49a6f8)
/home/zhaozq/src/go/src/runtime/malloc.go:785 +0x38 fp=0x7fff23243cb8 sp=0x7fff23243c88
runtime.malg(0x400008000, 0x27100045c120)
/home/zhaozq/src/go/src/runtime/proc.go:2688 +0x31 fp=0x7fff23243cf8 sp=0x7fff23243cb8
runtime.mpreinit(0x69e260)
/home/zhaozq/src/go/src/runtime/os_linux.go:261 +0x2d fp=0x7fff23243d18 sp=0x7fff23243cf8
runtime.mcommoninit(0x69e260)
/home/zhaozq/src/go/src/runtime/proc.go:507 +0xe3 fp=0x7fff23243d50 sp=0x7fff23243d18
runtime.schedinit()
/home/zhaozq/src/go/src/runtime/proc.go:441 +0x5f fp=0x7fff23243d90 sp=0x7fff23243d50
runtime.rt0_go(0x7fff23243e98, 0x1, 0x7fff23243e98, 0x0, 0x3d5aa1ecdd, 0x0, 0x7fff23243e98, 0x100000000, 0x44d360, 0x0, ...)
/home/zhaozq/src/go/src/runtime/asm_amd64.s:145 +0x14f fp=0x7fff23243d98 sp=0x7fff23243d90
From my understand, there are runtime started, so something conflicts. But when I run it use version linux/386, it's OK.

Why do you want to do this?
Note that the 1.8 release has an experimental plugin package.

Because I find someelse wanting to the current C codes use this. When they use cgo to a C lib, but the C library maybe use another Go library. This is the case of go-c-go. Packing the go functions that C will call is easy to control. Then people will pack the C codes to a library for go to use. In this case, crash error occurs. I investgated it and found two Go runtime occur.
Another question: is there a tool that convert C to Go?

 I'm not sure if that's at all expected to work; however, the actual failure mode is subtler. As far as I can tell, libgo.so is getting initialized first.  Then we get to the main binary runtime initialization, which happens on the main thread. The two initializations actually wind up racing with each other and attempting to claim the same region of the address space. We have a mechanism to avoid address space collisions during heap initialization, but it's only reliable if the address space itself isn't changing (there's no race-free way to do this in POSIX). So, both runtimes see that the same part of the address space is free, both claim it, and then on the first allocation realize their folly.
@ianlancetaylor, why is it that we do library runtime initialization on a thread? If it must be done on a thread, would it make sense to join on that thread before returning from shared object initialization?

We do not support multiple Go runtimes in a single process.  While in principle it could perhaps be made to work, it does not work today and there are no plans to ever make it work.  Yes, it's true that this means that if a C library uses a Go library, then you have to be aware of that if you want to call that C library from a Go program.  That is unfortunate but realistically it can not be avoided.
@aclements When building in c-archive or c-shared mode we initialize the Go runtime from a thread because initialization includes running all the variable initializers and init functions.  It could do an arbitrary amount of work and there is no reason to delay overall program startup for it.  That is particularly true given that this work was driven primarily by the mobile project which is even more sensitive to program startup time.  Instead, when C code calls a Go function, we block at that point until Go initialization is complete.
I'm going to close this issue because there is no realistic prospect of fixing it.  When I originally added the 1.9 label I misunderstand the problem.

I'm not sure this bug is limited to this go-c-go case. We have a Haskell library (https://github.com/dfinity/hs-revolver) that calls functions from a Go built c-archive. We are experiencing the exact same error.

@enzoh, if your issue is happening because there are multiple Go runtimes in the same process, then, as @ianlancetaylor said, that's not a supported configuration. But it sounds more likely that you actually have a different issue that's resulting in the same error, in which case you should file a new issue. Thanks!

@aclements Any chance https://go-review.googlesource.com/c/go/+/85887 will get merged before the February release?

Any chance https://go-review.googlesource.com/c/go/+/85887 will get merged before the February release?

Nope. That's slated for Go 1.11.


How's Pixel 2 not XL support?

Sorry for this question

I have build #!os with pixel 2 and tested on a device recently. Closing this but feel free to reopen if there are any issues.

Great then! I too will try that


[Eco news] Extra page in pagination.

Environment: OS: Windows 10, Browser: Google Chrome 89.0.4389.114.
Reproducible: Always
Build found: 04.05.2021
Steps to reproduce

Click on 'Eco News' tab
Click on news with 7 pages of comments/replies ('https://ita-social-projects.github.io/GreenCityClient/#/news/11252')

Actual result
Page numbers are placed in order: '1', '2', '3', '4', '...', '7'
Expected result
Page numbers are placed in order: '1', '2', '3', '...', '7'

User story and test case links
User story: #767
Test case: https://jira.softserve.academy/browse/GC-902

The issue is still not resolved


feat(tx-420) - alican/payment method change from review step

The type of this PR is: Feat
This PR solves TX-420
Description
This PR allows that when a buyer changes payment method in the review step and goes back to the payment step, they see their unsaved bank account pre-selected.
https://user-images.githubusercontent.com/42584148/188600027-20554121-3e8e-4d9e-ab60-9cc063e54fcc.mov

@AlicanAkyuz - that peril bot is gonna keep complaining on every PR until the title is formatted exactly as it expects :)
chore(context): Description


Immutable Component Config (SRC-107)

Discussion:
https://community.starknet.io/t/immutable-component-config/114434
Abstract
This standard proposes a mechanism to allow setting components’ configurable constants in the implementing contracts
without needing to save them in storage. Component providers can leverage this standard to make them configurable while
keeping the constants hardcoded in the bytecode, removing the extra storage reads required if storage were to be used for
this matter.
SNIP number
I followed the PR number pattern to assign 107.

@amanusk If I recall correctly you are also a maintainer of this repo now? tagging you for review in case that is correct. cc @ArielElp

Hey @ericnordelo can you add the mandatory section "Rationale" (IMO you could simply rename the section "Motivation" which is optional) and "Security considerations"?
Also tagging @ArielElp in case there are comments to address before merging to main

Hey @leo-starkware, sorry for the delay. Updates applied!

What is the rationale behind the 23? It is not easier to track SNIPs by the PR number (like EIPs) so they can be safely referenced when they are drafts? We are also already referencing this in the library as SRC-107.


Command gets passed to other directive

Deployment Type
Docker
Version
v2.0.4
Steps to Reproduce
Use the config below. When running the command: "Route" when entering ip <IP_ADDRESS> I get the error:
error: No routing tables matching specification.
This the error if I were to enter this ip in the command: "Route Table"
Expected Behavior
command should be run for correct directive
Observed Behavior
error: No routing tables matching specification.
Configuration
org_name: Citymesh
primary_asn: 199095
site_title: Citymesh - Looking Glass
web:
  location_display_mode: dropdown
  menus:
    - title: Help
      content: /etc/hyperglass/descriptions/help.md
      side: left
      order: 0
  links:
    - title: CM PeeringDB
      url: https://as199095.peeringdb.net/
      show_icon: false
      side: left
    - title: Netbox
      url: https://netbox.citymesh
      show_icon: false
      side: left
    - title: Juniper Grafana
      url: https://dashboard.citymesh
      show_icon: false
      side: left

Devices
devices:
  # Switches - Central Services - POP
  - name: CSBEZAVITXSW01
    group: 01 - Central Services - POP
    address: <IP_ADDRESS>
    port: 1830
    credential:
      username: hyperglass
      key: /etc/hyperglass/juniper_key.pem
    platform: juniper
    directives:
      - builtins: false
      - show-route
      - show-route-table

Logs
DIRECTIVES:

## ROUTE
show-route:
  name: Route
  info: /etc/hyperglass/descriptions/route.md
  rules:
    - condition: <IP_ADDRESS>/0
      command: show route {target}
    - condition: ::/0
      command: show route {target}
  field:
    description: ipv4 of ipv6 address

show-route-table:
  name: Route Table
  info: /etc/hyperglass/descriptions/table.md
  rules:
    - condition: ""
      command: show route table {target}
  field:
    description: VRF name
    options:
      - value: "inet"
        name: "Underlay"
      - value: "public"
        name: "Public VRF"

Removed all config and pushed it again through ansible, now it is working.


Automatic Quantity Increase Beyond Ordered Quantity When Adjusting Transfer Order Product Quantity During Shipment Creation.

Expected behavior
When adjusting the quantity of a transfer order product during shipment creation, the system should enforce validation to prevent the quantity from exceeding the initially ordered quantity. Users should not be able to set the quantity beyond the ordered amount, and the system should cap the quantity accordingly.
Steps to reproduce the issue
Log in the App with valid credentials.
Go to Transfer Orders(TO) section and open any TO.
Adjust the quantity of item using up arrow. Set it to number which is more than the ordered quantity.(If not replicated, then adjust the quantity to 1 using down arrow and then again increase it using up arrow)
Environment details
App version: TRANSFER-ORDER-UI-451FBD7
App Environment: UAT
Additional information
https://jam.dev/c/ce63302f-46c5-498b-805a-fa7378e3db06

This issue has been fixed in the following PR - https://github.com/hotwax/fulfillment-pwa/pull/432


Potentially Unclaimable Star Upon Losing Tokens

UTR-04 Potentially Unclaimable Star Upon Losing Tokens
Asset Treasury.sol
Status Open
Rating Informational
Description
The Treasury contract requires a fixed amount of 1e18 STAR tokens to redeem a star asset. Since STAR tokens
are only minted when users deposit stars, the amount of tokens held by the Treasury must be 1e18 multiplied
by Treasury ’s asset count (equal to the number of deposited stars). That way, when all stars are redeemed, the
total balance of STAR equals to zero.
This coupling between Treasury and STAR tokens means that if even one token is lost, i.e. sent to an address
without a known related private key, then there should be at least one unclaimable star in the Treasury ’s asset.
Recommendations
Make sure this behaviour is intended.

Behavior is intended.


support nil logger

This feature has been implemented in solid_queue gem (https://github.com/rails/solid_queue/pull/175)
I replicated the implementation for this gem.
FIxes rails/solid_cable/issues/38

@npezza93
To better reflect the intent of asserting that no exceptions are raised, I changed the test name to indicate that we are specifically testing for the absence of errors when there's no Active Record logger. Also, I ensure that the message is successfully broadcast to the queue. This approach ensures that the test covers the intended behavior without diving into private methods and focuses on preventing exceptions.


Access blocked: Nest’s request is invalid

The problem
When click on the authorize your account link I get a message saying Access blocked: Nest’s request is invalid
You can’t sign in because Nest sent an invalid request. You can try again later, or contact the developer about this issue. Learn more about this error
If you are a developer of Nest, see error details.
Error 400: invalid_request
What version of this integration (ha-nest-protect) has the issue?
0.3.11
What version of Home Assistant Core has the issue?
2023.2.4
Device / Model
nest battery
Diagnostics information
No response
Home Assistant log
No response
Additional information
No response

Duplicate of #105. (which I accidentally closed).

Same issue here

Same issue here

Hi, I have same issue - is this likely to get resolved?

See the linked issue. You will need the latest beta version.


Docs preview does not render zones

It's difficult to author docs that use zones because the preview feature does not show the UI as it would appear once published.
For example, consider this:
:::zone pivot="windows"
// some VS content
:::zone-end
:::zone pivot="win-vs2017"
// some 2017 content
:::zone-end
:::zone pivot="macos"
// some macOS content
:::zone-end

I'd expect the preview to render this at the top and it behave similarly to what shows up when published

AB#280461

This will be included in build-based local preview. ETA FY21 H2.