daodaofr / AlignPS

Code for CVPR 2021 paper: Anchor-Free Person Search
Apache License 2.0
167 stars 34 forks source link

error when installing mmcv #5

Closed linxiangyulxy closed 3 years ago

linxiangyulxy commented 3 years ago

Thanks for your error report and we appreciate it a lot.

Checklist

  1. I have searched related issues but cannot get the expected help.
  2. The bug has not been fixed in the latest version.

Describe the bug A clear and concise description of what the bug is.

Reproduction

  1. What command or script did you run?
    pip install mmcv-full==1.1.5 -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.7.0/index.html
  2. Did you make any modifications on the code or config? Did you understand what you have modified?
  3. What dataset did you use?

Environment

Ubuntu 20.04.1 GeForce GTX 1080 Ti nvidia driver: 460.56 pytorch: 1.7.0 cuda: 10.1 cudnn: 7.6.5 gcc version: 7.5.0 g++ version 7.5.0

Error traceback If applicable, paste the error trackback here.

Building wheel for mmcv-full (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/ajay/anaconda3/envs/AlignPS/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/setup.py'"'"'; __file__='"'"'/tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-2hoh9h7m
       cwd: /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/
  Complete output (414 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.7
  creating build/lib.linux-x86_64-3.7/mmcv
  copying mmcv/version.py -> build/lib.linux-x86_64-3.7/mmcv
  copying mmcv/__init__.py -> build/lib.linux-x86_64-3.7/mmcv
  creating build/lib.linux-x86_64-3.7/mmcv/ops
  copying mmcv/ops/roi_pool.py -> build/lib.linux-x86_64-3.7/mmcv/ops
  copying mmcv/ops/cc_attention.py -> build/lib.linux-x86_64-3.7/mmcv/ops
  copying mmcv/ops/deprecated_wrappers.py -> build/lib.linux-x86_64-3.7/mmcv/ops
  copying mmcv/ops/focal_loss.py -> build/lib.linux-x86_64-3.7/mmcv/ops
  copying mmcv/ops/sync_bn.py -> build/lib.linux-x86_64-3.7/mmcv/ops
  copying mmcv/ops/carafe.py -> build/lib.linux-x86_64-3.7/mmcv/ops
  copying mmcv/ops/saconv.py -> build/lib.linux-x86_64-3.7/mmcv/ops
  copying mmcv/ops/roi_align.py -> build/lib.linux-x86_64-3.7/mmcv/ops
  copying mmcv/ops/merge_cells.py -> build/lib.linux-x86_64-3.7/mmcv/ops
  copying mmcv/ops/deform_conv.py -> build/lib.linux-x86_64-3.7/mmcv/ops
  copying mmcv/ops/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/ops
  copying mmcv/ops/bbox.py -> build/lib.linux-x86_64-3.7/mmcv/ops
  copying mmcv/ops/tin_shift.py -> build/lib.linux-x86_64-3.7/mmcv/ops
  copying mmcv/ops/nms.py -> build/lib.linux-x86_64-3.7/mmcv/ops
  copying mmcv/ops/psa_mask.py -> build/lib.linux-x86_64-3.7/mmcv/ops
  copying mmcv/ops/deform_roi_pool.py -> build/lib.linux-x86_64-3.7/mmcv/ops
  copying mmcv/ops/masked_conv.py -> build/lib.linux-x86_64-3.7/mmcv/ops
  copying mmcv/ops/point_sample.py -> build/lib.linux-x86_64-3.7/mmcv/ops
  copying mmcv/ops/corner_pool.py -> build/lib.linux-x86_64-3.7/mmcv/ops
  copying mmcv/ops/modulated_deform_conv.py -> build/lib.linux-x86_64-3.7/mmcv/ops
  copying mmcv/ops/info.py -> build/lib.linux-x86_64-3.7/mmcv/ops
  creating build/lib.linux-x86_64-3.7/mmcv/fileio
  copying mmcv/fileio/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/fileio
  copying mmcv/fileio/parse.py -> build/lib.linux-x86_64-3.7/mmcv/fileio
  copying mmcv/fileio/io.py -> build/lib.linux-x86_64-3.7/mmcv/fileio
  copying mmcv/fileio/file_client.py -> build/lib.linux-x86_64-3.7/mmcv/fileio
  creating build/lib.linux-x86_64-3.7/mmcv/runner
  copying mmcv/runner/log_buffer.py -> build/lib.linux-x86_64-3.7/mmcv/runner
  copying mmcv/runner/dist_utils.py -> build/lib.linux-x86_64-3.7/mmcv/runner
  copying mmcv/runner/iter_based_runner.py -> build/lib.linux-x86_64-3.7/mmcv/runner
  copying mmcv/runner/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/runner
  copying mmcv/runner/epoch_based_runner.py -> build/lib.linux-x86_64-3.7/mmcv/runner
  copying mmcv/runner/priority.py -> build/lib.linux-x86_64-3.7/mmcv/runner
  copying mmcv/runner/utils.py -> build/lib.linux-x86_64-3.7/mmcv/runner
  copying mmcv/runner/builder.py -> build/lib.linux-x86_64-3.7/mmcv/runner
  copying mmcv/runner/checkpoint.py -> build/lib.linux-x86_64-3.7/mmcv/runner
  copying mmcv/runner/fp16_utils.py -> build/lib.linux-x86_64-3.7/mmcv/runner
  copying mmcv/runner/base_runner.py -> build/lib.linux-x86_64-3.7/mmcv/runner
  creating build/lib.linux-x86_64-3.7/mmcv/image
  copying mmcv/image/geometric.py -> build/lib.linux-x86_64-3.7/mmcv/image
  copying mmcv/image/colorspace.py -> build/lib.linux-x86_64-3.7/mmcv/image
  copying mmcv/image/photometric.py -> build/lib.linux-x86_64-3.7/mmcv/image
  copying mmcv/image/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/image
  copying mmcv/image/io.py -> build/lib.linux-x86_64-3.7/mmcv/image
  copying mmcv/image/misc.py -> build/lib.linux-x86_64-3.7/mmcv/image
  creating build/lib.linux-x86_64-3.7/mmcv/utils
  copying mmcv/utils/config.py -> build/lib.linux-x86_64-3.7/mmcv/utils
  copying mmcv/utils/version_utils.py -> build/lib.linux-x86_64-3.7/mmcv/utils
  copying mmcv/utils/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/utils
  copying mmcv/utils/timer.py -> build/lib.linux-x86_64-3.7/mmcv/utils
  copying mmcv/utils/logging.py -> build/lib.linux-x86_64-3.7/mmcv/utils
  copying mmcv/utils/env.py -> build/lib.linux-x86_64-3.7/mmcv/utils
  copying mmcv/utils/progressbar.py -> build/lib.linux-x86_64-3.7/mmcv/utils
  copying mmcv/utils/ext_loader.py -> build/lib.linux-x86_64-3.7/mmcv/utils
  copying mmcv/utils/path.py -> build/lib.linux-x86_64-3.7/mmcv/utils
  copying mmcv/utils/parrots_wrapper.py -> build/lib.linux-x86_64-3.7/mmcv/utils
  copying mmcv/utils/misc.py -> build/lib.linux-x86_64-3.7/mmcv/utils
  copying mmcv/utils/registry.py -> build/lib.linux-x86_64-3.7/mmcv/utils
  creating build/lib.linux-x86_64-3.7/mmcv/parallel
  copying mmcv/parallel/data_parallel.py -> build/lib.linux-x86_64-3.7/mmcv/parallel
  copying mmcv/parallel/data_container.py -> build/lib.linux-x86_64-3.7/mmcv/parallel
  copying mmcv/parallel/_functions.py -> build/lib.linux-x86_64-3.7/mmcv/parallel
  copying mmcv/parallel/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/parallel
  copying mmcv/parallel/collate.py -> build/lib.linux-x86_64-3.7/mmcv/parallel
  copying mmcv/parallel/distributed_deprecated.py -> build/lib.linux-x86_64-3.7/mmcv/parallel
  copying mmcv/parallel/distributed.py -> build/lib.linux-x86_64-3.7/mmcv/parallel
  copying mmcv/parallel/utils.py -> build/lib.linux-x86_64-3.7/mmcv/parallel
  copying mmcv/parallel/registry.py -> build/lib.linux-x86_64-3.7/mmcv/parallel
  copying mmcv/parallel/scatter_gather.py -> build/lib.linux-x86_64-3.7/mmcv/parallel
  creating build/lib.linux-x86_64-3.7/mmcv/cnn
  copying mmcv/cnn/resnet.py -> build/lib.linux-x86_64-3.7/mmcv/cnn
  copying mmcv/cnn/vgg.py -> build/lib.linux-x86_64-3.7/mmcv/cnn
  copying mmcv/cnn/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/cnn
  copying mmcv/cnn/alexnet.py -> build/lib.linux-x86_64-3.7/mmcv/cnn
  creating build/lib.linux-x86_64-3.7/mmcv/video
  copying mmcv/video/processing.py -> build/lib.linux-x86_64-3.7/mmcv/video
  copying mmcv/video/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/video
  copying mmcv/video/io.py -> build/lib.linux-x86_64-3.7/mmcv/video
  copying mmcv/video/optflow.py -> build/lib.linux-x86_64-3.7/mmcv/video
  creating build/lib.linux-x86_64-3.7/mmcv/visualization
  copying mmcv/visualization/image.py -> build/lib.linux-x86_64-3.7/mmcv/visualization
  copying mmcv/visualization/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/visualization
  copying mmcv/visualization/color.py -> build/lib.linux-x86_64-3.7/mmcv/visualization
  copying mmcv/visualization/optflow.py -> build/lib.linux-x86_64-3.7/mmcv/visualization
  creating build/lib.linux-x86_64-3.7/mmcv/arraymisc
  copying mmcv/arraymisc/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/arraymisc
  copying mmcv/arraymisc/quantization.py -> build/lib.linux-x86_64-3.7/mmcv/arraymisc
  creating build/lib.linux-x86_64-3.7/mmcv/onnx
  copying mmcv/onnx/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/onnx
  copying mmcv/onnx/symbolic.py -> build/lib.linux-x86_64-3.7/mmcv/onnx
  creating build/lib.linux-x86_64-3.7/mmcv/fileio/handlers
  copying mmcv/fileio/handlers/yaml_handler.py -> build/lib.linux-x86_64-3.7/mmcv/fileio/handlers
  copying mmcv/fileio/handlers/base.py -> build/lib.linux-x86_64-3.7/mmcv/fileio/handlers
  copying mmcv/fileio/handlers/json_handler.py -> build/lib.linux-x86_64-3.7/mmcv/fileio/handlers
  copying mmcv/fileio/handlers/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/fileio/handlers
  copying mmcv/fileio/handlers/pickle_handler.py -> build/lib.linux-x86_64-3.7/mmcv/fileio/handlers
  creating build/lib.linux-x86_64-3.7/mmcv/runner/hooks
  copying mmcv/runner/hooks/iter_timer.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks
  copying mmcv/runner/hooks/sampler_seed.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks
  copying mmcv/runner/hooks/optimizer.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks
  copying mmcv/runner/hooks/momentum_updater.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks
  copying mmcv/runner/hooks/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks
  copying mmcv/runner/hooks/ema.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks
  copying mmcv/runner/hooks/sync_buffer.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks
  copying mmcv/runner/hooks/hook.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks
  copying mmcv/runner/hooks/checkpoint.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks
  copying mmcv/runner/hooks/memory.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks
  copying mmcv/runner/hooks/closure.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks
  copying mmcv/runner/hooks/lr_updater.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks
  creating build/lib.linux-x86_64-3.7/mmcv/runner/optimizer
  copying mmcv/runner/optimizer/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/runner/optimizer
  copying mmcv/runner/optimizer/default_constructor.py -> build/lib.linux-x86_64-3.7/mmcv/runner/optimizer
  copying mmcv/runner/optimizer/builder.py -> build/lib.linux-x86_64-3.7/mmcv/runner/optimizer
  creating build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger
  copying mmcv/runner/hooks/logger/pavi.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger
  copying mmcv/runner/hooks/logger/wandb.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger
  copying mmcv/runner/hooks/logger/base.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger
  copying mmcv/runner/hooks/logger/tensorboard.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger
  copying mmcv/runner/hooks/logger/mlflow.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger
  copying mmcv/runner/hooks/logger/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger
  copying mmcv/runner/hooks/logger/text.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger
  creating build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/generalized_attention.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/conv.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/context_block.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/conv2d_adaptive_padding.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/conv_module.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/padding.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/non_local.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/norm.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/hswish.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/conv_ws.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/wrappers.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/activation.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/depthwise_separable_conv_module.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/plugin.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/hsigmoid.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/swish.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/registry.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/upsample.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
  copying mmcv/cnn/bricks/scale.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
  creating build/lib.linux-x86_64-3.7/mmcv/cnn/utils
  copying mmcv/cnn/utils/fuse_conv_bn.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/utils
  copying mmcv/cnn/utils/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/utils
  copying mmcv/cnn/utils/weight_init.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/utils
  copying mmcv/cnn/utils/flops_counter.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/utils
  creating build/lib.linux-x86_64-3.7/mmcv/video/optflow_warp
  copying mmcv/video/optflow_warp/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/video/optflow_warp
  creating build/lib.linux-x86_64-3.7/mmcv/onnx/onnx_utils
  copying mmcv/onnx/onnx_utils/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/onnx/onnx_utils
  copying mmcv/onnx/onnx_utils/symbolic_helper.py -> build/lib.linux-x86_64-3.7/mmcv/onnx/onnx_utils
  running egg_info
  writing mmcv_full.egg-info/PKG-INFO
  writing dependency_links to mmcv_full.egg-info/dependency_links.txt
  writing requirements to mmcv_full.egg-info/requires.txt
  writing top-level names to mmcv_full.egg-info/top_level.txt
  reading manifest file 'mmcv_full.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  writing manifest file 'mmcv_full.egg-info/SOURCES.txt'
  creating build/lib.linux-x86_64-3.7/mmcv/model_zoo
  copying mmcv/model_zoo/deprecated.json -> build/lib.linux-x86_64-3.7/mmcv/model_zoo
  copying mmcv/model_zoo/mmcls.json -> build/lib.linux-x86_64-3.7/mmcv/model_zoo
  copying mmcv/model_zoo/open_mmlab.json -> build/lib.linux-x86_64-3.7/mmcv/model_zoo
  creating build/lib.linux-x86_64-3.7/mmcv/ops/csrc
  copying mmcv/ops/csrc/bbox_overlaps_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
  copying mmcv/ops/csrc/carafe_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
  copying mmcv/ops/csrc/carafe_naive_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
  copying mmcv/ops/csrc/cc_attention_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
  copying mmcv/ops/csrc/common_cuda_helper.hpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
  copying mmcv/ops/csrc/deform_conv_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
  copying mmcv/ops/csrc/deform_roi_pool_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
  copying mmcv/ops/csrc/masked_conv2d_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
  copying mmcv/ops/csrc/modulated_deform_conv_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
  copying mmcv/ops/csrc/nms_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
  copying mmcv/ops/csrc/parrots_cpp_helper.hpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
  copying mmcv/ops/csrc/parrots_cuda_helper.hpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
  copying mmcv/ops/csrc/parrots_cudawarpfunction.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
  copying mmcv/ops/csrc/psamask_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
  copying mmcv/ops/csrc/pytorch_cpp_helper.hpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
  copying mmcv/ops/csrc/pytorch_cuda_helper.hpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
  copying mmcv/ops/csrc/roi_align_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
  copying mmcv/ops/csrc/roi_pool_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
  copying mmcv/ops/csrc/sigmoid_focal_loss_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
  copying mmcv/ops/csrc/softmax_focal_loss_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
  copying mmcv/ops/csrc/sync_bn_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
  copying mmcv/ops/csrc/tin_shift_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
  creating build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/bbox_overlaps.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/bbox_overlaps_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/carafe.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/carafe_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/carafe_naive.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/carafe_naive_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/cc_attention.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/cc_attention_cuda_kernel.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/corner_pool.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/deform_conv.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/deform_conv_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/deform_roi_pool.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/deform_roi_pool_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/focal_loss.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/focal_loss_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/masked_conv2d.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/masked_conv2d_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/modulated_deform_conv.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/modulated_deform_conv_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/nms.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/nms_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/parrots_cpp_helper.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/parrots_cuda_helper.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/psamask.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/psamask_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/roi_align.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/roi_align_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/roi_pool.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/roi_pool_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/sync_bn.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/sync_bn_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/tin_shift.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  copying mmcv/ops/csrc/parrots/tin_shift_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
  creating build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/bbox_overlaps.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/bbox_overlaps_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/carafe.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/carafe_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/carafe_naive.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/carafe_naive_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/cc_attention.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/cc_attention_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/corner_pool.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/deform_conv.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/deform_conv_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/deform_roi_pool.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/deform_roi_pool_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/focal_loss.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/focal_loss_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/info.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/masked_conv2d.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/masked_conv2d_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/modulated_deform_conv.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/modulated_deform_conv_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/nms.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/nms_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/psamask.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/psamask_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/pybind.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/roi_align.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/roi_align_cpu.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/roi_align_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/roi_pool.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/roi_pool_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/sync_bn.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/sync_bn_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/tin_shift.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/ops/csrc/pytorch/tin_shift_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  copying mmcv/video/optflow_warp/flow_warp.hpp -> build/lib.linux-x86_64-3.7/mmcv/video/optflow_warp
  copying mmcv/video/optflow_warp/flow_warp_module.pyx -> build/lib.linux-x86_64-3.7/mmcv/video/optflow_warp
  running build_ext
  building 'mmcv._flow_warp_ext' extension
  creating /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7
  creating /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv
  creating /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/video
  creating /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/video/optflow_warp
  Emitting ninja build file /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/build.ninja...
  Compiling objects...
  Using envvar MAX_JOBS (4) as the number of workers...
  [1/2] c++ -MMD -MF /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/video/optflow_warp/flow_warp.o.d -pthread -B /home/ajay/anaconda3/envs/AlignPS/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I./mmcv/video/optflow_warp -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/numpy/core/include -I/home/ajay/anaconda3/envs/AlignPS/include/python3.7m -c -c /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/video/optflow_warp/flow_warp.cpp -o /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/video/optflow_warp/flow_warp.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_flow_warp_ext -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++
  [2/2] c++ -MMD -MF /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/video/optflow_warp/flow_warp_module.o.d -pthread -B /home/ajay/anaconda3/envs/AlignPS/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I./mmcv/video/optflow_warp -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/numpy/core/include -I/home/ajay/anaconda3/envs/AlignPS/include/python3.7m -c -c /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/video/optflow_warp/flow_warp_module.cpp -o /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/video/optflow_warp/flow_warp_module.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_flow_warp_ext -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/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:0,
                   from /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                   from /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                   from /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/video/optflow_warp/flow_warp_module.cpp:647:
  /home/ajay/anaconda3/envs/AlignPS/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]
   #warning "Using deprecated NumPy API, disable it with " \
    ^~~~~~~
  g++ -pthread -shared -B /home/ajay/anaconda3/envs/AlignPS/compiler_compat -L/home/ajay/anaconda3/envs/AlignPS/lib -Wl,-rpath=/home/ajay/anaconda3/envs/AlignPS/lib -Wl,--no-as-needed -Wl,--sysroot=/ /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/./mmcv/video/optflow_warp/flow_warp_module.o /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/./mmcv/video/optflow_warp/flow_warp.o -o build/lib.linux-x86_64-3.7/mmcv/_flow_warp_ext.cpython-37m-x86_64-linux-gnu.so
  building 'mmcv._ext' extension
  creating /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops
  creating /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops/csrc
  creating /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
  Emitting ninja build file /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/build.ninja...
  Compiling objects...
  Using envvar MAX_JOBS (4) as the number of workers...
  [1/34] /usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/TH -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/ajay/anaconda3/envs/AlignPS/include/python3.7m -c -c /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc/pytorch/roi_pool_cuda.cu -o /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/roi_pool_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
  FAILED: /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/roi_pool_cuda.o
  /usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/TH -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/ajay/anaconda3/envs/AlignPS/include/python3.7m -c -c /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc/pytorch/roi_pool_cuda.cu -o /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/roi_pool_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
  /usr/include/c++/7/bits/basic_string.tcc: In instantiation of ‘static std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’:
  /usr/include/c++/7/bits/basic_string.tcc:578:28:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&, std::forward_iterator_tag) [with _FwdIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
  /usr/include/c++/7/bits/basic_string.h:5042:20:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct_aux(_InIterator, _InIterator, const _Alloc&, std::__false_type) [with _InIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
  /usr/include/c++/7/bits/basic_string.h:5063:24:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&) [with _InIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
  /usr/include/c++/7/bits/basic_string.tcc:656:134:   required from ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’
  /usr/include/c++/7/bits/basic_string.h:6688:95:   required from here
  /usr/include/c++/7/bits/basic_string.tcc:1067:16: error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_set_sharable() [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’ without object
         __p->_M_set_sharable();
         ~~~~~~~~~^~
  /usr/include/c++/7/bits/basic_string.tcc: In instantiation of ‘static std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’:
  /usr/include/c++/7/bits/basic_string.tcc:578:28:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&, std::forward_iterator_tag) [with _FwdIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
  /usr/include/c++/7/bits/basic_string.h:5042:20:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct_aux(_InIterator, _InIterator, const _Alloc&, std::__false_type) [with _InIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
  /usr/include/c++/7/bits/basic_string.h:5063:24:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&) [with _InIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
  /usr/include/c++/7/bits/basic_string.tcc:656:134:   required from ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’
  /usr/include/c++/7/bits/basic_string.h:6693:95:   required from here
  /usr/include/c++/7/bits/basic_string.tcc:1067:16: error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_set_sharable() [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’ without object
  [2/34] /usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/TH -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/ajay/anaconda3/envs/AlignPS/include/python3.7m -c -c /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc/pytorch/carafe_cuda.cu -o /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/carafe_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
  FAILED: /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/carafe_cuda.o
  /usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/TH -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/ajay/anaconda3/envs/AlignPS/include/python3.7m -c -c /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc/pytorch/carafe_cuda.cu -o /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/carafe_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
  /usr/include/c++/7/bits/basic_string.tcc: In instantiation of ‘static std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’:
  /usr/include/c++/7/bits/basic_string.tcc:578:28:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&, std::forward_iterator_tag) [with _FwdIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
  /usr/include/c++/7/bits/basic_string.h:5042:20:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct_aux(_InIterator, _InIterator, const _Alloc&, std::__false_type) [with _InIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
  /usr/include/c++/7/bits/basic_string.h:5063:24:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&) [with _InIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
  /usr/include/c++/7/bits/basic_string.tcc:656:134:   required from ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’
  /usr/include/c++/7/bits/basic_string.h:6688:95:   required from here
  /usr/include/c++/7/bits/basic_string.tcc:1067:16: error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_set_sharable() [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’ without object
         __p->_M_set_sharable();
         ~~~~~~~~~^~
  /usr/include/c++/7/bits/basic_string.tcc: In instantiation of ‘static std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’:
  /usr/include/c++/7/bits/basic_string.tcc:578:28:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&, std::forward_iterator_tag) [with _FwdIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
  /usr/include/c++/7/bits/basic_string.h:5042:20:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct_aux(_InIterator, _InIterator, const _Alloc&, std::__false_type) [with _InIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
  /usr/include/c++/7/bits/basic_string.h:5063:24:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&) [with _InIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
  /usr/include/c++/7/bits/basic_string.tcc:656:134:   required from ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’
  /usr/include/c++/7/bits/basic_string.h:6693:95:   required from here
  /usr/include/c++/7/bits/basic_string.tcc:1067:16: error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_set_sharable() [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’ without object
  [3/34] c++ -MMD -MF /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/roi_align.o.d -pthread -B /home/ajay/anaconda3/envs/AlignPS/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DMMCV_WITH_CUDA -I/tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/TH -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/ajay/anaconda3/envs/AlignPS/include/python3.7m -c -c /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc/pytorch/roi_align.cpp -o /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/roi_align.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -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/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149:0,
                   from /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                   from /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                   from /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                   from /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
                   from /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                   from /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc/pytorch_cpp_helper.hpp:3,
                   from /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc/pytorch/roi_align.cpp:1:
  /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
   #pragma omp parallel for if ((end - begin) >= grain_size)

  [4/34] c++ -MMD -MF /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/sync_bn.o.d -pthread -B /home/ajay/anaconda3/envs/AlignPS/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DMMCV_WITH_CUDA -I/tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/TH -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/ajay/anaconda3/envs/AlignPS/include/python3.7m -c -c /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc/pytorch/sync_bn.cpp -o /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/sync_bn.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -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/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149:0,
                   from /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                   from /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                   from /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                   from /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
                   from /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                   from /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc/pytorch_cpp_helper.hpp:3,
                   from /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc/pytorch/sync_bn.cpp:1:
  /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
   #pragma omp parallel for if ((end - begin) >= grain_size)

  ninja: build stopped: subcommand failed.
  Traceback (most recent call last):
    File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1522, in _run_ninja_build
      env=env)
    File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/subprocess.py", line 512, in run
      output=stdout, stderr=stderr)
  subprocess.CalledProcessError: Command '['ninja', '-v', '-j', '4']' 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 "/tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/setup.py", line 219, in <module>
      zip_safe=False)
    File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/setuptools/__init__.py", line 153, in setup
      return distutils.core.setup(**attrs)
    File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 299, in run
      self.run_command('build')
    File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 79, in run
      _build_ext.run(self)
    File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/distutils/command/build_ext.py", line 340, in run
      self.build_extensions()
    File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 653, in build_extensions
      build_ext.build_extensions(self)
    File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions
      self._build_extensions_serial()
    File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial
      self.build_extension(ext)
    File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
      _build_ext.build_extension(self, ext)
    File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/distutils/command/build_ext.py", line 534, in build_extension
      depends=ext.depends)
    File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 482, in unix_wrap_ninja_compile
      with_cuda=with_cuda)
    File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1238, in _write_ninja_file_and_compile_objects
      error_prefix='Error compiling objects for extension')
    File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1538, in _run_ninja_build
      raise RuntimeError(message) from e
  RuntimeError: Error compiling objects for extension
  ----------------------------------------
  ERROR: Failed building wheel for mmcv-full
  Running setup.py clean for mmcv-full
Failed to build mmcv-full
Installing collected packages: mmcv-full
    Running setup.py install for mmcv-full ... error
    ERROR: Command errored out with exit status 1:
     command: /home/ajay/anaconda3/envs/AlignPS/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/setup.py'"'"'; __file__='"'"'/tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-h69x7dhk/install-record.txt --single-version-externally-managed --compile --install-headers /home/ajay/anaconda3/envs/AlignPS/include/python3.7m/mmcv-full
         cwd: /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/
    Complete output (416 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.7
    creating build/lib.linux-x86_64-3.7/mmcv
    copying mmcv/version.py -> build/lib.linux-x86_64-3.7/mmcv
    copying mmcv/__init__.py -> build/lib.linux-x86_64-3.7/mmcv
    creating build/lib.linux-x86_64-3.7/mmcv/ops
    copying mmcv/ops/roi_pool.py -> build/lib.linux-x86_64-3.7/mmcv/ops
    copying mmcv/ops/cc_attention.py -> build/lib.linux-x86_64-3.7/mmcv/ops
    copying mmcv/ops/deprecated_wrappers.py -> build/lib.linux-x86_64-3.7/mmcv/ops
    copying mmcv/ops/focal_loss.py -> build/lib.linux-x86_64-3.7/mmcv/ops
    copying mmcv/ops/sync_bn.py -> build/lib.linux-x86_64-3.7/mmcv/ops
    copying mmcv/ops/carafe.py -> build/lib.linux-x86_64-3.7/mmcv/ops
    copying mmcv/ops/saconv.py -> build/lib.linux-x86_64-3.7/mmcv/ops
    copying mmcv/ops/roi_align.py -> build/lib.linux-x86_64-3.7/mmcv/ops
    copying mmcv/ops/merge_cells.py -> build/lib.linux-x86_64-3.7/mmcv/ops
    copying mmcv/ops/deform_conv.py -> build/lib.linux-x86_64-3.7/mmcv/ops
    copying mmcv/ops/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/ops
    copying mmcv/ops/bbox.py -> build/lib.linux-x86_64-3.7/mmcv/ops
    copying mmcv/ops/tin_shift.py -> build/lib.linux-x86_64-3.7/mmcv/ops
    copying mmcv/ops/nms.py -> build/lib.linux-x86_64-3.7/mmcv/ops
    copying mmcv/ops/psa_mask.py -> build/lib.linux-x86_64-3.7/mmcv/ops
    copying mmcv/ops/deform_roi_pool.py -> build/lib.linux-x86_64-3.7/mmcv/ops
    copying mmcv/ops/masked_conv.py -> build/lib.linux-x86_64-3.7/mmcv/ops
    copying mmcv/ops/point_sample.py -> build/lib.linux-x86_64-3.7/mmcv/ops
    copying mmcv/ops/corner_pool.py -> build/lib.linux-x86_64-3.7/mmcv/ops
    copying mmcv/ops/modulated_deform_conv.py -> build/lib.linux-x86_64-3.7/mmcv/ops
    copying mmcv/ops/info.py -> build/lib.linux-x86_64-3.7/mmcv/ops
    creating build/lib.linux-x86_64-3.7/mmcv/fileio
    copying mmcv/fileio/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/fileio
    copying mmcv/fileio/parse.py -> build/lib.linux-x86_64-3.7/mmcv/fileio
    copying mmcv/fileio/io.py -> build/lib.linux-x86_64-3.7/mmcv/fileio
    copying mmcv/fileio/file_client.py -> build/lib.linux-x86_64-3.7/mmcv/fileio
    creating build/lib.linux-x86_64-3.7/mmcv/runner
    copying mmcv/runner/log_buffer.py -> build/lib.linux-x86_64-3.7/mmcv/runner
    copying mmcv/runner/dist_utils.py -> build/lib.linux-x86_64-3.7/mmcv/runner
    copying mmcv/runner/iter_based_runner.py -> build/lib.linux-x86_64-3.7/mmcv/runner
    copying mmcv/runner/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/runner
    copying mmcv/runner/epoch_based_runner.py -> build/lib.linux-x86_64-3.7/mmcv/runner
    copying mmcv/runner/priority.py -> build/lib.linux-x86_64-3.7/mmcv/runner
    copying mmcv/runner/utils.py -> build/lib.linux-x86_64-3.7/mmcv/runner
    copying mmcv/runner/builder.py -> build/lib.linux-x86_64-3.7/mmcv/runner
    copying mmcv/runner/checkpoint.py -> build/lib.linux-x86_64-3.7/mmcv/runner
    copying mmcv/runner/fp16_utils.py -> build/lib.linux-x86_64-3.7/mmcv/runner
    copying mmcv/runner/base_runner.py -> build/lib.linux-x86_64-3.7/mmcv/runner
    creating build/lib.linux-x86_64-3.7/mmcv/image
    copying mmcv/image/geometric.py -> build/lib.linux-x86_64-3.7/mmcv/image
    copying mmcv/image/colorspace.py -> build/lib.linux-x86_64-3.7/mmcv/image
    copying mmcv/image/photometric.py -> build/lib.linux-x86_64-3.7/mmcv/image
    copying mmcv/image/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/image
    copying mmcv/image/io.py -> build/lib.linux-x86_64-3.7/mmcv/image
    copying mmcv/image/misc.py -> build/lib.linux-x86_64-3.7/mmcv/image
    creating build/lib.linux-x86_64-3.7/mmcv/utils
    copying mmcv/utils/config.py -> build/lib.linux-x86_64-3.7/mmcv/utils
    copying mmcv/utils/version_utils.py -> build/lib.linux-x86_64-3.7/mmcv/utils
    copying mmcv/utils/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/utils
    copying mmcv/utils/timer.py -> build/lib.linux-x86_64-3.7/mmcv/utils
    copying mmcv/utils/logging.py -> build/lib.linux-x86_64-3.7/mmcv/utils
    copying mmcv/utils/env.py -> build/lib.linux-x86_64-3.7/mmcv/utils
    copying mmcv/utils/progressbar.py -> build/lib.linux-x86_64-3.7/mmcv/utils
    copying mmcv/utils/ext_loader.py -> build/lib.linux-x86_64-3.7/mmcv/utils
    copying mmcv/utils/path.py -> build/lib.linux-x86_64-3.7/mmcv/utils
    copying mmcv/utils/parrots_wrapper.py -> build/lib.linux-x86_64-3.7/mmcv/utils
    copying mmcv/utils/misc.py -> build/lib.linux-x86_64-3.7/mmcv/utils
    copying mmcv/utils/registry.py -> build/lib.linux-x86_64-3.7/mmcv/utils
    creating build/lib.linux-x86_64-3.7/mmcv/parallel
    copying mmcv/parallel/data_parallel.py -> build/lib.linux-x86_64-3.7/mmcv/parallel
    copying mmcv/parallel/data_container.py -> build/lib.linux-x86_64-3.7/mmcv/parallel
    copying mmcv/parallel/_functions.py -> build/lib.linux-x86_64-3.7/mmcv/parallel
    copying mmcv/parallel/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/parallel
    copying mmcv/parallel/collate.py -> build/lib.linux-x86_64-3.7/mmcv/parallel
    copying mmcv/parallel/distributed_deprecated.py -> build/lib.linux-x86_64-3.7/mmcv/parallel
    copying mmcv/parallel/distributed.py -> build/lib.linux-x86_64-3.7/mmcv/parallel
    copying mmcv/parallel/utils.py -> build/lib.linux-x86_64-3.7/mmcv/parallel
    copying mmcv/parallel/registry.py -> build/lib.linux-x86_64-3.7/mmcv/parallel
    copying mmcv/parallel/scatter_gather.py -> build/lib.linux-x86_64-3.7/mmcv/parallel
    creating build/lib.linux-x86_64-3.7/mmcv/cnn
    copying mmcv/cnn/resnet.py -> build/lib.linux-x86_64-3.7/mmcv/cnn
    copying mmcv/cnn/vgg.py -> build/lib.linux-x86_64-3.7/mmcv/cnn
    copying mmcv/cnn/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/cnn
    copying mmcv/cnn/alexnet.py -> build/lib.linux-x86_64-3.7/mmcv/cnn
    creating build/lib.linux-x86_64-3.7/mmcv/video
    copying mmcv/video/processing.py -> build/lib.linux-x86_64-3.7/mmcv/video
    copying mmcv/video/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/video
    copying mmcv/video/io.py -> build/lib.linux-x86_64-3.7/mmcv/video
    copying mmcv/video/optflow.py -> build/lib.linux-x86_64-3.7/mmcv/video
    creating build/lib.linux-x86_64-3.7/mmcv/visualization
    copying mmcv/visualization/image.py -> build/lib.linux-x86_64-3.7/mmcv/visualization
    copying mmcv/visualization/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/visualization
    copying mmcv/visualization/color.py -> build/lib.linux-x86_64-3.7/mmcv/visualization
    copying mmcv/visualization/optflow.py -> build/lib.linux-x86_64-3.7/mmcv/visualization
    creating build/lib.linux-x86_64-3.7/mmcv/arraymisc
    copying mmcv/arraymisc/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/arraymisc
    copying mmcv/arraymisc/quantization.py -> build/lib.linux-x86_64-3.7/mmcv/arraymisc
    creating build/lib.linux-x86_64-3.7/mmcv/onnx
    copying mmcv/onnx/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/onnx
    copying mmcv/onnx/symbolic.py -> build/lib.linux-x86_64-3.7/mmcv/onnx
    creating build/lib.linux-x86_64-3.7/mmcv/fileio/handlers
    copying mmcv/fileio/handlers/yaml_handler.py -> build/lib.linux-x86_64-3.7/mmcv/fileio/handlers
    copying mmcv/fileio/handlers/base.py -> build/lib.linux-x86_64-3.7/mmcv/fileio/handlers
    copying mmcv/fileio/handlers/json_handler.py -> build/lib.linux-x86_64-3.7/mmcv/fileio/handlers
    copying mmcv/fileio/handlers/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/fileio/handlers
    copying mmcv/fileio/handlers/pickle_handler.py -> build/lib.linux-x86_64-3.7/mmcv/fileio/handlers
    creating build/lib.linux-x86_64-3.7/mmcv/runner/hooks
    copying mmcv/runner/hooks/iter_timer.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks
    copying mmcv/runner/hooks/sampler_seed.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks
    copying mmcv/runner/hooks/optimizer.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks
    copying mmcv/runner/hooks/momentum_updater.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks
    copying mmcv/runner/hooks/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks
    copying mmcv/runner/hooks/ema.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks
    copying mmcv/runner/hooks/sync_buffer.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks
    copying mmcv/runner/hooks/hook.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks
    copying mmcv/runner/hooks/checkpoint.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks
    copying mmcv/runner/hooks/memory.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks
    copying mmcv/runner/hooks/closure.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks
    copying mmcv/runner/hooks/lr_updater.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks
    creating build/lib.linux-x86_64-3.7/mmcv/runner/optimizer
    copying mmcv/runner/optimizer/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/runner/optimizer
    copying mmcv/runner/optimizer/default_constructor.py -> build/lib.linux-x86_64-3.7/mmcv/runner/optimizer
    copying mmcv/runner/optimizer/builder.py -> build/lib.linux-x86_64-3.7/mmcv/runner/optimizer
    creating build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger
    copying mmcv/runner/hooks/logger/pavi.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger
    copying mmcv/runner/hooks/logger/wandb.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger
    copying mmcv/runner/hooks/logger/base.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger
    copying mmcv/runner/hooks/logger/tensorboard.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger
    copying mmcv/runner/hooks/logger/mlflow.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger
    copying mmcv/runner/hooks/logger/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger
    copying mmcv/runner/hooks/logger/text.py -> build/lib.linux-x86_64-3.7/mmcv/runner/hooks/logger
    creating build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
    copying mmcv/cnn/bricks/generalized_attention.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
    copying mmcv/cnn/bricks/conv.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
    copying mmcv/cnn/bricks/context_block.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
    copying mmcv/cnn/bricks/conv2d_adaptive_padding.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
    copying mmcv/cnn/bricks/conv_module.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
    copying mmcv/cnn/bricks/padding.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
    copying mmcv/cnn/bricks/non_local.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
    copying mmcv/cnn/bricks/norm.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
    copying mmcv/cnn/bricks/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
    copying mmcv/cnn/bricks/hswish.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
    copying mmcv/cnn/bricks/conv_ws.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
    copying mmcv/cnn/bricks/wrappers.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
    copying mmcv/cnn/bricks/activation.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
    copying mmcv/cnn/bricks/depthwise_separable_conv_module.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
    copying mmcv/cnn/bricks/plugin.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
    copying mmcv/cnn/bricks/hsigmoid.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
    copying mmcv/cnn/bricks/swish.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
    copying mmcv/cnn/bricks/registry.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
    copying mmcv/cnn/bricks/upsample.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
    copying mmcv/cnn/bricks/scale.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/bricks
    creating build/lib.linux-x86_64-3.7/mmcv/cnn/utils
    copying mmcv/cnn/utils/fuse_conv_bn.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/utils
    copying mmcv/cnn/utils/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/utils
    copying mmcv/cnn/utils/weight_init.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/utils
    copying mmcv/cnn/utils/flops_counter.py -> build/lib.linux-x86_64-3.7/mmcv/cnn/utils
    creating build/lib.linux-x86_64-3.7/mmcv/video/optflow_warp
    copying mmcv/video/optflow_warp/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/video/optflow_warp
    creating build/lib.linux-x86_64-3.7/mmcv/onnx/onnx_utils
    copying mmcv/onnx/onnx_utils/__init__.py -> build/lib.linux-x86_64-3.7/mmcv/onnx/onnx_utils
    copying mmcv/onnx/onnx_utils/symbolic_helper.py -> build/lib.linux-x86_64-3.7/mmcv/onnx/onnx_utils
    running egg_info
    writing mmcv_full.egg-info/PKG-INFO
    writing dependency_links to mmcv_full.egg-info/dependency_links.txt
    writing requirements to mmcv_full.egg-info/requires.txt
    writing top-level names to mmcv_full.egg-info/top_level.txt
    reading manifest file 'mmcv_full.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'mmcv_full.egg-info/SOURCES.txt'
    creating build/lib.linux-x86_64-3.7/mmcv/model_zoo
    copying mmcv/model_zoo/deprecated.json -> build/lib.linux-x86_64-3.7/mmcv/model_zoo
    copying mmcv/model_zoo/mmcls.json -> build/lib.linux-x86_64-3.7/mmcv/model_zoo
    copying mmcv/model_zoo/open_mmlab.json -> build/lib.linux-x86_64-3.7/mmcv/model_zoo
    creating build/lib.linux-x86_64-3.7/mmcv/ops/csrc
    copying mmcv/ops/csrc/bbox_overlaps_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
    copying mmcv/ops/csrc/carafe_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
    copying mmcv/ops/csrc/carafe_naive_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
    copying mmcv/ops/csrc/cc_attention_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
    copying mmcv/ops/csrc/common_cuda_helper.hpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
    copying mmcv/ops/csrc/deform_conv_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
    copying mmcv/ops/csrc/deform_roi_pool_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
    copying mmcv/ops/csrc/masked_conv2d_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
    copying mmcv/ops/csrc/modulated_deform_conv_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
    copying mmcv/ops/csrc/nms_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
    copying mmcv/ops/csrc/parrots_cpp_helper.hpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
    copying mmcv/ops/csrc/parrots_cuda_helper.hpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
    copying mmcv/ops/csrc/parrots_cudawarpfunction.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
    copying mmcv/ops/csrc/psamask_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
    copying mmcv/ops/csrc/pytorch_cpp_helper.hpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
    copying mmcv/ops/csrc/pytorch_cuda_helper.hpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
    copying mmcv/ops/csrc/roi_align_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
    copying mmcv/ops/csrc/roi_pool_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
    copying mmcv/ops/csrc/sigmoid_focal_loss_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
    copying mmcv/ops/csrc/softmax_focal_loss_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
    copying mmcv/ops/csrc/sync_bn_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
    copying mmcv/ops/csrc/tin_shift_cuda_kernel.cuh -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc
    creating build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/bbox_overlaps.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/bbox_overlaps_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/carafe.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/carafe_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/carafe_naive.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/carafe_naive_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/cc_attention.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/cc_attention_cuda_kernel.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/corner_pool.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/deform_conv.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/deform_conv_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/deform_roi_pool.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/deform_roi_pool_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/focal_loss.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/focal_loss_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/masked_conv2d.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/masked_conv2d_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/modulated_deform_conv.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/modulated_deform_conv_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/nms.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/nms_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/parrots_cpp_helper.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/parrots_cuda_helper.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/psamask.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/psamask_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/roi_align.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/roi_align_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/roi_pool.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/roi_pool_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/sync_bn.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/sync_bn_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/tin_shift.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    copying mmcv/ops/csrc/parrots/tin_shift_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/parrots
    creating build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/bbox_overlaps.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/bbox_overlaps_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/carafe.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/carafe_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/carafe_naive.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/carafe_naive_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/cc_attention.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/cc_attention_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/corner_pool.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/deform_conv.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/deform_conv_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/deform_roi_pool.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/deform_roi_pool_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/focal_loss.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/focal_loss_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/info.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/masked_conv2d.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/masked_conv2d_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/modulated_deform_conv.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/modulated_deform_conv_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/nms.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/nms_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/psamask.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/psamask_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/pybind.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/roi_align.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/roi_align_cpu.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/roi_align_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/roi_pool.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/roi_pool_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/sync_bn.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/sync_bn_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/tin_shift.cpp -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/ops/csrc/pytorch/tin_shift_cuda.cu -> build/lib.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    copying mmcv/video/optflow_warp/flow_warp.hpp -> build/lib.linux-x86_64-3.7/mmcv/video/optflow_warp
    copying mmcv/video/optflow_warp/flow_warp_module.pyx -> build/lib.linux-x86_64-3.7/mmcv/video/optflow_warp
    running build_ext
    building 'mmcv._flow_warp_ext' extension
    creating /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7
    creating /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv
    creating /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/video
    creating /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/video/optflow_warp
    Emitting ninja build file /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/build.ninja...
    Compiling objects...
    Using envvar MAX_JOBS (4) as the number of workers...
    [1/2] c++ -MMD -MF /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/video/optflow_warp/flow_warp.o.d -pthread -B /home/ajay/anaconda3/envs/AlignPS/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I./mmcv/video/optflow_warp -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/numpy/core/include -I/home/ajay/anaconda3/envs/AlignPS/include/python3.7m -c -c /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/video/optflow_warp/flow_warp.cpp -o /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/video/optflow_warp/flow_warp.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_flow_warp_ext -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++
    [2/2] c++ -MMD -MF /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/video/optflow_warp/flow_warp_module.o.d -pthread -B /home/ajay/anaconda3/envs/AlignPS/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I./mmcv/video/optflow_warp -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/numpy/core/include -I/home/ajay/anaconda3/envs/AlignPS/include/python3.7m -c -c /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/video/optflow_warp/flow_warp_module.cpp -o /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/video/optflow_warp/flow_warp_module.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_flow_warp_ext -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/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:0,
                     from /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                     from /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                     from /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/video/optflow_warp/flow_warp_module.cpp:647:
    /home/ajay/anaconda3/envs/AlignPS/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]
     #warning "Using deprecated NumPy API, disable it with " \
      ^~~~~~~
    g++ -pthread -shared -B /home/ajay/anaconda3/envs/AlignPS/compiler_compat -L/home/ajay/anaconda3/envs/AlignPS/lib -Wl,-rpath=/home/ajay/anaconda3/envs/AlignPS/lib -Wl,--no-as-needed -Wl,--sysroot=/ /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/./mmcv/video/optflow_warp/flow_warp_module.o /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/./mmcv/video/optflow_warp/flow_warp.o -o build/lib.linux-x86_64-3.7/mmcv/_flow_warp_ext.cpython-37m-x86_64-linux-gnu.so
    building 'mmcv._ext' extension
    creating /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops
    creating /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops/csrc
    creating /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch
    Emitting ninja build file /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/build.ninja...
    Compiling objects...
    Using envvar MAX_JOBS (4) as the number of workers...
    [1/34] /usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/TH -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/ajay/anaconda3/envs/AlignPS/include/python3.7m -c -c /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc/pytorch/roi_pool_cuda.cu -o /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/roi_pool_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
    FAILED: /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/roi_pool_cuda.o
    /usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/TH -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/ajay/anaconda3/envs/AlignPS/include/python3.7m -c -c /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc/pytorch/roi_pool_cuda.cu -o /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/roi_pool_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
    /usr/include/c++/7/bits/basic_string.tcc: In instantiation of ‘static std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’:
    /usr/include/c++/7/bits/basic_string.tcc:578:28:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&, std::forward_iterator_tag) [with _FwdIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
    /usr/include/c++/7/bits/basic_string.h:5042:20:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct_aux(_InIterator, _InIterator, const _Alloc&, std::__false_type) [with _InIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
    /usr/include/c++/7/bits/basic_string.h:5063:24:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&) [with _InIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
    /usr/include/c++/7/bits/basic_string.tcc:656:134:   required from ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’
    /usr/include/c++/7/bits/basic_string.h:6688:95:   required from here
    /usr/include/c++/7/bits/basic_string.tcc:1067:16: error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_set_sharable() [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’ without object
           __p->_M_set_sharable();
           ~~~~~~~~~^~
    /usr/include/c++/7/bits/basic_string.tcc: In instantiation of ‘static std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’:
    /usr/include/c++/7/bits/basic_string.tcc:578:28:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&, std::forward_iterator_tag) [with _FwdIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
    /usr/include/c++/7/bits/basic_string.h:5042:20:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct_aux(_InIterator, _InIterator, const _Alloc&, std::__false_type) [with _InIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
    /usr/include/c++/7/bits/basic_string.h:5063:24:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&) [with _InIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
    /usr/include/c++/7/bits/basic_string.tcc:656:134:   required from ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’
    /usr/include/c++/7/bits/basic_string.h:6693:95:   required from here
    /usr/include/c++/7/bits/basic_string.tcc:1067:16: error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_set_sharable() [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’ without object
    [2/34] /usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/TH -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/ajay/anaconda3/envs/AlignPS/include/python3.7m -c -c /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc/pytorch/carafe_cuda.cu -o /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/carafe_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
    FAILED: /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/carafe_cuda.o
    /usr/local/cuda/bin/nvcc -DMMCV_WITH_CUDA -I/tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/TH -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/ajay/anaconda3/envs/AlignPS/include/python3.7m -c -c /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc/pytorch/carafe_cuda.cu -o /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/carafe_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
    /usr/include/c++/7/bits/basic_string.tcc: In instantiation of ‘static std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’:
    /usr/include/c++/7/bits/basic_string.tcc:578:28:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&, std::forward_iterator_tag) [with _FwdIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
    /usr/include/c++/7/bits/basic_string.h:5042:20:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct_aux(_InIterator, _InIterator, const _Alloc&, std::__false_type) [with _InIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
    /usr/include/c++/7/bits/basic_string.h:5063:24:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&) [with _InIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’
    /usr/include/c++/7/bits/basic_string.tcc:656:134:   required from ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’
    /usr/include/c++/7/bits/basic_string.h:6688:95:   required from here
    /usr/include/c++/7/bits/basic_string.tcc:1067:16: error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_set_sharable() [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]’ without object
           __p->_M_set_sharable();
           ~~~~~~~~~^~
    /usr/include/c++/7/bits/basic_string.tcc: In instantiation of ‘static std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’:
    /usr/include/c++/7/bits/basic_string.tcc:578:28:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&, std::forward_iterator_tag) [with _FwdIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
    /usr/include/c++/7/bits/basic_string.h:5042:20:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct_aux(_InIterator, _InIterator, const _Alloc&, std::__false_type) [with _InIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
    /usr/include/c++/7/bits/basic_string.h:5063:24:   required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&) [with _InIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’
    /usr/include/c++/7/bits/basic_string.tcc:656:134:   required from ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’
    /usr/include/c++/7/bits/basic_string.h:6693:95:   required from here
    /usr/include/c++/7/bits/basic_string.tcc:1067:16: error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_set_sharable() [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>]’ without object
    [3/34] c++ -MMD -MF /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/roi_align.o.d -pthread -B /home/ajay/anaconda3/envs/AlignPS/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DMMCV_WITH_CUDA -I/tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/TH -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/ajay/anaconda3/envs/AlignPS/include/python3.7m -c -c /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc/pytorch/roi_align.cpp -o /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/roi_align.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -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/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149:0,
                     from /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                     from /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                     from /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                     from /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
                     from /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc/pytorch_cpp_helper.hpp:3,
                     from /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc/pytorch/roi_align.cpp:1:
    /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
     #pragma omp parallel for if ((end - begin) >= grain_size)

    [4/34] c++ -MMD -MF /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/sync_bn.o.d -pthread -B /home/ajay/anaconda3/envs/AlignPS/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DMMCV_WITH_CUDA -I/tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/TH -I/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/ajay/anaconda3/envs/AlignPS/include/python3.7m -c -c /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc/pytorch/sync_bn.cpp -o /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/build/temp.linux-x86_64-3.7/mmcv/ops/csrc/pytorch/sync_bn.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -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/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/ATen/Parallel.h:149:0,
                     from /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
                     from /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
                     from /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
                     from /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
                     from /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
                     from /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc/pytorch_cpp_helper.hpp:3,
                     from /tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/mmcv/ops/csrc/pytorch/sync_bn.cpp:1:
    /home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
     #pragma omp parallel for if ((end - begin) >= grain_size)

    ninja: build stopped: subcommand failed.
    Traceback (most recent call last):
      File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1522, in _run_ninja_build
        env=env)
      File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/subprocess.py", line 512, in run
        output=stdout, stderr=stderr)
    subprocess.CalledProcessError: Command '['ninja', '-v', '-j', '4']' 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 "/tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/setup.py", line 219, in <module>
        zip_safe=False)
      File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/setuptools/__init__.py", line 153, in setup
        return distutils.core.setup(**attrs)
      File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/distutils/command/install.py", line 545, in run
        self.run_command('build')
      File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/distutils/command/build.py", line 135, in run
        self.run_command(cmd_name)
      File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 79, in run
        _build_ext.run(self)
      File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/distutils/command/build_ext.py", line 340, in run
        self.build_extensions()
      File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 653, in build_extensions
        build_ext.build_extensions(self)
      File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions
        self._build_extensions_serial()
      File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial
        self.build_extension(ext)
      File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
        _build_ext.build_extension(self, ext)
      File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/distutils/command/build_ext.py", line 534, in build_extension
        depends=ext.depends)
      File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 482, in unix_wrap_ninja_compile
        with_cuda=with_cuda)
      File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1238, in _write_ninja_file_and_compile_objects
        error_prefix='Error compiling objects for extension')
      File "/home/ajay/anaconda3/envs/AlignPS/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1538, in _run_ninja_build
        raise RuntimeError(message) from e
    RuntimeError: Error compiling objects for extension
    ----------------------------------------
ERROR: Command errored out with exit status 1: /home/ajay/anaconda3/envs/AlignPS/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/setup.py'"'"'; __file__='"'"'/tmp/pip-install-xxdqo6qv/mmcv-full_4dc33eb84f094f3ca1f5d4b2a1700673/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '

Bug fix If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!

daodaofr commented 3 years ago

Hi, I am not able to identify this error. Could you please report this issue on the repo of MMCV (https://github.com/open-mmlab/mmcv)?