facebookresearch / detectron2

Detectron2 is a platform for object detection, segmentation and other visual recognition tasks.
https://detectron2.readthedocs.io/en/latest/
Apache License 2.0
30.34k stars 7.46k forks source link

Error when installing with CUDA 9.0 #414

Closed bernhardschaefer closed 4 years ago

bernhardschaefer commented 4 years ago

How To Reproduce the Issue

  1. Install CUDA 9.0
  2. Create conda environment
  3. Install PyTorch v1.3.1 tag from source
  4. Install Torchvision v0.4.2 tag from source
  5. Install detectron2

I've attached the full install.log with 3436 lines. In the following you can find also find everything starting from line 1673, since the errors start with the invocation of nvcc:

/usr/local/cuda/bin/nvcc -DWITH_CUDA -I/home/ubuntu/detectron2/detectron2/layers/csrc -I/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include -I/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/TH -I/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/ubuntu/miniconda/envs/detectron-env/include/python3.7m -c /home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu -o build/temp.linux-x86_64-3.7/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_70,code=sm_70 -std=c++11
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/core/TensorTypeSet.h(44): warning: integer conversion resulted in a change of sign

/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/torch/csrc/autograd/profiler.h(97): warning: attribute "__visibility__" does not apply here

/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/torch/csrc/autograd/profiler.h(112): warning: attribute "__visibility__" does not apply here

/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/core/TensorTypeSet.h(44): warning: integer conversion resulted in a change of sign

/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/torch/csrc/autograd/profiler.h(97): warning: attribute "__visibility__" does not apply here

/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/torch/csrc/autograd/profiler.h(112): warning: attribute "__visibility__" does not apply here

/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pytypes.h:1205:206: error: expansion pattern ‘pybind11::detail::negation<std::is_same<pybind11::detail::bools<pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ..., true>, pybind11::detail::bools<true, pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ...> > >::value’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pytypes.h:1205:215: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pytypes.h:1205:392: error: expansion pattern ‘pybind11::detail::negation<std::is_same<pybind11::detail::bools<pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ..., true>, pybind11::detail::bools<true, pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ...> > >::value’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pytypes.h:1205:395: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pytypes.h:1205:397: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pytypes.h:1205:397: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pytypes.h:1205:412: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:776:149: error: expansion pattern ‘std::is_copy_constructible<_Tp>::value’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:776:240: error: expansion pattern ‘std::is_same<typename Container::value_type&, typename Container::reference>::value’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:776:249: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:776:249: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:776:312: error: expansion pattern ‘std::is_copy_constructible<_Tp>::value’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:776:403: error: expansion pattern ‘std::is_same<typename Container::value_type&, typename Container::reference>::value’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:776:406: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:776:406: error: template argument 3 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:776:408: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:776:408: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:776:423: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:776:425: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:970:126: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char> >’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:970:170: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char16_t> >’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:970:214: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char32_t> >’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:970:257: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, wchar_t> >’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:970:260: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:970:260: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:970:260: error: template argument 3 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:970:260: error: template argument 4 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:970:262: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1260:147: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char> >’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1260:195: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char16_t> >’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1260:243: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char32_t> >’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1260:290: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, wchar_t> >’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1260:293: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1260:293: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1260:293: error: template argument 3 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1260:293: error: template argument 4 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1260:295: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1260:310: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1260:312: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1271:121: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char> >’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1271:169: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char16_t> >’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1271:217: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, char32_t> >’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1271:264: error: expansion pattern ‘pybind11::detail::negation<std::is_same<CharT, wchar_t> >’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1271:267: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1271:267: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1271:267: error: template argument 3 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1271:267: error: template argument 4 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1271:269: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1271:284: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1271:286: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:112: error: expansion pattern ‘std::is_void<_Tp>’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:137: error: expansion pattern ‘std::is_pointer<_Tp>’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:164: error: expansion pattern ‘std::is_reference<_Tp>’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:187: error: expansion pattern ‘std::is_const<_Tp>’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:190: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:190: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:190: error: template argument 3 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:190: error: template argument 4 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:192: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:201: error: expected parameter pack before ‘...’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:251: error: expansion pattern ‘pybind11::detail::negation<pybind11::detail::is_copy_constructible<T1> >::value’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:294: error: expansion pattern ‘std::is_move_constructible<_Tp>::value’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:392: error: expansion pattern ‘std::is_same<decltype (declval<pybind11::detail::type_caster<typename pybind11::detail::intrinsic_type<T>::type, void> >().operator T&()), T&>::value’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:401: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:401: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:401: error: template argument 3 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:401: error: template argument 4 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:453: error: expansion pattern ‘std::is_void<_Tp>’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:478: error: expansion pattern ‘std::is_pointer<_Tp>’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:505: error: expansion pattern ‘std::is_reference<_Tp>’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:528: error: expansion pattern ‘std::is_const<_Tp>’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:531: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:531: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:531: error: template argument 3 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:531: error: template argument 4 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:533: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:542: error: expected parameter pack before ‘...’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:592: error: expansion pattern ‘pybind11::detail::negation<pybind11::detail::is_copy_constructible<T1> >::value’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:635: error: expansion pattern ‘std::is_move_constructible<_Tp>::value’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:733: error: expansion pattern ‘std::is_same<decltype (declval<pybind11::detail::type_caster<typename pybind11::detail::intrinsic_type<T>::type, void> >().operator T&()), T&>::value’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:736: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:736: error: template argument 3 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:736: error: template argument 4 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:736: error: template argument 5 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:738: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:738: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:753: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1593:755: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:121: error: expansion pattern ‘std::is_void<_Tp>’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:146: error: expansion pattern ‘std::is_pointer<_Tp>’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:173: error: expansion pattern ‘std::is_reference<_Tp>’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:196: error: expansion pattern ‘std::is_const<_Tp>’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:199: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:199: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:199: error: template argument 3 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:199: error: template argument 4 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:201: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:210: error: expected parameter pack before ‘...’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:250: error: expansion pattern ‘pybind11::detail::negation<pybind11::detail::move_always<T> >::value’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:293: error: expansion pattern ‘std::is_move_constructible<_Tp>::value’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:391: error: expansion pattern ‘std::is_same<decltype (declval<pybind11::detail::type_caster<typename pybind11::detail::intrinsic_type<T>::type, void> >().operator T&()), T&>::value’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:400: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:400: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:400: error: template argument 3 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:400: error: template argument 4 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:452: error: expansion pattern ‘std::is_void<_Tp>’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:477: error: expansion pattern ‘std::is_pointer<_Tp>’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:504: error: expansion pattern ‘std::is_reference<_Tp>’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:527: error: expansion pattern ‘std::is_const<_Tp>’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:530: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:530: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:530: error: template argument 3 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:530: error: template argument 4 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:532: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:541: error: expected parameter pack before ‘...’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:581: error: expansion pattern ‘pybind11::detail::negation<pybind11::detail::move_always<T> >::value’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:624: error: expansion pattern ‘std::is_move_constructible<_Tp>::value’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:722: error: expansion pattern ‘std::is_same<decltype (declval<pybind11::detail::type_caster<typename pybind11::detail::intrinsic_type<T>::type, void> >().operator T&()), T&>::value’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:725: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:725: error: template argument 3 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:725: error: template argument 4 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:725: error: template argument 5 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:727: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:727: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:742: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1600:744: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1682:100: error: expansion pattern ‘pybind11::detail::move_always<T>’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1682:138: error: expansion pattern ‘pybind11::detail::move_if_unreferenced<T>’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1682:141: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1682:141: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1682:143: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1682:155: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1712:99: error: expansion pattern ‘pybind11::detail::move_always<T>’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1712:137: error: expansion pattern ‘pybind11::detail::move_if_unreferenced<T>’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1712:140: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1712:140: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1712:142: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1712:154: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2086:145: error: expansion pattern ‘pybind11::detail::negation<pybind11::detail::negation<std::is_same<pybind11::detail::bools<pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::args_proxy, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ..., true>, pybind11::detail::bools<true, pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::args_proxy, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ...> > > >::value’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2086:154: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2086:278: error: expansion pattern ‘pybind11::detail::negation<pybind11::detail::negation<std::is_same<pybind11::detail::bools<pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::args_proxy, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ..., true>, pybind11::detail::bools<true, pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::args_proxy, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ...> > > >::value’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2086:281: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2086:283: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2086:283: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2086:298: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2093:146: error: expansion pattern ‘pybind11::detail::negation<pybind11::detail::negation<std::is_same<pybind11::detail::bools<pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::args_proxy, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ..., true>, pybind11::detail::bools<true, pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::args_proxy, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ...> > > >::value’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2093:155: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2093:279: error: expansion pattern ‘pybind11::detail::negation<pybind11::detail::negation<std::is_same<pybind11::detail::bools<pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::args_proxy, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ..., true>, pybind11::detail::bools<true, pybind11::detail::negation<std::is_base_of<pybind11::arg, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::args_proxy, Args> >::value ..., pybind11::detail::negation<std::is_same<pybind11::detail::kwargs_proxy, Args> >::value ...> > > >::value’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2093:282: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2093:284: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2093:284: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2093:299: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:65:113: error: expansion pattern ‘std::is_function<typename std::remove_reference<_From>::type>’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:65:171: error: expansion pattern ‘std::is_pointer<typename std::remove_reference< <template-parameter-1-1> >::type>’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:65:236: error: expansion pattern ‘std::is_member_pointer<typename std::remove_reference< <template-parameter-1-1> >::type>’ contains no argument packs
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:65:239: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:65:239: error: template argument 2 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:65:239: error: template argument 3 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:65:241: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:65:256: error: template argument 1 is invalid
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h: In member function ‘void pybind11::detail::enum_base::init(bool, bool)’:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1404:26: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::handle)>, pybind11::is_method)’
             }, is_method(m_base)
                          ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...) const, const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...) const, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1404:26: note:   mismatched types ‘Return (Class::*)(Arg ...) const’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::handle)>’
             }, is_method(m_base)
                          ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1404:26: note:   mismatched types ‘Return (Class::*)(Arg ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::handle)>’
             }, is_method(m_base)
                          ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...)
     cpp_function(Func &&f, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return (*)(Args ...), const Extra& ...)
     cpp_function(Return (*f)(Args...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1404:26: note:   mismatched types ‘Return (*)(Args ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::handle)>’
             }, is_method(m_base)
                          ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t)
     cpp_function(std::nullptr_t) { }
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note: candidate: pybind11::cpp_function::cpp_function()
     cpp_function() { }
         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note:   candidate expects 0 arguments, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&)
 class cpp_function : public function {
       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&)
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1415:26: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::handle)>, pybind11::is_method)’
             }, is_method(m_base)
                          ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...) const, const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...) const, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1415:26: note:   mismatched types ‘Return (Class::*)(Arg ...) const’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::handle)>’
             }, is_method(m_base)
                          ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1415:26: note:   mismatched types ‘Return (Class::*)(Arg ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::handle)>’
             }, is_method(m_base)
                          ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...)
     cpp_function(Func &&f, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return (*)(Args ...), const Extra& ...)
     cpp_function(Return (*f)(Args...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1415:26: note:   mismatched types ‘Return (*)(Args ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::handle)>’
             }, is_method(m_base)
                          ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t)
     cpp_function(std::nullptr_t) { }
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note: candidate: pybind11::cpp_function::cpp_function()
     cpp_function() { }
         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note:   candidate expects 0 arguments, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&)
 class cpp_function : public function {
       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&)
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1433:3: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::handle)>)’
             }
   ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...) const, const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...) const, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1433:3: note:   mismatched types ‘Return (Class::*)(Arg ...) const’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::handle)>’
             }
   ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1433:3: note:   mismatched types ‘Return (Class::*)(Arg ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::handle)>’
             }
   ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...)
     cpp_function(Func &&f, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return (*)(Args ...), const Extra& ...)
     cpp_function(Return (*f)(Args...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1433:3: note:   mismatched types ‘Return (*)(Args ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::handle)>’
             }
   ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t)
     cpp_function(std::nullptr_t) { }
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note:   no known conversion for argument 1 from ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::handle)>’ to ‘std::nullptr_t’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note: candidate: pybind11::cpp_function::cpp_function()
     cpp_function() { }
         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note:   candidate expects 0 arguments, 1 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&)
 class cpp_function : public function {
       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   no known conversion for argument 1 from ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::handle)>’ to ‘const pybind11::cpp_function&’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&)
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   no known conversion for argument 1 from ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::handle)>’ to ‘pybind11::cpp_function&&’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1442:3: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::handle)>)’
             }), none(), none(), ""
   ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...) const, const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...) const, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1442:3: note:   mismatched types ‘Return (Class::*)(Arg ...) const’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::handle)>’
             }), none(), none(), ""
   ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1442:3: note:   mismatched types ‘Return (Class::*)(Arg ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::handle)>’
             }), none(), none(), ""
   ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...)
     cpp_function(Func &&f, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return (*)(Args ...), const Extra& ...)
     cpp_function(Return (*f)(Args...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1442:3: note:   mismatched types ‘Return (*)(Args ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::handle)>’
             }), none(), none(), ""
   ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t)
     cpp_function(std::nullptr_t) { }
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note:   no known conversion for argument 1 from ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::handle)>’ to ‘std::nullptr_t’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note: candidate: pybind11::cpp_function::cpp_function()
     cpp_function() { }
         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note:   candidate expects 0 arguments, 1 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&)
 class cpp_function : public function {
       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   no known conversion for argument 1 from ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::handle)>’ to ‘const pybind11::cpp_function&’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&)
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   no known conversion for argument 1 from ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::handle)>’ to ‘pybind11::cpp_function&&’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1463:151: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>, pybind11::is_method)’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...) const, const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...) const, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1463:151: note:   mismatched types ‘Return (Class::*)(Arg ...) const’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1463:151: note:   mismatched types ‘Return (Class::*)(Arg ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...)
     cpp_function(Func &&f, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return (*)(Args ...), const Extra& ...)
     cpp_function(Return (*f)(Args...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1463:151: note:   mismatched types ‘Return (*)(Args ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t)
     cpp_function(std::nullptr_t) { }
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note: candidate: pybind11::cpp_function::cpp_function()
     cpp_function() { }
         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note:   candidate expects 0 arguments, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&)
 class cpp_function : public function {
       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&)
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1464:151: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>, pybind11::is_method)’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...) const, const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...) const, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1464:151: note:   mismatched types ‘Return (Class::*)(Arg ...) const’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1464:151: note:   mismatched types ‘Return (Class::*)(Arg ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...)
     cpp_function(Func &&f, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return (*)(Args ...), const Extra& ...)
     cpp_function(Return (*f)(Args...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1464:151: note:   mismatched types ‘Return (*)(Args ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t)
     cpp_function(std::nullptr_t) { }
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note: candidate: pybind11::cpp_function::cpp_function()
     cpp_function() { }
         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note:   candidate expects 0 arguments, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&)
 class cpp_function : public function {
       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&)
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1467:130: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>, pybind11::is_method)’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...) const, const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...) const, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1467:130: note:   mismatched types ‘Return (Class::*)(Arg ...) const’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1467:130: note:   mismatched types ‘Return (Class::*)(Arg ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...)
     cpp_function(Func &&f, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return (*)(Args ...), const Extra& ...)
     cpp_function(Return (*f)(Args...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1467:130: note:   mismatched types ‘Return (*)(Args ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t)
     cpp_function(std::nullptr_t) { }
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note: candidate: pybind11::cpp_function::cpp_function()
     cpp_function() { }
         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note:   candidate expects 0 arguments, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&)
 class cpp_function : public function {
       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&)
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1468:130: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>, pybind11::is_method)’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...) const, const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...) const, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1468:130: note:   mismatched types ‘Return (Class::*)(Arg ...) const’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1468:130: note:   mismatched types ‘Return (Class::*)(Arg ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...)
     cpp_function(Func &&f, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return (*)(Args ...), const Extra& ...)
     cpp_function(Return (*f)(Args...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1468:130: note:   mismatched types ‘Return (*)(Args ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t)
     cpp_function(std::nullptr_t) { }
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note: candidate: pybind11::cpp_function::cpp_function()
     cpp_function() { }
         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note:   candidate expects 0 arguments, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&)
 class cpp_function : public function {
       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&)
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1469:131: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>, pybind11::is_method)’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...) const, const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...) const, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1469:131: note:   mismatched types ‘Return (Class::*)(Arg ...) const’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1469:131: note:   mismatched types ‘Return (Class::*)(Arg ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...)
     cpp_function(Func &&f, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return (*)(Args ...), const Extra& ...)
     cpp_function(Return (*f)(Args...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1469:131: note:   mismatched types ‘Return (*)(Args ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t)
     cpp_function(std::nullptr_t) { }
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note: candidate: pybind11::cpp_function::cpp_function()
     cpp_function() { }
         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note:   candidate expects 0 arguments, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&)
 class cpp_function : public function {
       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&)
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1470:131: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>, pybind11::is_method)’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...) const, const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...) const, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1470:131: note:   mismatched types ‘Return (Class::*)(Arg ...) const’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1470:131: note:   mismatched types ‘Return (Class::*)(Arg ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...)
     cpp_function(Func &&f, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return (*)(Args ...), const Extra& ...)
     cpp_function(Return (*f)(Args...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1470:131: note:   mismatched types ‘Return (*)(Args ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t)
     cpp_function(std::nullptr_t) { }
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note: candidate: pybind11::cpp_function::cpp_function()
     cpp_function() { }
         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note:   candidate expects 0 arguments, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&)
 class cpp_function : public function {
       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&)
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1471:131: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>, pybind11::is_method)’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...) const, const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...) const, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1471:131: note:   mismatched types ‘Return (Class::*)(Arg ...) const’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1471:131: note:   mismatched types ‘Return (Class::*)(Arg ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...)
     cpp_function(Func &&f, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return (*)(Args ...), const Extra& ...)
     cpp_function(Return (*f)(Args...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1471:131: note:   mismatched types ‘Return (*)(Args ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t)
     cpp_function(std::nullptr_t) { }
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note: candidate: pybind11::cpp_function::cpp_function()
     cpp_function() { }
         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note:   candidate expects 0 arguments, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&)
 class cpp_function : public function {
       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&)
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1472:132: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>, pybind11::is_method)’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...) const, const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...) const, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1472:132: note:   mismatched types ‘Return (Class::*)(Arg ...) const’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1472:132: note:   mismatched types ‘Return (Class::*)(Arg ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...)
     cpp_function(Func &&f, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return (*)(Args ...), const Extra& ...)
     cpp_function(Return (*f)(Args...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1472:132: note:   mismatched types ‘Return (*)(Args ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t)
     cpp_function(std::nullptr_t) { }
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note: candidate: pybind11::cpp_function::cpp_function()
     cpp_function() { }
         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note:   candidate expects 0 arguments, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&)
 class cpp_function : public function {
       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&)
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1473:130: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>, pybind11::is_method)’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...) const, const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...) const, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1473:130: note:   mismatched types ‘Return (Class::*)(Arg ...) const’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1473:130: note:   mismatched types ‘Return (Class::*)(Arg ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...)
     cpp_function(Func &&f, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return (*)(Args ...), const Extra& ...)
     cpp_function(Return (*f)(Args...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1473:130: note:   mismatched types ‘Return (*)(Args ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t)
     cpp_function(std::nullptr_t) { }
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note: candidate: pybind11::cpp_function::cpp_function()
     cpp_function() { }
         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note:   candidate expects 0 arguments, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&)
 class cpp_function : public function {
       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&)
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1474:131: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>, pybind11::is_method)’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...) const, const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...) const, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1474:131: note:   mismatched types ‘Return (Class::*)(Arg ...) const’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1474:131: note:   mismatched types ‘Return (Class::*)(Arg ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...)
     cpp_function(Func &&f, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return (*)(Args ...), const Extra& ...)
     cpp_function(Return (*f)(Args...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1474:131: note:   mismatched types ‘Return (*)(Args ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t)
     cpp_function(std::nullptr_t) { }
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note: candidate: pybind11::cpp_function::cpp_function()
     cpp_function() { }
         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note:   candidate expects 0 arguments, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&)
 class cpp_function : public function {
       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&)
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1475:131: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>, pybind11::is_method)’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...) const, const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...) const, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1475:131: note:   mismatched types ‘Return (Class::*)(Arg ...) const’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1475:131: note:   mismatched types ‘Return (Class::*)(Arg ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...)
     cpp_function(Func &&f, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return (*)(Args ...), const Extra& ...)
     cpp_function(Return (*f)(Args...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1475:131: note:   mismatched types ‘Return (*)(Args ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t)
     cpp_function(std::nullptr_t) { }
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note: candidate: pybind11::cpp_function::cpp_function()
     cpp_function() { }
         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note:   candidate expects 0 arguments, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&)
 class cpp_function : public function {
       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&)
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1476:132: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>, pybind11::is_method)’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...) const, const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...) const, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1476:132: note:   mismatched types ‘Return (Class::*)(Arg ...) const’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1476:132: note:   mismatched types ‘Return (Class::*)(Arg ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...)
     cpp_function(Func &&f, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return (*)(Args ...), const Extra& ...)
     cpp_function(Return (*f)(Args...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1476:132: note:   mismatched types ‘Return (*)(Args ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t)
     cpp_function(std::nullptr_t) { }
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note: candidate: pybind11::cpp_function::cpp_function()
     cpp_function() { }
         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note:   candidate expects 0 arguments, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&)
 class cpp_function : public function {
       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&)
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1479:187: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>, pybind11::is_method)’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...) const, const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...) const, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1479:187: note:   mismatched types ‘Return (Class::*)(Arg ...) const’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1479:187: note:   mismatched types ‘Return (Class::*)(Arg ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...)
     cpp_function(Func &&f, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return (*)(Args ...), const Extra& ...)
     cpp_function(Return (*f)(Args...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1479:187: note:   mismatched types ‘Return (*)(Args ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t)
     cpp_function(std::nullptr_t) { }
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note: candidate: pybind11::cpp_function::cpp_function()
     cpp_function() { }
         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note:   candidate expects 0 arguments, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&)
 class cpp_function : public function {
       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&)
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1480:187: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>, pybind11::is_method)’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...) const, const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...) const, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1480:187: note:   mismatched types ‘Return (Class::*)(Arg ...) const’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1480:187: note:   mismatched types ‘Return (Class::*)(Arg ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...)
     cpp_function(Func &&f, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return (*)(Args ...), const Extra& ...)
     cpp_function(Return (*f)(Args...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1480:187: note:   mismatched types ‘Return (*)(Args ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t)
     cpp_function(std::nullptr_t) { }
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note: candidate: pybind11::cpp_function::cpp_function()
     cpp_function() { }
         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note:   candidate expects 0 arguments, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&)
 class cpp_function : public function {
       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&)
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1484:239: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>, pybind11::is_method)’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...) const, const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...) const, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1484:239: note:   mismatched types ‘Return (Class::*)(Arg ...) const’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1484:239: note:   mismatched types ‘Return (Class::*)(Arg ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...)
     cpp_function(Func &&f, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return (*)(Args ...), const Extra& ...)
     cpp_function(Return (*f)(Args...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1484:239: note:   mismatched types ‘Return (*)(Args ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t)
     cpp_function(std::nullptr_t) { }
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note: candidate: pybind11::cpp_function::cpp_function()
     cpp_function() { }
         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note:   candidate expects 0 arguments, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&)
 class cpp_function : public function {
       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&)
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1485:239: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>, pybind11::is_method)’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...) const, const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...) const, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1485:239: note:   mismatched types ‘Return (Class::*)(Arg ...) const’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1485:239: note:   mismatched types ‘Return (Class::*)(Arg ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...)
     cpp_function(Func &&f, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return (*)(Args ...), const Extra& ...)
     cpp_function(Return (*f)(Args...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1485:239: note:   mismatched types ‘Return (*)(Args ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t)
     cpp_function(std::nullptr_t) { }
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note: candidate: pybind11::cpp_function::cpp_function()
     cpp_function() { }
         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note:   candidate expects 0 arguments, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&)
 class cpp_function : public function {
       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&)
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1486:240: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>, pybind11::is_method)’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...) const, const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...) const, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1486:240: note:   mismatched types ‘Return (Class::*)(Arg ...) const’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1486:240: note:   mismatched types ‘Return (Class::*)(Arg ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...)
     cpp_function(Func &&f, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return (*)(Args ...), const Extra& ...)
     cpp_function(Return (*f)(Args...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1486:240: note:   mismatched types ‘Return (*)(Args ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t)
     cpp_function(std::nullptr_t) { }
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note: candidate: pybind11::cpp_function::cpp_function()
     cpp_function() { }
         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note:   candidate expects 0 arguments, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&)
 class cpp_function : public function {
       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&)
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1487:240: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>, pybind11::is_method)’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...) const, const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...) const, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1487:240: note:   mismatched types ‘Return (Class::*)(Arg ...) const’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1487:240: note:   mismatched types ‘Return (Class::*)(Arg ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...)
     cpp_function(Func &&f, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return (*)(Args ...), const Extra& ...)
     cpp_function(Return (*f)(Args...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1487:240: note:   mismatched types ‘Return (*)(Args ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t)
     cpp_function(std::nullptr_t) { }
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note: candidate: pybind11::cpp_function::cpp_function()
     cpp_function() { }
         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note:   candidate expects 0 arguments, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&)
 class cpp_function : public function {
       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&)
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1496:55: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object)>, pybind11::is_method)’
             [](object arg) { return int_(arg); }, is_method(m_base));
                                                       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...) const, const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...) const, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1496:55: note:   mismatched types ‘Return (Class::*)(Arg ...) const’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object)>’
             [](object arg) { return int_(arg); }, is_method(m_base));
                                                       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1496:55: note:   mismatched types ‘Return (Class::*)(Arg ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object)>’
             [](object arg) { return int_(arg); }, is_method(m_base));
                                                       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...)
     cpp_function(Func &&f, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return (*)(Args ...), const Extra& ...)
     cpp_function(Return (*f)(Args...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1496:55: note:   mismatched types ‘Return (*)(Args ...)’ and ‘pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object)>’
             [](object arg) { return int_(arg); }, is_method(m_base));
                                                       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t)
     cpp_function(std::nullptr_t) { }
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note: candidate: pybind11::cpp_function::cpp_function()
     cpp_function() { }
         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note:   candidate expects 0 arguments, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&)
 class cpp_function : public function {
       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&)
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   candidate expects 1 argument, 2 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h: In function ‘void pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)’:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1591:54: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)::<lambda(pybind11::handle)>)’
             [patient](handle weakref) { patient.dec_ref(); weakref.dec_ref(); });
                                                      ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...) const, const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...) const, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1591:54: note:   mismatched types ‘Return (Class::*)(Arg ...) const’ and ‘pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)::<lambda(pybind11::handle)>’
             [patient](handle weakref) { patient.dec_ref(); weakref.dec_ref(); });
                                                      ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1591:54: note:   mismatched types ‘Return (Class::*)(Arg ...)’ and ‘pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)::<lambda(pybind11::handle)>’
             [patient](handle weakref) { patient.dec_ref(); weakref.dec_ref(); });
                                                      ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...)
     cpp_function(Func &&f, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return (*)(Args ...), const Extra& ...)
     cpp_function(Return (*f)(Args...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1591:54: note:   mismatched types ‘Return (*)(Args ...)’ and ‘pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)::<lambda(pybind11::handle)>’
             [patient](handle weakref) { patient.dec_ref(); weakref.dec_ref(); });
                                                      ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t)
     cpp_function(std::nullptr_t) { }
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note:   no known conversion for argument 1 from ‘pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)::<lambda(pybind11::handle)>’ to ‘std::nullptr_t’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note: candidate: pybind11::cpp_function::cpp_function()
     cpp_function() { }
         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note:   candidate expects 0 arguments, 1 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&)
 class cpp_function : public function {
       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   no known conversion for argument 1 from ‘pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)::<lambda(pybind11::handle)>’ to ‘const pybind11::cpp_function&’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&)
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   no known conversion for argument 1 from ‘pybind11::detail::keep_alive_impl(pybind11::handle, pybind11::handle)::<lambda(pybind11::handle)>’ to ‘pybind11::cpp_function&&’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h: In function ‘std::pair<std::__detail::_Node_iterator<std::pair<_typeobject* const, std::vector<pybind11::detail::type_info*> >, false, false>, bool> pybind11::detail::all_type_info_get_cache(PyTypeObject*)’:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1627:3: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::all_type_info_get_cache(PyTypeObject*)::<lambda(pybind11::handle)>)’
         })).release();
   ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...) const, const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...) const, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:80:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1627:3: note:   mismatched types ‘Return (Class::*)(Arg ...) const’ and ‘pybind11::detail::all_type_info_get_cache(PyTypeObject*)::<lambda(pybind11::handle)>’
         })).release();
   ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note: candidate: template<class Return, class Class, class ... Arg, class ... Extra> pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...)
     cpp_function(Return (Class::*f)(Arg...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:73:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1627:3: note:   mismatched types ‘Return (Class::*)(Arg ...)’ and ‘pybind11::detail::all_type_info_get_cache(PyTypeObject*)::<lambda(pybind11::handle)>’
         })).release();
   ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note: candidate: template<class Func, class ... Extra, class> pybind11::cpp_function::cpp_function(Func&&, const Extra& ...)
     cpp_function(Func &&f, const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:66:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note: candidate: template<class Return, class ... Args, class ... Extra> pybind11::cpp_function::cpp_function(Return (*)(Args ...), const Extra& ...)
     cpp_function(Return (*f)(Args...), const Extra&... extra) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:59:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1627:3: note:   mismatched types ‘Return (*)(Args ...)’ and ‘pybind11::detail::all_type_info_get_cache(PyTypeObject*)::<lambda(pybind11::handle)>’
         })).release();
   ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note: candidate: pybind11::cpp_function::cpp_function(std::nullptr_t)
     cpp_function(std::nullptr_t) { }
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:55:1: note:   no known conversion for argument 1 from ‘pybind11::detail::all_type_info_get_cache(PyTypeObject*)::<lambda(pybind11::handle)>’ to ‘std::nullptr_t’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note: candidate: pybind11::cpp_function::cpp_function()
     cpp_function() { }
         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:54:9: note:   candidate expects 0 arguments, 1 provided
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(const pybind11::cpp_function&)
 class cpp_function : public function {
       ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   no known conversion for argument 1 from ‘pybind11::detail::all_type_info_get_cache(PyTypeObject*)::<lambda(pybind11::handle)>’ to ‘const pybind11::cpp_function&’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note: candidate: pybind11::cpp_function::cpp_function(pybind11::cpp_function&&)
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:52:7: note:   no known conversion for argument 1 from ‘pybind11::detail::all_type_info_get_cache(PyTypeObject*)::<lambda(pybind11::handle)>’ to ‘pybind11::cpp_function&&’
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h: In function ‘int detectron2::deform_conv_forward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, int, int, int, int, int, int, int, int, int, int)’:
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:136:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:136:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:136:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!");
                                         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:137:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(offset.type().is_cuda(), "offset tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:137:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(offset.type().is_cuda(), "offset tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:137:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(offset.type().is_cuda(), "offset tensor is not on GPU!");
                                         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h: In function ‘int detectron2::deform_conv_backward_input(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, int, int, int, int, int, int, int, int, int, int)’:
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:184:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(input.type().is_cuda(), "input tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:184:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(input.type().is_cuda(), "input tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:184:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(input.type().is_cuda(), "input tensor is not on GPU!");
                                         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:185:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:185:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:185:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!");
                                         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:186:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(offset.type().is_cuda(), "offset tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:186:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(offset.type().is_cuda(), "offset tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:186:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(offset.type().is_cuda(), "offset tensor is not on GPU!");
                                         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h: In function ‘int detectron2::deform_conv_backward_filter(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, int, int, int, int, int, int, int, int, int, float, int)’:
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:234:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(input.type().is_cuda(), "input tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:234:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(input.type().is_cuda(), "input tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:234:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(input.type().is_cuda(), "input tensor is not on GPU!");
                                         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:235:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(offset.type().is_cuda(), "offset tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:235:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(offset.type().is_cuda(), "offset tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:235:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(offset.type().is_cuda(), "offset tensor is not on GPU!");
                                         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h: In function ‘void detectron2::modulated_deform_conv_forward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, int, int, int, int, int, int, int, int, int, bool)’:
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:284:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:284:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:284:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!");
                                         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:285:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(bias.type().is_cuda(), "bias tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:285:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(bias.type().is_cuda(), "bias tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:285:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(bias.type().is_cuda(), "bias tensor is not on GPU!");
                                         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:286:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(offset.type().is_cuda(), "offset tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:286:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(offset.type().is_cuda(), "offset tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:286:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(offset.type().is_cuda(), "offset tensor is not on GPU!");
                                         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h: In function ‘void detectron2::modulated_deform_conv_backward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, int, int, int, int, int, int, int, int, int, bool)’:
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:341:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(input.type().is_cuda(), "input tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:341:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(input.type().is_cuda(), "input tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:341:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(input.type().is_cuda(), "input tensor is not on GPU!");
                                         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:342:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:342:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:342:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(weight.type().is_cuda(), "weight tensor is not on GPU!");
                                         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:343:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(bias.type().is_cuda(), "bias tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:343:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(bias.type().is_cuda(), "bias tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:343:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(bias.type().is_cuda(), "bias tensor is not on GPU!");
                                         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:344:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(offset.type().is_cuda(), "offset tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:344:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(offset.type().is_cuda(), "offset tensor is not on GPU!");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv.h:344:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
     AT_CHECK(offset.type().is_cuda(), "offset tensor is not on GPU!");
                                         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu: In function ‘void detectron2::shape_check(at::Tensor, at::Tensor, at::Tensor*, at::Tensor, int, int, int, int, int, int, int, int, int, int)’:
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:155:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:155:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:155:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:161:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
   AT_CHECK(weight.is_contiguous(), "weight tensor has to be contiguous");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:161:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
   AT_CHECK(weight.is_contiguous(), "weight tensor has to be contiguous");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:161:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
   AT_CHECK(weight.is_contiguous(), "weight tensor has to be contiguous");
                                         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:163:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:163:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:163:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:169:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:169:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:169:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:178:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:178:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:178:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:184:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:184:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:184:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:201:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:201:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:201:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:215:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:215:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:215:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:230:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:230:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:230:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:236:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:236:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:236:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:240:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:240:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:240:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:249:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:249:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:249:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:254:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:254:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:254:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:260:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:260:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:260:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu: In function ‘int detectron2::deform_conv_forward_cuda(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, int, int, int, int, int, int, int, int, int, int)’:
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:338:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
   AT_CHECK((offset.size(0) == batchSize), "invalid batch size of offset");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:338:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
   AT_CHECK((offset.size(0) == batchSize), "invalid batch size of offset");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:338:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
   AT_CHECK((offset.size(0) == batchSize), "invalid batch size of offset");
                                         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu: In function ‘int detectron2::deform_conv_backward_input_cuda(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, int, int, int, int, int, int, int, int, int, int)’:
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:503:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
   AT_CHECK((offset.size(0) == batchSize), 3, "invalid batch size of offset");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:503:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
   AT_CHECK((offset.size(0) == batchSize), 3, "invalid batch size of offset");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:503:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
   AT_CHECK((offset.size(0) == batchSize), 3, "invalid batch size of offset");
                                         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu: In function ‘int detectron2::deform_conv_backward_parameters_cuda(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, int, int, int, int, int, int, int, int, int, float, int)’:
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:696:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
   AT_CHECK((offset.size(0) == batchSize), "invalid batch size of offset");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:696:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
   AT_CHECK((offset.size(0) == batchSize), "invalid batch size of offset");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:696:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
   AT_CHECK((offset.size(0) == batchSize), "invalid batch size of offset");
                                         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu: In function ‘void detectron2::modulated_deform_conv_cuda_forward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, int, int, int, int, int, int, int, int, int, bool)’:
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:823:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
   AT_CHECK(input.is_contiguous(), "input tensor has to be contiguous");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:823:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
   AT_CHECK(input.is_contiguous(), "input tensor has to be contiguous");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:823:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
   AT_CHECK(input.is_contiguous(), "input tensor has to be contiguous");
                                         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:824:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
   AT_CHECK(weight.is_contiguous(), "weight tensor has to be contiguous");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:824:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
   AT_CHECK(weight.is_contiguous(), "weight tensor has to be contiguous");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:824:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
   AT_CHECK(weight.is_contiguous(), "weight tensor has to be contiguous");
                                         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu: In function ‘void detectron2::modulated_deform_conv_cuda_backward(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, int, int, int, int, int, int, int, int, int, bool)’:
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:953:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
   AT_CHECK(input.is_contiguous(), "input tensor has to be contiguous");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:953:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
   AT_CHECK(input.is_contiguous(), "input tensor has to be contiguous");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:953:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
   AT_CHECK(input.is_contiguous(), "input tensor has to be contiguous");
                                         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:954:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
   AT_CHECK(weight.is_contiguous(), "weight tensor has to be contiguous");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:954:21: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
   AT_CHECK(weight.is_contiguous(), "weight tensor has to be contiguous");
                     ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/detectron2/detectron2/layers/csrc/deformable/deform_conv_cuda.cu:954:41: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
   AT_CHECK(weight.is_contiguous(), "weight tensor has to be contiguous");
                                         ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:325:1: note: declared here
 inline void deprecated_AT_CHECK() {}
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h: In instantiation of ‘T pybind11::object::cast() && [with T = std::__cxx11::basic_string<char>]’:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/detail/class.h:537:147:   required from here
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1717:68: error: could not convert ‘pybind11::cast<std::__cxx11::basic_string<char> >((* & std::move<pybind11::object&>((*(pybind11::object*)this))))’ from ‘int’ to ‘std::__cxx11::basic_string<char>’
 template <typename T> T object::cast() && { return pybind11::cast<T>(std::move(*this)); }
                                                                    ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h: In instantiation of ‘pybind11::object pybind11::detail::object_api<Derived>::operator()(Args&& ...) const [with pybind11::return_value_policy policy = (pybind11::return_value_policy)1u; Args = {}; Derived = pybind11::detail::accessor<pybind11::detail::accessor_policies::str_attr>]’:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:201:52:   required from here
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2108:44: error: no matching function for call to ‘collect_arguments()’
     return detail::collect_arguments<policy>(std::forward<Args>(args)...).call(derived().ptr());
                                            ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2087:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::simple_collector<policy> pybind11::detail::collect_arguments(Args&& ...)
 simple_collector<policy> collect_arguments(Args &&...args) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2087:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2094:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::unpacking_collector<policy> pybind11::detail::collect_arguments(Args&& ...)
 unpacking_collector<policy> collect_arguments(Args &&...args) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2094:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h: In instantiation of ‘pybind11::object pybind11::detail::object_api<Derived>::operator()(Args&& ...) const [with pybind11::return_value_policy policy = (pybind11::return_value_policy)1u; Args = {pybind11::handle, pybind11::handle, pybind11::none, pybind11::str}; Derived = pybind11::handle]’:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:971:158:   required from here
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2108:44: error: no matching function for call to ‘collect_arguments(pybind11::handle, pybind11::handle, pybind11::none, pybind11::str)’
     return detail::collect_arguments<policy>(std::forward<Args>(args)...).call(derived().ptr());
                                            ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2087:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::simple_collector<policy> pybind11::detail::collect_arguments(Args&& ...)
 simple_collector<policy> collect_arguments(Args &&...args) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2087:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2094:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::unpacking_collector<policy> pybind11::detail::collect_arguments(Args&& ...)
 unpacking_collector<policy> collect_arguments(Args &&...args) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2094:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h: In instantiation of ‘pybind11::object pybind11::detail::object_api<Derived>::operator()(Args&& ...) const [with pybind11::return_value_policy policy = (pybind11::return_value_policy)1u; Args = {pybind11::tuple&}; Derived = pybind11::detail::accessor<pybind11::detail::accessor_policies::str_attr>]’:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1812:39:   required from here
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2108:44: error: no matching function for call to ‘collect_arguments(pybind11::tuple&)’
     return detail::collect_arguments<policy>(std::forward<Args>(args)...).call(derived().ptr());
                                            ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2087:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::simple_collector<policy> pybind11::detail::collect_arguments(Args&& ...)
 simple_collector<policy> collect_arguments(Args &&...args) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2087:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2094:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::unpacking_collector<policy> pybind11::detail::collect_arguments(Args&& ...)
 unpacking_collector<policy> collect_arguments(Args &&...args) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2094:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h: In instantiation of ‘pybind11::object pybind11::detail::object_api<Derived>::operator()(Args&& ...) const [with pybind11::return_value_policy policy = (pybind11::return_value_policy)1u; Args = {pybind11::object&}; Derived = pybind11::detail::accessor<pybind11::detail::accessor_policies::str_attr>]’:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1830:11:   required from here
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2108:44: error: no matching function for call to ‘collect_arguments(pybind11::object&)’
     return detail::collect_arguments<policy>(std::forward<Args>(args)...).call(derived().ptr());
                                            ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2087:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::simple_collector<policy> pybind11::detail::collect_arguments(Args&& ...)
 simple_collector<policy> collect_arguments(Args &&...args) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2087:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2094:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::unpacking_collector<policy> pybind11::detail::collect_arguments(Args&& ...)
 unpacking_collector<policy> collect_arguments(Args &&...args) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2094:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h: In instantiation of ‘pybind11::object pybind11::detail::object_api<Derived>::operator()(Args&& ...) const [with pybind11::return_value_policy policy = (pybind11::return_value_policy)1u; Args = {pybind11::object}; Derived = pybind11::detail::accessor<pybind11::detail::accessor_policies::str_attr>]’:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1831:64:   required from here
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2108:44: error: no matching function for call to ‘collect_arguments(pybind11::object)’
     return detail::collect_arguments<policy>(std::forward<Args>(args)...).call(derived().ptr());
                                            ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2087:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::simple_collector<policy> pybind11::detail::collect_arguments(Args&& ...)
 simple_collector<policy> collect_arguments(Args &&...args) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2087:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2094:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::unpacking_collector<policy> pybind11::detail::collect_arguments(Args&& ...)
 unpacking_collector<policy> collect_arguments(Args &&...args) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2094:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h: In instantiation of ‘pybind11::object pybind11::detail::object_api<Derived>::operator()(Args&& ...) const [with pybind11::return_value_policy policy = (pybind11::return_value_policy)1u; Args = {const char* const&}; Derived = pybind11::detail::accessor<pybind11::detail::accessor_policies::str_attr>]’:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pytypes.h:1375:35:   required from ‘bool pybind11::detail::object_api<Derived>::contains(T&&) const [with T = const char* const&; Derived = pybind11::handle]’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/detail/internals.h:176:25:   required from here
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2108:44: error: no matching function for call to ‘collect_arguments(const char* const&)’
     return detail::collect_arguments<policy>(std::forward<Args>(args)...).call(derived().ptr());
                                            ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2087:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::simple_collector<policy> pybind11::detail::collect_arguments(Args&& ...)
 simple_collector<policy> collect_arguments(Args &&...args) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2087:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2094:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::unpacking_collector<policy> pybind11::detail::collect_arguments(Args&& ...)
 unpacking_collector<policy> collect_arguments(Args &&...args) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2094:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h: In instantiation of ‘int pybind11::cast(pybind11::object&&) [with T = std::__cxx11::basic_string<char>]’:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1717:68:   required from ‘T pybind11::object::cast() && [with T = std::__cxx11::basic_string<char>]’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/detail/class.h:537:147:   required from here
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:1713:24: error: cannot convert ‘std::__cxx11::basic_string<char>’ to ‘int’ in return
     return cast<T>(object);
                        ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h: In instantiation of ‘pybind11::object pybind11::detail::object_api<Derived>::operator()(Args&& ...) const [with pybind11::return_value_policy policy = (pybind11::return_value_policy)1u; Args = {pybind11::handle&, pybind11::handle&}; Derived = pybind11::detail::accessor<pybind11::detail::accessor_policies::str_attr>]’:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pytypes.h:923:28:   required from ‘pybind11::str pybind11::str::format(Args&& ...) const [with Args = {pybind11::handle&, pybind11::handle&}]’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:755:72:   required from here
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2108:44: error: no matching function for call to ‘collect_arguments(pybind11::handle&, pybind11::handle&)’
     return detail::collect_arguments<policy>(std::forward<Args>(args)...).call(derived().ptr());
                                            ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2087:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::simple_collector<policy> pybind11::detail::collect_arguments(Args&& ...)
 simple_collector<policy> collect_arguments(Args &&...args) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2087:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2094:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::unpacking_collector<policy> pybind11::detail::collect_arguments(Args&& ...)
 unpacking_collector<policy> collect_arguments(Args &&...args) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2094:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h: In instantiation of ‘pybind11::object pybind11::detail::object_api<Derived>::operator()(Args&& ...) const [with pybind11::return_value_policy policy = (pybind11::return_value_policy)1u; Args = {pybind11::object&, const pybind11::handle&}; Derived = pybind11::detail::accessor<pybind11::detail::accessor_policies::str_attr>]’:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pytypes.h:923:28:   required from ‘pybind11::str pybind11::str::format(Args&& ...) const [with Args = {pybind11::object&, const pybind11::handle&}]’
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1401:51:   required from here
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2108:44: error: no matching function for call to ‘collect_arguments(pybind11::object&, const pybind11::handle&)’
     return detail::collect_arguments<policy>(std::forward<Args>(args)...).call(derived().ptr());
                                            ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2087:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::simple_collector<policy> pybind11::detail::collect_arguments(Args&& ...)
 simple_collector<policy> collect_arguments(Args &&...args) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2087:1: note:   template argument deduction/substitution failed:
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2094:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::unpacking_collector<policy> pybind11::detail::collect_arguments(Args&& ...)
 unpacking_collector<policy> collect_arguments(Args &&...args) {
 ^
/home/ubuntu/miniconda/envs/detectron-env/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2094:1: note:   template argument deduction/substitution failed:
error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1

Expected behavior

Since I did not find any official comment that CUDA 9.0 is not supported anymore, I expected that the installation should work. In #176 the issue was resolved by upgrading CUDA. Unfortunately I can't do that in my case.

Environment

---------------------  --------------------------------------------------
sys.platform           linux
Python                 3.7.5 (default, Oct 25 2019, 15:51:11) [GCC 7.3.0]
Numpy                  1.17.3
detectron2._C          failed to import
DETECTRON2_ENV_MODULE  <not set>
PyTorch                1.3.0a0+ee77ccb
PyTorch Debug Build    False
torchvision            0.4.2
CUDA available         True
GPU 0,1,2,3,4,5,6,7    Tesla V100-SXM2-16GB
CUDA_HOME              /usr/local/cuda
NVCC                   Cuda compilation tools, release 9.0, V9.0.176
Pillow                 6.2.1
cv2                    4.1.2
---------------------  --------------------------------------------------
PyTorch built with:
  - GCC 5.4
  - Intel(R) Math Kernel Library Version 2019.0.4 Product Build 20190411 for Intel(R) 64 architecture applications
  - Intel(R) MKL-DNN v0.20.5 (Git Hash 0125f28c61c1f822fd48570b4c1066f96fcb9b2e)
  - OpenMP 201307 (a.k.a. OpenMP 4.0)
  - NNPACK is enabled
  - CUDA Runtime 9.0
  - NVCC architecture flags: -gencode;arch=compute_70,code=sm_70
  - CuDNN 7.4.1  (built against CUDA 10.0)
  - Magma 2.5.0
  - Build settings: BLAS=MKL, BUILD_NAMEDTENSOR=OFF, BUILD_TYPE=Release, CXX_FLAGS= -fvisibility-inlines-hidden -fopenmp -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -O2 -fPIC -Wno-narrowing -Wall -Wextra -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math, FORCE_FALLBACK_CUDA_MPI=1, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, USE_CUDA=True, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=ON, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_STATIC_DISPATCH=OFF,
ppwwyyxx commented 4 years ago

According to https://github.com/NVIDIA/apex/issues/185#issuecomment-471240746 this is a bug in nvcc 9.0. Could you try whether the latest version 10e5bb0d8474f4eb3611edfe6160e8d82d74fc7e works around the issue?

DetectionIIT commented 4 years ago

I have met the same error with cuda9.0 and solved it with cuda10.1

bernhardschaefer commented 4 years ago

Thanks for the fix in https://github.com/facebookresearch/detectron2/commit/10e5bb0d8474f4eb3611edfe6160e8d82d74fc7e. I still run into the issue with those changes. However, changing one more in #420 let's me finally build detectron2 successfully. :-)

bernhardschaefer commented 4 years ago

I celebrated too early. Tried running inference on the GPU and run into RuntimeError: cuDNN error: CUDNN_STATUS_NOT_INITIALIZED. Could this be related to the change in #420?

python demo/demo.py --config-file configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x.yaml --input ~/D056394/bird2.jpg ~/D056934/dogs.jpg --opts MODEL.WEIGHTS detectron2://COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x/137849600/model_final_f10217.pkl
[11/28 09:47:49 detectron2]: Arguments: Namespace(confidence_threshold=0.5, config_file='configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x.yaml', input=['/home/ubuntu/D056394/bird2.jpg', '/home/ubuntu/D056934/dogs.jpg'], opts=['MODEL.WEIGHTS', 'detectron2://COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x/137849600/model_final_f10217.pkl'], output=None, video_input=None, webcam=False)
WARNING [11/28 09:47:49 d2.config.compat]: Config 'configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x.yaml' has no VERSION. Assuming it to be compatible with latest v2.
  File "demo/demo.py", line 83, in <module>
    predictions, visualized_output = demo.run_on_image(img)
  File "/home/ubuntu/detectron2/demo/predictor.py", line 48, in run_on_image
    predictions = self.predictor(image)
  File "/home/ubuntu/miniconda/envs/lib/python3.7/site-packages/torch/autograd/grad_mode.py", line 49, in decorate_no_grad
    return func(*args, **kwargs)
  File "/home/ubuntu/detectron2/detectron2/engine/defaults.py", line 188, in __call__
    predictions = self.model([inputs])[0]
  File "/home/ubuntu/miniconda/envs/lib/python3.7/site-packages/torch/nn/modules/module.py", line 541, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ubuntu/detectron2/detectron2/modeling/meta_arch/rcnn.py", line 66, in forward
    return self.inference(batched_inputs)
  File "/home/ubuntu/detectron2/detectron2/modeling/meta_arch/rcnn.py", line 115, in inference
    features = self.backbone(images.tensor)
  File "/home/ubuntu/miniconda/envs/lib/python3.7/site-packages/torch/nn/modules/module.py", line 541, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ubuntu/detectron2/detectron2/modeling/backbone/fpn.py", line 122, in forward
    bottom_up_features = self.bottom_up(x)
  File "/home/ubuntu/miniconda/envs/lib/python3.7/site-packages/torch/nn/modules/module.py", line 541, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ubuntu/detectron2/detectron2/modeling/backbone/resnet.py", line 381, in forward
    x = self.stem(x)
  File "/home/ubuntu/miniconda/envs/lib/python3.7/site-packages/torch/nn/modules/module.py", line 541, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ubuntu/detectron2/detectron2/modeling/backbone/resnet.py", line 313, in forward
    x = self.conv1(x)
  File "/home/ubuntu/miniconda/envs/lib/python3.7/site-packages/torch/nn/modules/module.py", line 541, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ubuntu/detectron2/detectron2/layers/wrappers.py", line 87, in forward
    x = super().forward(x)
  File "/home/ubuntu/miniconda/envs/lib/python3.7/site-packages/torch/nn/modules/conv.py", line 345, in forward
    return self.conv2d_forward(input, self.weight)
  File "/home/ubuntu/miniconda/envs/lib/python3.7/site-packages/torch/nn/modules/conv.py", line 342, in conv2d_forward
    self.padding, self.dilation, self.groups)
RuntimeError: cuDNN error: CUDNN_STATUS_NOT_INITIALIZED
ppwwyyxx commented 4 years ago

That usually means that your cudnn version is unsupported in your environment.

bernhardschaefer commented 4 years ago

The cudnn version seems to match: cuDNN version: /usr/lib/x86_64-linux-gnu/libcudnn.so.7.4.1

PyTorch built with:
  - CUDA Runtime 9.0
  - CuDNN 7.4.1  (built against CUDA 10.0)

However, the information that CuDNN has been built against CUDA 10.0 seems to be wrong. I haven't found a PyTorch build option to change that.

Should I file that issue upstream in PyTorch?

ppwwyyxx commented 4 years ago

It just means you installed a wrong version of cudnn. You should use a cudnn built against CUDA 9.0

closing as the original issue was addressed