markstrefford / running-detectron2-on-windows-wsl2-rtx30xx

How to run Detectron2 on Windows using WSL2 and RTX30xx cards.
Apache License 2.0
13 stars 0 forks source link

yml file isn't working(CondaEnvException: Pip failed) #2

Closed mobassir94 closed 3 years ago

mobassir94 commented 3 years ago

when i tried to install packages using your yml file from anaconda propt,i get this large error trace : https://pastebin.com/

i am using rtx 3060ti and cuda 11.1

markstrefford commented 3 years ago

when i tried to install packages using your yml file from anaconda propt,i get this large error trace : https://pastebin.com/

i am using rtx 3060ti and cuda 11.1

You've posted a generic pastebin URL, not a specific one for me to see your error. Can you paste it in the comments below?

mobassir94 commented 3 years ago

hi @markstrefford the error is hugeee,,, can't paste it here in the comment box so i shared through pastebin but final few lines of the error trace looks like this :

ERROR: Command errored out with exit status 1: 'C:\Users\Mobassir\anaconda3\envs\detectron2\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Mobassir\\AppData\\Local\\Temp\\pip-req-build-fw16lcya\\setup.py'"'"'; __file__='"'"'C:\\Users\\Mobassir\\AppData\\Local\\Temp\\pip-req-build-fw16lcya\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Mobassir\AppData\Local\Temp\pip-record-i9dkzzkg\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Mobassir\anaconda3\envs\detectron2\Include\detectron2' Check the logs for full command output.

failed

CondaEnvException: Pip failed
markstrefford commented 3 years ago

Can you share a proper pastebin link then? There’s not enough info in those last few lines.

markstrefford commented 3 years ago

As a thought, cuda 11.1 didn’t work for me. 11.2 or 11.3 were recommended based on other posts I saw at the time.

mobassir94 commented 3 years ago

sorry my bad,,i didn't notice that i have shared invalid pastebin link,,,actually the error log is so big and it didn't even fit in pastebin limit :D

let me share the full error trace with few comments(read one by one),thanks

mobassir94 commented 3 years ago

C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(156): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(285): note: see reference to class template instantiation 'c10::complex' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(161): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(166): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(172): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(178): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(185): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(192): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(211): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(229): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(237): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(270): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(276): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(515): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optional::operator ->': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(474): warning C4814: 'c10::optional::operator ': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(479): warning C4814: 'c10::optional::operator ': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(491): warning C4814: 'c10::optional::value': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(497): warning C4814: 'c10::optional::value': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(509): warning C4814: 'c10::optional::value_or': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(93): warning C4814: 'c10::reverse_iterator<_Iterator>::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(177): note: see reference to class template instantiation 'c10::reverse_iterator<_Iterator>' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(126): warning C4814: 'c10::reverse_iterator<_Iterator>::operator ++': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(132): warning C4814: 'c10::reverse_iterator<_Iterator>::operator ++': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(137): warning C4814: 'c10::reverse_iterator<_Iterator>::operator --': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(143): warning C4814: 'c10::reverse_iterator<_Iterator>::operator --': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(152): warning C4814: 'c10::reverse_iterator<_Iterator>::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(161): warning C4814: 'c10::reverse_iterator<_Iterator>::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(59): warning C4814: 'c10::basic_string_view::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(643): note: see reference to class template instantiation 'c10::basic_string_view' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(159): warning C4814: 'c10::basic_string_view::remove_prefix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(168): warning C4814: 'c10::basic_string_view::remove_suffix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(174): warning C4814: 'c10::basic_string_view::swap': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): error C3250: 'i': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): note: see usage of '++' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(104): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(105): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(59): warning C4814: 'c10::basic_string_view::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(123): note: see reference to class template instantiation 'c10::basic_string_view' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(159): warning C4814: 'c10::basic_string_view::remove_prefix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(168): warning C4814: 'c10::basic_string_view::remove_suffix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(174): warning C4814: 'c10::basic_string_view::swap': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(182): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::ScalarType &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const c10::ScalarType &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(284): error C2059: syntax error: 'return' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(284): error C2238: unexpected token(s) preceding ';' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(287): error C2144: syntax error: 'void' should be preceded by ';' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(187): error C2440: 'return': cannot convert from 'initializer list' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(187): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(190): error C2440: 'return': cannot convert from 'initializer list' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(190): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(192): error C2440: 'return': cannot convert from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(192): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(196): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(196): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(197): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(203): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'caffe2::TypeMeta &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const caffe2::TypeMeta &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(204): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(203): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(205): error C2440: 'return': cannot convert from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(205): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(207): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(211): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(211): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): error C2440: 'type cast': cannot convert from 'c10::ScalarType' to 'int' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): note: This conversion requires an explicit cast (static_cast, C-style cast or function-style cast) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): error C2446: '==': no conversion from 'c10::ScalarType' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/Scalar.h(63): warning C4800: 'const int64_t': forcing value to bool 'true' or 'false' (performance warning) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(24): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(181): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(24): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(28): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(203): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(28): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(31): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::Layout &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const c10::Layout &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(32): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(32): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(35): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::Device &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const c10::Device &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(36): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(36): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(39): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'bool &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const bool &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(40): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(39): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(40): error C2100: illegal indirection

mobassir94 commented 3 years ago

C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(138): error C2664: 'void c10::TensorOptions::set_layout(c10::optional) noexcept &': cannot convert argument 1 from 'c10::Layout' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(138): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(164): error C2664: 'void c10::TensorOptions::set_dtype(c10::optional) noexcept &': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(164): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(169): error C2664: 'void c10::TensorOptions::set_dtype(c10::optional) noexcept &': cannot convert argument 1 from 'c10::ScalarType' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(169): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(174): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::MemoryFormat &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const c10::MemoryFormat &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(174): error C2664: 'void c10::TensorOptions::set_memory_format(c10::optional) noexcept &': cannot convert argument 1 from 'c10::MemoryFormat' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(174): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(265): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(265): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(286): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(286): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(302): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(302): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(319): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(319): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(345): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(345): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(359): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(359): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(415): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(415): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(416): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(425): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(425): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(426): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(435): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(435): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(436): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(445): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(445): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(446): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(446): error C2440: '=': cannot convert from 'c10::optional' to 'c10::Layout' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(446): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(455): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(455): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(456): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(456): error C2440: '=': cannot convert from 'c10::optional' to 'bool' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(456): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(465): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(465): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(466): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(466): error C2440: '=': cannot convert from 'c10::optional' to 'bool' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(466): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(475): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(475): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(476): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(476): error C2440: '=': cannot convert from 'c10::optional' to 'c10::MemoryFormat' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(476): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(524): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(524): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(529): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(529): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(535): error C2664: 'c10::Layout c10::TensorOptions::layout(void) noexcept const': cannot convert argument 1 from 'c10::Layout' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(535): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(553): error C2664: 'bool c10::TensorOptions::requires_grad(void) noexcept const': cannot convert argument 1 from 'bool' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(553): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(559): error C2664: 'c10::TensorOptions c10::TensorOptions::memory_format(c10::optional) noexcept const': cannot convert argument 1 from 'c10::MemoryFormat' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(559): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(481): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(485): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(485): error C2039: 'index': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(489): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(493): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1000): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1002): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1002): error C2039: 'type': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1247): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optional &c10::optional::operator =(c10::optional &&)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optional &c10::optional::operator =(const c10::optional &)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1247): note: while trying to match the argument list '(c10::optional, c10::Device)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1258): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optional &c10::optional::operator =(c10::optional &&)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optional &c10::optional::operator =(const c10::optional &)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1258): note: while trying to match the argument list '(c10::optional, c10::Device)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1318): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optional &c10::optional::operator =(c10::optional &&)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optional &c10::optional::operator =(const c10::optional &)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1318): note: while trying to match the argument list '(c10::optional, c10::Device)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1363): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optional &c10::optional::operator =(c10::optional &&)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optional &c10::optional::operator =(const c10::optional &)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1363): note: while trying to match the argument list '(c10::optional, c10::Device)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(95): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(95): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(96): error C2228: left of '.device' must have class/struct/union C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(97): error C2228: left of '.layout' must have class/struct/union C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(103): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(106): error C2039: 'value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(106): error C2512: 'c10::Device': no appropriate default constructor available C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/Device.h(30): note: see declaration of 'c10::Device' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/TensorBody.h(1319): warning C4522: 'at::Tensor': multiple assignment operators specified C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/TensorBody.h(561): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/TensorBody.h(561): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/TensorBody.h(561): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'at::Tensor &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const at::Tensor &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): fatal error C1003: error count exceeds 100; stopping compilation

mobassir94 commented 3 years ago

[6/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\cuda_version.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\cuda_version.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 support for this version of Microsoft Visual Studio has been deprecated! Only the versions between 2017 and 2019 (inclusive) are supported! nvcc warning : nvcc support for Microsoft Visual Studio 2015 and earlier has been deprecated and is no longer being maintained cuda_version.cu support for this version of Microsoft Visual Studio has been deprecated! Only the versions between 2017 and 2019 (inclusive) are supported! [7/13] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\cocoeval\cocoeval.cpp /FoC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\cocoeval\cocoeval.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 [8/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\deformable\deform_conv_cuda_kernel.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\deformable\deform_conv_cuda_kernel.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 FAILED: C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/build/temp.win-amd64-3.8/Release/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\deformable\deform_conv_cuda_kernel.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\deformable\deform_conv_cuda_kernel.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 support for this version of Microsoft Visual Studio has been deprecated! Only the versions between 2017 and 2019 (inclusive) are supported! C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(60): error: statement may not appear in a constexpr constructor

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(59): error: statement may not appear in a constexpr constructor

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(191): error: expression must have a constant value C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(191): note: this call cannot be evaluated because the target function function "c10::DispatchKeySet::DispatchKeySet(std::initializer_list)" (57): here is not constexpr or not completely defined yet

C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/include\thrust/detail/config/cpp_dialect.h:98: warning: Thrust requires MSVC 2017. Please upgrade your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message. C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/include\thrust/detail/config/cpp_dialect.h:104: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message. C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(283): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(115): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(121): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(127): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(133): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(159): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(171): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(184): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(190): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(199): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, const c10::TensorOptions &)]" (54): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(54): error: expression must have a constant value C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(54): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, const c10::TensorOptions &)]" (46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, c10::TensorOptions)]" (55): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(55): error: expression must have a constant value C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(55): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, c10::TensorOptions)]" (46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, std::string)]" (56): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(56): error: expression must have a constant value C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(56): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, std::string)]" (46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue detected during instantiation of "c10::optional &c10::optional::operator=(const c10::optional &) [with T=c10::ScalarType]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(699): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::ScalarType &" to initializer of type "const c10::ScalarType" detected during instantiation of "T &c10::optional::operator*() & [with T=c10::ScalarType]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/ScalarType.h(197): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "caffe2::TypeMeta &" to initializer of type "const caffe2::TypeMeta" detected during instantiation of "T &c10::optional::operator*() & [with T=caffe2::TypeMeta]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/ScalarType.h(207): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Layout &" to initializer of type "const c10::Layout" detected during instantiation of "T &c10::optional::operator*() & [with T=c10::Layout]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(32): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands operand types are: const c10::Device = c10::Device detected during instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=c10::Device]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorImpl.h(1228): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Device &" to initializer of type "const c10::Device" detected during instantiation of "T &c10::optional::operator*() & [with T=c10::Device]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(36): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::Device &" to initializer of type "const c10::Device" detected during instantiation of "T &c10::optional::value() & [with T=c10::Device]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/DeprecatedTypeProperties.h(106): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue detected during instantiation of "c10::optional &c10::optional::operator=(const c10::optional &) [with T=__nv_bool]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(693): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "nv_bool &" to initializer of type "const __nv_bool" detected during instantiation of "T &c10::optional::operator*() & [with T=nv_bool]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(40): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(496): error: qualifiers dropped in binding reference of type "nv_bool &&" to initializer of type "const __nv_bool" detected during instantiation of "T &&c10::optional::value() && [with T=nv_bool]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(19): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::MemoryFormat &" to initializer of type "const c10::MemoryFormat" detected during instantiation of "T &c10::optional::operator*() & [with T=c10::MemoryFormat]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(476): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "c10::MemoryFormat &&" to initializer of type "const c10::MemoryFormat" detected during instantiation of "T &&c10::optional::operator*() && [with T=c10::MemoryFormat]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/Functions.h(1521): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const c10::Device = c10::Device detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=c10::Device, U=c10::Device]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorImpl.h(1247): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "int64_t &" to initializer of type "const int64_t" detected during instantiation of "T &c10::optional::operator*() & [with T=int64_t]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(474): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "int64_t &" to initializer of type "const int64_t" detected during instantiation of "T &c10::optional::value() & [with T=int64_t]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/TensorIndexing.h(31): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::string &" to initializer of type "const std::string" detected during instantiation of "T &c10::optional::operator*() & [with T=std::string]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(121): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "size_t &" to initializer of type "const size_t" detected during instantiation of "T &c10::optional::operator*() & [with T=size_t]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(459): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const c10::Stride = c10::Stride detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=c10::Stride, U=c10::Stride]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(382): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: no operator "=" matches these operands operand types are: const std::vector<c10::ShapeSymbol, std::allocator> = const std::vector<c10::ShapeSymbol, std::allocator> detected during instantiation of "c10::optional &c10::optional::operator=(const c10::optional &) [with T=std::vector<c10::ShapeSymbol, std::allocator>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::vector<c10::ShapeSymbol, std::allocator> &" to initializer of type "const std::vector<c10::ShapeSymbol, std::allocator>" detected during: instantiation of "T &c10::optional::operator*() & [with T=std::vector<c10::ShapeSymbol, std::allocator>]" (400): here instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=std::vector<c10::ShapeSymbol, std::allocator>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands operand types are: const std::vector<c10::ShapeSymbol, std::allocator> = std::vector<c10::ShapeSymbol, std::allocator> detected during instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=std::vector<c10::ShapeSymbol, std::allocator>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const std::vector<c10::ShapeSymbol, std::allocator> = std::vector<c10::ShapeSymbol, std::allocator> detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=std::vector<c10::ShapeSymbol, std::allocator>, U=std::vector<c10::ShapeSymbol, std::allocator> &]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(463): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: no operator "=" matches these operands operand types are: const std::vector<c10::optional, std::allocator<c10::optional>> = const std::vector<c10::optional, std::allocator<c10::optional>> detected during instantiation of "c10::optional &c10::optional::operator=(const c10::optional &) [with T=std::vector<c10::optional, std::allocator<c10::optional>>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::vector<c10::optional, std::allocator<c10::optional>> &" to initializer of type "const std::vector<c10::optional, std::allocator<c10::optional>>" detected during: instantiation of "T &c10::optional::operator*() & [with T=std::vector<c10::optional, std::allocator<c10::optional>>]" (400): here instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=std::vector<c10::optional, std::allocator<c10::optional>>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands operand types are: const std::vector<c10::optional, std::allocator<c10::optional>> = std::vector<c10::optional, std::allocator<c10::optional>> detected during instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=std::vector<c10::optional, std::allocator<c10::optional>>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const std::vector<c10::optional, std::allocator<c10::optional>> = std::vector<c10::optional, std::allocator<c10::optional>> detected during: instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=std::vector<c10::optional, std::allocator<c10::optional>>, U=std::vector<c10::optional, std::allocator<c10::optional>>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(539): here instantiation of "c10::VaryingShape::VaryingShape(c10::optional) [with T=c10::Stride]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(709): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "std::vector<int64_t, std::allocator> &&" to initializer of type "const std::vector<int64_t, std::allocator>" detected during instantiation of "T &&c10::optional::operator*() && [with T=std::vector<int64_t, std::allocator>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(745): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: expression must be a modifiable lvalue detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=__nv_bool, U=__nv_bool]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(787): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::QualifiedName &" to initializer of type "const c10::QualifiedName" detected during: instantiation of "T &c10::optional::operator*() & [with T=c10::QualifiedName]" (327): here instantiation of "c10::optional::optional(c10::optional &&) [with T=c10::QualifiedName]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(1058): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::DeviceIndex &" to initializer of type "const c10::DeviceIndex" detected during: instantiation of "T &c10::optional::value() & [with T=c10::DeviceIndex]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/impl/InlineDeviceGuard.h(220): here instantiation of "c10::impl::InlineOptionalDeviceGuard::InlineOptionalDeviceGuard(c10::optional) [with T=c10::cuda::impl::CUDAGuardImpl, U=c10::cuda::impl::CUDAGuardImpl, =void]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(74): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Stream &" to initializer of type "const c10::Stream" detected during: instantiation of "T &c10::optional::operator*() & [with T=c10::Stream]" (327): here instantiation of "c10::optional::optional(c10::optional &&) [with T=c10::Stream]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/impl/InlineStreamGuard.h(168): here instantiation of "c10::optional c10::impl::InlineOptionalStreamGuard::original_stream() const [with T=c10::cuda::impl::CUDAGuardImpl]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(208): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::Stream &" to initializer of type "const c10::Stream" detected during instantiation of "T &c10::optional::value() & [with T=c10::Stream]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(210): here

51 errors detected in the compilation of "C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu". nvcc warning : nvcc support for Microsoft Visual Studio 2015 and earlier has been deprecated and is no longer being maintained deform_conv_cuda_kernel.cu [9/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\nms_rotated\nms_rotated_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\nms_rotated\nms_rotated_cuda.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 FAILED: C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/build/temp.win-amd64-3.8/Release/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\nms_rotated\nms_rotated_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\nms_rotated\nms_rotated_cuda.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 support for this version of Microsoft Visual Studio has been deprecated! Only the versions between 2017 and 2019 (inclusive) are supported! C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(60): error: statement may not appear in a constexpr constructor

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(59): error: statement may not appear in a constexpr constructor

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(191): error: expression must have a constant value C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(191): note: this call cannot be evaluated because the target function function "c10::DispatchKeySet::DispatchKeySet(std::initializer_list)" (57): here is not constexpr or not completely defined yet

C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/include\thrust/detail/config/cpp_dialect.h:98: warning: Thrust requires MSVC 2017. Please upgrade your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message. C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/include\thrust/detail/config/cpp_dialect.h:104: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message. C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(283): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(115): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(121): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(127): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(133): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(159): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(171): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(184): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(190): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(199): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, const c10::TensorOptions &)]" (54): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(54): error: expression must have a constant value C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(54): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, const c10::TensorOptions &)]" (46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, c10::TensorOptions)]" (55): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(55): error: expression must have a constant value C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(55): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, c10::TensorOptions)]" (46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, std::string)]" (56): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(56): error: expression must have a constant value C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(56): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, std::string)]" (46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue detected during instantiation of "c10::optional &c10::optional::operator=(const c10::optional &) [with T=c10::ScalarType]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(699): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::ScalarType &" to initializer of type "const c10::ScalarType" detected during instantiation of "T &c10::optional::operator*() & [with T=c10::ScalarType]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/ScalarType.h(197): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "caffe2::TypeMeta &" to initializer of type "const caffe2::TypeMeta" detected during instantiation of "T &c10::optional::operator*() & [with T=caffe2::TypeMeta]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/ScalarType.h(207): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Layout &" to initializer of type "const c10::Layout" detected during instantiation of "T &c10::optional::operator*() & [with T=c10::Layout]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(32): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands operand types are: const c10::Device = c10::Device detected during instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=c10::Device]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorImpl.h(1228): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Device &" to initializer of type "const c10::Device" detected during instantiation of "T &c10::optional::operator*() & [with T=c10::Device]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(36): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::Device &" to initializer of type "const c10::Device" detected during instantiation of "T &c10::optional::value() & [with T=c10::Device]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/DeprecatedTypeProperties.h(106): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue detected during instantiation of "c10::optional &c10::optional::operator=(const c10::optional &) [with T=__nv_bool]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(693): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "nv_bool &" to initializer of type "const __nv_bool" detected during instantiation of "T &c10::optional::operator*() & [with T=nv_bool]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(40): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(496): error: qualifiers dropped in binding reference of type "nv_bool &&" to initializer of type "const __nv_bool" detected during instantiation of "T &&c10::optional::value() && [with T=nv_bool]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(19): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::MemoryFormat &" to initializer of type "const c10::MemoryFormat" detected during instantiation of "T &c10::optional::operator*() & [with T=c10::MemoryFormat]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(476): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "c10::MemoryFormat &&" to initializer of type "const c10::MemoryFormat" detected during instantiation of "T &&c10::optional::operator*() && [with T=c10::MemoryFormat]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/Functions.h(1521): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const c10::Device = c10::Device detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=c10::Device, U=c10::Device]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorImpl.h(1247): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "int64_t &" to initializer of type "const int64_t" detected during instantiation of "T &c10::optional::operator*() & [with T=int64_t]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(474): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "int64_t &" to initializer of type "const int64_t" detected during instantiation of "T &c10::optional::value() & [with T=int64_t]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/TensorIndexing.h(31): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::string &" to initializer of type "const std::string" detected during instantiation of "T &c10::optional::operator*() & [with T=std::string]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(121): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "size_t &" to initializer of type "const size_t" detected during instantiation of "T &c10::optional::operator*() & [with T=size_t]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(459): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const c10::Stride = c10::Stride detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=c10::Stride, U=c10::Stride]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(382): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: no operator "=" matches these operands operand types are: const std::vector<c10::ShapeSymbol, std::allocator> = const std::vector<c10::ShapeSymbol, std::allocator> detected during instantiation of "c10::optional &c10::optional::operator=(const c10::optional &) [with T=std::vector<c10::ShapeSymbol, std::allocator>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::vector<c10::ShapeSymbol, std::allocator> &" to initializer of type "const std::vector<c10::ShapeSymbol, std::allocator>" detected during: instantiation of "T &c10::optional::operator*() & [with T=std::vector<c10::ShapeSymbol, std::allocator>]" (400): here instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=std::vector<c10::ShapeSymbol, std::allocator>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

mobassir94 commented 3 years ago

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands operand types are: const std::vector<c10::ShapeSymbol, std::allocator> = std::vector<c10::ShapeSymbol, std::allocator> detected during instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=std::vector<c10::ShapeSymbol, std::allocator>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const std::vector<c10::ShapeSymbol, std::allocator> = std::vector<c10::ShapeSymbol, std::allocator> detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=std::vector<c10::ShapeSymbol, std::allocator>, U=std::vector<c10::ShapeSymbol, std::allocator> &]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(463): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: no operator "=" matches these operands operand types are: const std::vector<c10::optional, std::allocator<c10::optional>> = const std::vector<c10::optional, std::allocator<c10::optional>> detected during instantiation of "c10::optional &c10::optional::operator=(const c10::optional &) [with T=std::vector<c10::optional, std::allocator<c10::optional>>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::vector<c10::optional, std::allocator<c10::optional>> &" to initializer of type "const std::vector<c10::optional, std::allocator<c10::optional>>" detected during: instantiation of "T &c10::optional::operator*() & [with T=std::vector<c10::optional, std::allocator<c10::optional>>]" (400): here instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=std::vector<c10::optional, std::allocator<c10::optional>>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands operand types are: const std::vector<c10::optional, std::allocator<c10::optional>> = std::vector<c10::optional, std::allocator<c10::optional>> detected during instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=std::vector<c10::optional, std::allocator<c10::optional>>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const std::vector<c10::optional, std::allocator<c10::optional>> = std::vector<c10::optional, std::allocator<c10::optional>> detected during: instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=std::vector<c10::optional, std::allocator<c10::optional>>, U=std::vector<c10::optional, std::allocator<c10::optional>>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(539): here instantiation of "c10::VaryingShape::VaryingShape(c10::optional) [with T=c10::Stride]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(709): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "std::vector<int64_t, std::allocator> &&" to initializer of type "const std::vector<int64_t, std::allocator>" detected during instantiation of "T &&c10::optional::operator*() && [with T=std::vector<int64_t, std::allocator>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(745): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: expression must be a modifiable lvalue detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=__nv_bool, U=__nv_bool]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(787): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::QualifiedName &" to initializer of type "const c10::QualifiedName" detected during: instantiation of "T &c10::optional::operator*() & [with T=c10::QualifiedName]" (327): here instantiation of "c10::optional::optional(c10::optional &&) [with T=c10::QualifiedName]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(1058): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::DeviceIndex &" to initializer of type "const c10::DeviceIndex" detected during: instantiation of "T &c10::optional::value() & [with T=c10::DeviceIndex]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/impl/InlineDeviceGuard.h(220): here instantiation of "c10::impl::InlineOptionalDeviceGuard::InlineOptionalDeviceGuard(c10::optional) [with T=c10::cuda::impl::CUDAGuardImpl, U=c10::cuda::impl::CUDAGuardImpl, =void]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(74): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Stream &" to initializer of type "const c10::Stream" detected during: instantiation of "T &c10::optional::operator*() & [with T=c10::Stream]" (327): here instantiation of "c10::optional::optional(c10::optional &&) [with T=c10::Stream]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/impl/InlineStreamGuard.h(168): here instantiation of "c10::optional c10::impl::InlineOptionalStreamGuard::original_stream() const [with T=c10::cuda::impl::CUDAGuardImpl]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(208): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::Stream &" to initializer of type "const c10::Stream" detected during instantiation of "T &c10::optional::value() & [with T=c10::Stream]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(210): here

51 errors detected in the compilation of "C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.cu". nvcc warning : nvcc support for Microsoft Visual Studio 2015 and earlier has been deprecated and is no longer being maintained nms_rotated_cuda.cu [10/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cuda.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 FAILED: C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/build/temp.win-amd64-3.8/Release/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cuda.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 support for this version of Microsoft Visual Studio has been deprecated! Only the versions between 2017 and 2019 (inclusive) are supported! C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(60): error: statement may not appear in a constexpr constructor

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(59): error: statement may not appear in a constexpr constructor

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(191): error: expression must have a constant value C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(191): note: this call cannot be evaluated because the target function function "c10::DispatchKeySet::DispatchKeySet(std::initializer_list)" (57): here is not constexpr or not completely defined yet

C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/include\thrust/detail/config/cpp_dialect.h:98: warning: Thrust requires MSVC 2017. Please upgrade your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message. C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/include\thrust/detail/config/cpp_dialect.h:104: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message. C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(283): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(115): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(121): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(127): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(133): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(159): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(171): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(184): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(190): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(199): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, const c10::TensorOptions &)]" (54): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(54): error: expression must have a constant value C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(54): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, const c10::TensorOptions &)]" (46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, c10::TensorOptions)]" (55): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(55): error: expression must have a constant value C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(55): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, c10::TensorOptions)]" (46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, std::string)]" (56): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(56): error: expression must have a constant value C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(56): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, std::string)]" (46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue detected during instantiation of "c10::optional &c10::optional::operator=(const c10::optional &) [with T=c10::ScalarType]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(699): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::ScalarType &" to initializer of type "const c10::ScalarType" detected during instantiation of "T &c10::optional::operator*() & [with T=c10::ScalarType]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/ScalarType.h(197): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "caffe2::TypeMeta &" to initializer of type "const caffe2::TypeMeta" detected during instantiation of "T &c10::optional::operator*() & [with T=caffe2::TypeMeta]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/ScalarType.h(207): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Layout &" to initializer of type "const c10::Layout" detected during instantiation of "T &c10::optional::operator*() & [with T=c10::Layout]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(32): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands operand types are: const c10::Device = c10::Device detected during instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=c10::Device]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorImpl.h(1228): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Device &" to initializer of type "const c10::Device" detected during instantiation of "T &c10::optional::operator*() & [with T=c10::Device]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(36): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::Device &" to initializer of type "const c10::Device" detected during instantiation of "T &c10::optional::value() & [with T=c10::Device]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/DeprecatedTypeProperties.h(106): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue detected during instantiation of "c10::optional &c10::optional::operator=(const c10::optional &) [with T=__nv_bool]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(693): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "nv_bool &" to initializer of type "const __nv_bool" detected during instantiation of "T &c10::optional::operator*() & [with T=nv_bool]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(40): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(496): error: qualifiers dropped in binding reference of type "nv_bool &&" to initializer of type "const __nv_bool" detected during instantiation of "T &&c10::optional::value() && [with T=nv_bool]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(19): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::MemoryFormat &" to initializer of type "const c10::MemoryFormat" detected during instantiation of "T &c10::optional::operator*() & [with T=c10::MemoryFormat]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(476): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "c10::MemoryFormat &&" to initializer of type "const c10::MemoryFormat" detected during instantiation of "T &&c10::optional::operator*() && [with T=c10::MemoryFormat]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/Functions.h(1521): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const c10::Device = c10::Device detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=c10::Device, U=c10::Device]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorImpl.h(1247): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "int64_t &" to initializer of type "const int64_t" detected during instantiation of "T &c10::optional::operator*() & [with T=int64_t]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(474): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "int64_t &" to initializer of type "const int64_t" detected during instantiation of "T &c10::optional::value() & [with T=int64_t]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/TensorIndexing.h(31): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::string &" to initializer of type "const std::string" detected during instantiation of "T &c10::optional::operator*() & [with T=std::string]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(121): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "size_t &" to initializer of type "const size_t" detected during instantiation of "T &c10::optional::operator*() & [with T=size_t]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(459): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const c10::Stride = c10::Stride detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=c10::Stride, U=c10::Stride]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(382): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: no operator "=" matches these operands operand types are: const std::vector<c10::ShapeSymbol, std::allocator> = const std::vector<c10::ShapeSymbol, std::allocator> detected during instantiation of "c10::optional &c10::optional::operator=(const c10::optional &) [with T=std::vector<c10::ShapeSymbol, std::allocator>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::vector<c10::ShapeSymbol, std::allocator> &" to initializer of type "const std::vector<c10::ShapeSymbol, std::allocator>" detected during: instantiation of "T &c10::optional::operator*() & [with T=std::vector<c10::ShapeSymbol, std::allocator>]" (400): here instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=std::vector<c10::ShapeSymbol, std::allocator>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands operand types are: const std::vector<c10::ShapeSymbol, std::allocator> = std::vector<c10::ShapeSymbol, std::allocator> detected during instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=std::vector<c10::ShapeSymbol, std::allocator>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const std::vector<c10::ShapeSymbol, std::allocator> = std::vector<c10::ShapeSymbol, std::allocator> detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=std::vector<c10::ShapeSymbol, std::allocator>, U=std::vector<c10::ShapeSymbol, std::allocator> &]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(463): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: no operator "=" matches these operands operand types are: const std::vector<c10::optional, std::allocator<c10::optional>> = const std::vector<c10::optional, std::allocator<c10::optional>> detected during instantiation of "c10::optional &c10::optional::operator=(const c10::optional &) [with T=std::vector<c10::optional, std::allocator<c10::optional>>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::vector<c10::optional, std::allocator<c10::optional>> &" to initializer of type "const std::vector<c10::optional, std::allocator<c10::optional>>" detected during: instantiation of "T &c10::optional::operator*() & [with T=std::vector<c10::optional, std::allocator<c10::optional>>]" (400): here instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=std::vector<c10::optional, std::allocator<c10::optional>>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands operand types are: const std::vector<c10::optional, std::allocator<c10::optional>> = std::vector<c10::optional, std::allocator<c10::optional>> detected during instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=std::vector<c10::optional, std::allocator<c10::optional>>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const std::vector<c10::optional, std::allocator<c10::optional>> = std::vector<c10::optional, std::allocator<c10::optional>> detected during: instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=std::vector<c10::optional, std::allocator<c10::optional>>, U=std::vector<c10::optional, std::allocator<c10::optional>>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(539): here instantiation of "c10::VaryingShape::VaryingShape(c10::optional) [with T=c10::Stride]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(709): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "std::vector<int64_t, std::allocator> &&" to initializer of type "const std::vector<int64_t, std::allocator>" detected during instantiation of "T &&c10::optional::operator*() && [with T=std::vector<int64_t, std::allocator>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(745): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: expression must be a modifiable lvalue detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=__nv_bool, U=__nv_bool]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(787): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::QualifiedName &" to initializer of type "const c10::QualifiedName" detected during: instantiation of "T &c10::optional::operator*() & [with T=c10::QualifiedName]" (327): here instantiation of "c10::optional::optional(c10::optional &&) [with T=c10::QualifiedName]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(1058): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::DeviceIndex &" to initializer of type "const c10::DeviceIndex" detected during: instantiation of "T &c10::optional::value() & [with T=c10::DeviceIndex]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/impl/InlineDeviceGuard.h(220): here instantiation of "c10::impl::InlineOptionalDeviceGuard::InlineOptionalDeviceGuard(c10::optional) [with T=c10::cuda::impl::CUDAGuardImpl, U=c10::cuda::impl::CUDAGuardImpl, =void]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(74): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Stream &" to initializer of type "const c10::Stream" detected during: instantiation of "T &c10::optional::operator*() & [with T=c10::Stream]" (327): here instantiation of "c10::optional::optional(c10::optional &&) [with T=c10::Stream]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/impl/InlineStreamGuard.h(168): here instantiation of "c10::optional c10::impl::InlineOptionalStreamGuard::original_stream() const [with T=c10::cuda::impl::CUDAGuardImpl]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(208): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::Stream &" to initializer of type "const c10::Stream" detected during instantiation of "T &c10::optional::value() & [with T=c10::Stream]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(210): here

51 errors detected in the compilation of "C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu". nvcc warning : nvcc support for Microsoft Visual Studio 2015 and earlier has been deprecated and is no longer being maintained ROIAlignRotated_cuda.cu [11/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cuda.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 FAILED: C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/build/temp.win-amd64-3.8/Release/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cuda.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 support for this version of Microsoft Visual Studio has been deprecated! Only the versions between 2017 and 2019 (inclusive) are supported! C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(60): error: statement may not appear in a constexpr constructor

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(59): error: statement may not appear in a constexpr constructor

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(191): error: expression must have a constant value C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(191): note: this call cannot be evaluated because the target function function "c10::DispatchKeySet::DispatchKeySet(std::initializer_list)" (57): here is not constexpr or not completely defined yet

C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/include\thrust/detail/config/cpp_dialect.h:98: warning: Thrust requires MSVC 2017. Please upgrade your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message. C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/include\thrust/detail/config/cpp_dialect.h:104: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message. C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(283): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(115): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(121): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(127): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(133): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(159): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(171): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(184): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(190): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(199): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, const c10::TensorOptions &)]" (54): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(54): error: expression must have a constant value C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(54): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, const c10::TensorOptions &)]" (46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, c10::TensorOptions)]" (55): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(55): error: expression must have a constant value C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(55): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, c10::TensorOptions)]" (46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, std::string)]" (56): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(56): error: expression must have a constant value C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(56): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, std::string)]" (46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue detected during instantiation of "c10::optional &c10::optional::operator=(const c10::optional &) [with T=c10::ScalarType]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(699): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::ScalarType &" to initializer of type "const c10::ScalarType" detected during instantiation of "T &c10::optional::operator*() & [with T=c10::ScalarType]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/ScalarType.h(197): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "caffe2::TypeMeta &" to initializer of type "const caffe2::TypeMeta" detected during instantiation of "T &c10::optional::operator*() & [with T=caffe2::TypeMeta]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/ScalarType.h(207): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Layout &" to initializer of type "const c10::Layout" detected during instantiation of "T &c10::optional::operator*() & [with T=c10::Layout]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(32): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands operand types are: const c10::Device = c10::Device detected during instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=c10::Device]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorImpl.h(1228): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Device &" to initializer of type "const c10::Device" detected during instantiation of "T &c10::optional::operator*() & [with T=c10::Device]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(36): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::Device &" to initializer of type "const c10::Device" detected during instantiation of "T &c10::optional::value() & [with T=c10::Device]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/DeprecatedTypeProperties.h(106): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue detected during instantiation of "c10::optional &c10::optional::operator=(const c10::optional &) [with T=__nv_bool]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(693): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "nv_bool &" to initializer of type "const __nv_bool" detected during instantiation of "T &c10::optional::operator*() & [with T=nv_bool]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(40): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(496): error: qualifiers dropped in binding reference of type "nv_bool &&" to initializer of type "const __nv_bool" detected during instantiation of "T &&c10::optional::value() && [with T=nv_bool]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(19): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::MemoryFormat &" to initializer of type "const c10::MemoryFormat" detected during instantiation of "T &c10::optional::operator*() & [with T=c10::MemoryFormat]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(476): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "c10::MemoryFormat &&" to initializer of type "const c10::MemoryFormat" detected during instantiation of "T &&c10::optional::operator*() && [with T=c10::MemoryFormat]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/Functions.h(1521): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const c10::Device = c10::Device detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=c10::Device, U=c10::Device]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorImpl.h(1247): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "int64_t &" to initializer of type "const int64_t" detected during instantiation of "T &c10::optional::operator*() & [with T=int64_t]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(474): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "int64_t &" to initializer of type "const int64_t" detected during instantiation of "T &c10::optional::value() & [with T=int64_t]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/TensorIndexing.h(31): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::string &" to initializer of type "const std::string" detected during instantiation of "T &c10::optional::operator*() & [with T=std::string]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(121): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "size_t &" to initializer of type "const size_t" detected during instantiation of "T &c10::optional::operator*() & [with T=size_t]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(459): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const c10::Stride = c10::Stride detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=c10::Stride, U=c10::Stride]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(382): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: no operator "=" matches these operands operand types are: const std::vector<c10::ShapeSymbol, std::allocator> = const std::vector<c10::ShapeSymbol, std::allocator> detected during instantiation of "c10::optional &c10::optional::operator=(const c10::optional &) [with T=std::vector<c10::ShapeSymbol, std::allocator>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::vector<c10::ShapeSymbol, std::allocator> &" to initializer of type "const std::vector<c10::ShapeSymbol, std::allocator>" detected during: instantiation of "T &c10::optional::operator*() & [with T=std::vector<c10::ShapeSymbol, std::allocator>]" (400): here instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=std::vector<c10::ShapeSymbol, std::allocator>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands operand types are: const std::vector<c10::ShapeSymbol, std::allocator> = std::vector<c10::ShapeSymbol, std::allocator> detected during instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=std::vector<c10::ShapeSymbol, std::allocator>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const std::vector<c10::ShapeSymbol, std::allocator> = std::vector<c10::ShapeSymbol, std::allocator> detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=std::vector<c10::ShapeSymbol, std::allocator>, U=std::vector<c10::ShapeSymbol, std::allocator> &]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(463): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: no operator "=" matches these operands operand types are: const std::vector<c10::optional, std::allocator<c10::optional>> = const std::vector<c10::optional, std::allocator<c10::optional>> detected during instantiation of "c10::optional &c10::optional::operator=(const c10::optional &) [with T=std::vector<c10::optional, std::allocator<c10::optional>>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::vector<c10::optional, std::allocator<c10::optional>> &" to initializer of type "const std::vector<c10::optional, std::allocator<c10::optional>>" detected during: instantiation of "T &c10::optional::operator*() & [with T=std::vector<c10::optional, std::allocator<c10::optional>>]" (400): here instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=std::vector<c10::optional, std::allocator<c10::optional>>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands operand types are: const std::vector<c10::optional, std::allocator<c10::optional>> = std::vector<c10::optional, std::allocator<c10::optional>> detected during instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=std::vector<c10::optional, std::allocator<c10::optional>>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

mobassir94 commented 3 years ago

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const std::vector<c10::optional, std::allocator<c10::optional>> = std::vector<c10::optional, std::allocator<c10::optional>> detected during: instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=std::vector<c10::optional, std::allocator<c10::optional>>, U=std::vector<c10::optional, std::allocator<c10::optional>>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(539): here instantiation of "c10::VaryingShape::VaryingShape(c10::optional) [with T=c10::Stride]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(709): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "std::vector<int64_t, std::allocator> &&" to initializer of type "const std::vector<int64_t, std::allocator>" detected during instantiation of "T &&c10::optional::operator*() && [with T=std::vector<int64_t, std::allocator>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(745): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: expression must be a modifiable lvalue detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=__nv_bool, U=__nv_bool]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(787): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::QualifiedName &" to initializer of type "const c10::QualifiedName" detected during: instantiation of "T &c10::optional::operator*() & [with T=c10::QualifiedName]" (327): here instantiation of "c10::optional::optional(c10::optional &&) [with T=c10::QualifiedName]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(1058): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::DeviceIndex &" to initializer of type "const c10::DeviceIndex" detected during: instantiation of "T &c10::optional::value() & [with T=c10::DeviceIndex]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/impl/InlineDeviceGuard.h(220): here instantiation of "c10::impl::InlineOptionalDeviceGuard::InlineOptionalDeviceGuard(c10::optional) [with T=c10::cuda::impl::CUDAGuardImpl, U=c10::cuda::impl::CUDAGuardImpl, =void]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(74): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Stream &" to initializer of type "const c10::Stream" detected during: instantiation of "T &c10::optional::operator*() & [with T=c10::Stream]" (327): here instantiation of "c10::optional::optional(c10::optional &&) [with T=c10::Stream]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/impl/InlineStreamGuard.h(168): here instantiation of "c10::optional c10::impl::InlineOptionalStreamGuard::original_stream() const [with T=c10::cuda::impl::CUDAGuardImpl]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(208): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::Stream &" to initializer of type "const c10::Stream" detected during instantiation of "T &c10::optional::value() & [with T=c10::Stream]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(210): here

51 errors detected in the compilation of "C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.cu". nvcc warning : nvcc support for Microsoft Visual Studio 2015 and earlier has been deprecated and is no longer being maintained box_iou_rotated_cuda.cu [12/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlign\ROIAlign_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlign\ROIAlign_cuda.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 FAILED: C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/build/temp.win-amd64-3.8/Release/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlign\ROIAlign_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlign\ROIAlign_cuda.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 support for this version of Microsoft Visual Studio has been deprecated! Only the versions between 2017 and 2019 (inclusive) are supported! C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(60): error: statement may not appear in a constexpr constructor

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(59): error: statement may not appear in a constexpr constructor

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(191): error: expression must have a constant value C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(191): note: this call cannot be evaluated because the target function function "c10::DispatchKeySet::DispatchKeySet(std::initializer_list)" (57): here is not constexpr or not completely defined yet

C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/include\thrust/detail/config/cpp_dialect.h:98: warning: Thrust requires MSVC 2017. Please upgrade your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message. C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/include\thrust/detail/config/cpp_dialect.h:104: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message. C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(283): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(115): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(121): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(127): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(133): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(159): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(171): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(184): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(190): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(199): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, const c10::TensorOptions &)]" (54): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(54): error: expression must have a constant value C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(54): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, const c10::TensorOptions &)]" (46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, c10::TensorOptions)]" (55): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(55): error: expression must have a constant value C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(55): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, c10::TensorOptions)]" (46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, std::string)]" (56): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(56): error: expression must have a constant value C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(56): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, std::string)]" (46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue detected during instantiation of "c10::optional &c10::optional::operator=(const c10::optional &) [with T=c10::ScalarType]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(699): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::ScalarType &" to initializer of type "const c10::ScalarType" detected during instantiation of "T &c10::optional::operator*() & [with T=c10::ScalarType]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/ScalarType.h(197): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "caffe2::TypeMeta &" to initializer of type "const caffe2::TypeMeta" detected during instantiation of "T &c10::optional::operator*() & [with T=caffe2::TypeMeta]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/ScalarType.h(207): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Layout &" to initializer of type "const c10::Layout" detected during instantiation of "T &c10::optional::operator*() & [with T=c10::Layout]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(32): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands operand types are: const c10::Device = c10::Device detected during instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=c10::Device]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorImpl.h(1228): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Device &" to initializer of type "const c10::Device" detected during instantiation of "T &c10::optional::operator*() & [with T=c10::Device]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(36): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::Device &" to initializer of type "const c10::Device" detected during instantiation of "T &c10::optional::value() & [with T=c10::Device]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/DeprecatedTypeProperties.h(106): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue detected during instantiation of "c10::optional &c10::optional::operator=(const c10::optional &) [with T=__nv_bool]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(693): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "nv_bool &" to initializer of type "const __nv_bool" detected during instantiation of "T &c10::optional::operator*() & [with T=nv_bool]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(40): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(496): error: qualifiers dropped in binding reference of type "nv_bool &&" to initializer of type "const __nv_bool" detected during instantiation of "T &&c10::optional::value() && [with T=nv_bool]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(19): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::MemoryFormat &" to initializer of type "const c10::MemoryFormat" detected during instantiation of "T &c10::optional::operator*() & [with T=c10::MemoryFormat]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(476): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "c10::MemoryFormat &&" to initializer of type "const c10::MemoryFormat" detected during instantiation of "T &&c10::optional::operator*() && [with T=c10::MemoryFormat]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/Functions.h(1521): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const c10::Device = c10::Device detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=c10::Device, U=c10::Device]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorImpl.h(1247): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "int64_t &" to initializer of type "const int64_t" detected during instantiation of "T &c10::optional::operator*() & [with T=int64_t]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(474): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "int64_t &" to initializer of type "const int64_t" detected during instantiation of "T &c10::optional::value() & [with T=int64_t]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/TensorIndexing.h(31): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::string &" to initializer of type "const std::string" detected during instantiation of "T &c10::optional::operator*() & [with T=std::string]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(121): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "size_t &" to initializer of type "const size_t" detected during instantiation of "T &c10::optional::operator*() & [with T=size_t]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(459): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const c10::Stride = c10::Stride detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=c10::Stride, U=c10::Stride]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(382): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: no operator "=" matches these operands operand types are: const std::vector<c10::ShapeSymbol, std::allocator> = const std::vector<c10::ShapeSymbol, std::allocator> detected during instantiation of "c10::optional &c10::optional::operator=(const c10::optional &) [with T=std::vector<c10::ShapeSymbol, std::allocator>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::vector<c10::ShapeSymbol, std::allocator> &" to initializer of type "const std::vector<c10::ShapeSymbol, std::allocator>" detected during: instantiation of "T &c10::optional::operator*() & [with T=std::vector<c10::ShapeSymbol, std::allocator>]" (400): here instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=std::vector<c10::ShapeSymbol, std::allocator>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands operand types are: const std::vector<c10::ShapeSymbol, std::allocator> = std::vector<c10::ShapeSymbol, std::allocator> detected during instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=std::vector<c10::ShapeSymbol, std::allocator>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const std::vector<c10::ShapeSymbol, std::allocator> = std::vector<c10::ShapeSymbol, std::allocator> detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=std::vector<c10::ShapeSymbol, std::allocator>, U=std::vector<c10::ShapeSymbol, std::allocator> &]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(463): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: no operator "=" matches these operands operand types are: const std::vector<c10::optional, std::allocator<c10::optional>> = const std::vector<c10::optional, std::allocator<c10::optional>> detected during instantiation of "c10::optional &c10::optional::operator=(const c10::optional &) [with T=std::vector<c10::optional, std::allocator<c10::optional>>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::vector<c10::optional, std::allocator<c10::optional>> &" to initializer of type "const std::vector<c10::optional, std::allocator<c10::optional>>" detected during: instantiation of "T &c10::optional::operator*() & [with T=std::vector<c10::optional, std::allocator<c10::optional>>]" (400): here instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=std::vector<c10::optional, std::allocator<c10::optional>>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands operand types are: const std::vector<c10::optional, std::allocator<c10::optional>> = std::vector<c10::optional, std::allocator<c10::optional>> detected during instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=std::vector<c10::optional, std::allocator<c10::optional>>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const std::vector<c10::optional, std::allocator<c10::optional>> = std::vector<c10::optional, std::allocator<c10::optional>> detected during: instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=std::vector<c10::optional, std::allocator<c10::optional>>, U=std::vector<c10::optional, std::allocator<c10::optional>>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(539): here instantiation of "c10::VaryingShape::VaryingShape(c10::optional) [with T=c10::Stride]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(709): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "std::vector<int64_t, std::allocator> &&" to initializer of type "const std::vector<int64_t, std::allocator>" detected during instantiation of "T &&c10::optional::operator*() && [with T=std::vector<int64_t, std::allocator>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(745): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: expression must be a modifiable lvalue detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=__nv_bool, U=__nv_bool]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(787): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::QualifiedName &" to initializer of type "const c10::QualifiedName" detected during: instantiation of "T &c10::optional::operator*() & [with T=c10::QualifiedName]" (327): here instantiation of "c10::optional::optional(c10::optional &&) [with T=c10::QualifiedName]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(1058): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::DeviceIndex &" to initializer of type "const c10::DeviceIndex" detected during: instantiation of "T &c10::optional::value() & [with T=c10::DeviceIndex]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/impl/InlineDeviceGuard.h(220): here instantiation of "c10::impl::InlineOptionalDeviceGuard::InlineOptionalDeviceGuard(c10::optional) [with T=c10::cuda::impl::CUDAGuardImpl, U=c10::cuda::impl::CUDAGuardImpl, =void]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(74): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Stream &" to initializer of type "const c10::Stream" detected during: instantiation of "T &c10::optional::operator*() & [with T=c10::Stream]" (327): here instantiation of "c10::optional::optional(c10::optional &&) [with T=c10::Stream]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/impl/InlineStreamGuard.h(168): here instantiation of "c10::optional c10::impl::InlineOptionalStreamGuard::original_stream() const [with T=c10::cuda::impl::CUDAGuardImpl]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(208): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::Stream &" to initializer of type "const c10::Stream" detected during instantiation of "T &c10::optional::value() & [with T=c10::Stream]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(210): here

51 errors detected in the compilation of "C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu". nvcc warning : nvcc support for Microsoft Visual Studio 2015 and earlier has been deprecated and is no longer being maintained ROIAlign_cuda.cu [13/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\deformable\deform_conv_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\deformable\deform_conv_cuda.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 FAILED: C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/build/temp.win-amd64-3.8/Release/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/deformable/deform_conv_cuda.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\deformable\deform_conv_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\deformable\deform_conv_cuda.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 support for this version of Microsoft Visual Studio has been deprecated! Only the versions between 2017 and 2019 (inclusive) are supported! C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(60): error: statement may not appear in a constexpr constructor

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(59): error: statement may not appear in a constexpr constructor

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(191): error: expression must have a constant value C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(191): note: this call cannot be evaluated because the target function function "c10::DispatchKeySet::DispatchKeySet(std::initializer_list)" (57): here is not constexpr or not completely defined yet

mobassir94 commented 3 years ago

C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/include\thrust/detail/config/cpp_dialect.h:98: warning: Thrust requires MSVC 2017. Please upgrade your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message. C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/include\thrust/detail/config/cpp_dialect.h:104: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message. C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(283): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(115): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(121): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(127): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(133): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(159): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(171): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(184): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(190): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(199): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, const c10::TensorOptions &)]" (54): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(54): error: expression must have a constant value C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(54): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, const c10::TensorOptions &)]" (46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, c10::TensorOptions)]" (55): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(55): error: expression must have a constant value C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(55): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, c10::TensorOptions)]" (46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, std::string)]" (56): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(56): error: expression must have a constant value C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(56): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, std::string)]" (46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/operator_name.h(58): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/operator_name.h(62): error: a constexpr function must contain exactly one return statement

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/operator_name.h(59): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/boxing/impl/boxing.h(100): warning: integer conversion resulted in a change of sign

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Bitset.h(46): error: expression must be a modifiable lvalue

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Bitset.h(46): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Bitset.h(50): error: expression must be a modifiable lvalue

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Bitset.h(50): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(39): warning: integer conversion resulted in a change of sign

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(39): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(41): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(43): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(46): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(49): error: a constexpr function must contain exactly one return statement

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(48): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(51): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(42): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(40): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(54): error: a constexpr function must contain exactly one return statement

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(60): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue detected during instantiation of "c10::optional &c10::optional::operator=(const c10::optional &) [with T=c10::ScalarType]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(699): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::ScalarType &" to initializer of type "const c10::ScalarType" detected during instantiation of "T &c10::optional::operator*() & [with T=c10::ScalarType]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/ScalarType.h(197): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "caffe2::TypeMeta &" to initializer of type "const caffe2::TypeMeta" detected during instantiation of "T &c10::optional::operator*() & [with T=caffe2::TypeMeta]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/ScalarType.h(207): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Layout &" to initializer of type "const c10::Layout" detected during instantiation of "T &c10::optional::operator*() & [with T=c10::Layout]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(32): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands operand types are: const c10::Device = c10::Device detected during instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=c10::Device]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorImpl.h(1228): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Device &" to initializer of type "const c10::Device" detected during instantiation of "T &c10::optional::operator*() & [with T=c10::Device]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(36): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::Device &" to initializer of type "const c10::Device" detected during instantiation of "T &c10::optional::value() & [with T=c10::Device]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/DeprecatedTypeProperties.h(106): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue detected during instantiation of "c10::optional &c10::optional::operator=(const c10::optional &) [with T=__nv_bool]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(693): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "nv_bool &" to initializer of type "const __nv_bool" detected during instantiation of "T &c10::optional::operator*() & [with T=nv_bool]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(40): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(496): error: qualifiers dropped in binding reference of type "nv_bool &&" to initializer of type "const __nv_bool" detected during instantiation of "T &&c10::optional::value() && [with T=nv_bool]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(19): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::MemoryFormat &" to initializer of type "const c10::MemoryFormat" detected during instantiation of "T &c10::optional::operator*() & [with T=c10::MemoryFormat]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(476): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "c10::MemoryFormat &&" to initializer of type "const c10::MemoryFormat" detected during instantiation of "T &&c10::optional::operator*() && [with T=c10::MemoryFormat]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/Functions.h(1521): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const c10::Device = c10::Device detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=c10::Device, U=c10::Device]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorImpl.h(1247): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "int64_t &" to initializer of type "const int64_t" detected during instantiation of "T &c10::optional::operator*() & [with T=int64_t]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(474): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "int64_t &" to initializer of type "const int64_t" detected during instantiation of "T &c10::optional::value() & [with T=int64_t]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/TensorIndexing.h(31): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::string &" to initializer of type "const std::string" detected during instantiation of "T &c10::optional::operator*() & [with T=std::string]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(121): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "size_t &" to initializer of type "const size_t" detected during instantiation of "T &c10::optional::operator*() & [with T=size_t]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(459): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const c10::Stride = c10::Stride detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=c10::Stride, U=c10::Stride]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(382): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: no operator "=" matches these operands operand types are: const std::vector<c10::ShapeSymbol, std::allocator> = const std::vector<c10::ShapeSymbol, std::allocator> detected during instantiation of "c10::optional &c10::optional::operator=(const c10::optional &) [with T=std::vector<c10::ShapeSymbol, std::allocator>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::vector<c10::ShapeSymbol, std::allocator> &" to initializer of type "const std::vector<c10::ShapeSymbol, std::allocator>" detected during: instantiation of "T &c10::optional::operator*() & [with T=std::vector<c10::ShapeSymbol, std::allocator>]" (400): here instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=std::vector<c10::ShapeSymbol, std::allocator>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands operand types are: const std::vector<c10::ShapeSymbol, std::allocator> = std::vector<c10::ShapeSymbol, std::allocator> detected during instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=std::vector<c10::ShapeSymbol, std::allocator>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const std::vector<c10::ShapeSymbol, std::allocator> = std::vector<c10::ShapeSymbol, std::allocator> detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=std::vector<c10::ShapeSymbol, std::allocator>, U=std::vector<c10::ShapeSymbol, std::allocator> &]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(463): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: no operator "=" matches these operands operand types are: const std::vector<c10::optional, std::allocator<c10::optional>> = const std::vector<c10::optional, std::allocator<c10::optional>> detected during instantiation of "c10::optional &c10::optional::operator=(const c10::optional &) [with T=std::vector<c10::optional, std::allocator<c10::optional>>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::vector<c10::optional, std::allocator<c10::optional>> &" to initializer of type "const std::vector<c10::optional, std::allocator<c10::optional>>" detected during: instantiation of "T &c10::optional::operator*() & [with T=std::vector<c10::optional, std::allocator<c10::optional>>]" (400): here instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=std::vector<c10::optional, std::allocator<c10::optional>>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands operand types are: const std::vector<c10::optional, std::allocator<c10::optional>> = std::vector<c10::optional, std::allocator<c10::optional>> detected during instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=std::vector<c10::optional, std::allocator<c10::optional>>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const std::vector<c10::optional, std::allocator<c10::optional>> = std::vector<c10::optional, std::allocator<c10::optional>> detected during: instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=std::vector<c10::optional, std::allocator<c10::optional>>, U=std::vector<c10::optional, std::allocator<c10::optional>>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(539): here instantiation of "c10::VaryingShape::VaryingShape(c10::optional) [with T=c10::Stride]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(709): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "std::vector<int64_t, std::allocator> &&" to initializer of type "const std::vector<int64_t, std::allocator>" detected during instantiation of "T &&c10::optional::operator*() && [with T=std::vector<int64_t, std::allocator>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(745): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: expression must be a modifiable lvalue detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=__nv_bool, U=__nv_bool]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(787): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::QualifiedName &" to initializer of type "const c10::QualifiedName" detected during: instantiation of "T &c10::optional::operator*() & [with T=c10::QualifiedName]" (327): here instantiation of "c10::optional::optional(c10::optional &&) [with T=c10::QualifiedName]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(1058): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::function<at::Tensor (const at::Tensor &)> &" to initializer of type "const std::function<at::Tensor (const at::Tensor &)>" detected during: instantiation of "T &c10::optional::operator() & [with T=std::function<at::Tensor (const at::Tensor &)>]" (327): here instantiation of "c10::optional::optional(c10::optional &&) [with T=std::function<at::Tensor (const at::Tensor &)>]" C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\memory(1630): here instantiation of "std::enable_if<, std::unique_ptr<_Ty, std::default_delete<_Ty>>>::type std::make_unique<_Ty,_Types...>(_Types &&...) [with _Ty=torch::autograd::DifferentiableViewMeta, _Types=<c10::TensorImpl , at::Tensor, c10::optional<std::function<at::Tensor (const at::Tensor &)>>, torch::autograd::CreationMeta &>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\torch/csrc/autograd/variable.h(459): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "int32_t &" to initializer of type "const int32_t" detected during: instantiation of "T &c10::optional::operator*() & [with T=int32_t]" (327): here instantiation of "c10::optional::optional(c10::optional &&) [with T=int32_t]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/function_schema.h(33): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "int32_t &&" to initializer of type "const int" detected during instantiation of "T &&c10::optional::operator*() && [with T=int32_t]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/function_schema.h(372): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::IValue &" to initializer of type "const c10::IValue" detected during: instantiation of "T &c10::optional::operator*() & [with T=c10::IValue]" (327): here instantiation of "c10::optional::optional(c10::optional &&) [with T=c10::IValue]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/function_schema.h(34): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::AliasInfo &" to initializer of type "const c10::AliasInfo" detected during: instantiation of "T &c10::optional::operator*() & [with T=c10::AliasInfo]" (327): here instantiation of "c10::optional::optional(c10::optional &&) [with T=c10::AliasInfo]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/function_schema.h(36): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: expression must be a modifiable lvalue detected during instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=c10::AliasAnalysisKind]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/function_schema.h(190): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::AliasAnalysisKind &" to initializer of type "const c10::AliasAnalysisKind" detected during instantiation of "T &c10::optional::operator*() & [with T=c10::AliasAnalysisKind]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\torch/csrc/jit/runtime/operator.h(148): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: expression must be a modifiable lvalue detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=c10::AliasAnalysisKind, U=c10::AliasAnalysisKind &]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/function_schema.h(324): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "torch::jit::InlinedCallStackPtr &" to initializer of type "const torch::jit::InlinedCallStackPtr" detected during instantiation of "T &c10::optional::operator*() & [with T=torch::jit::InlinedCallStackPtr]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\torch/csrc/jit/ir/ir.h(340): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::impl::CppSignature &" to initializer of type "const c10::impl::CppSignature" detected during: instantiation of "T &c10::optional::operator*() & [with T=c10::impl::CppSignature]" (400): here instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=c10::impl::CppSignature]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_registration.h(399): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands operand types are: const c10::impl::CppSignature = c10::impl::CppSignature detected during instantiation of "c10::optional &c10::optional::operator=(c10::optional &&) [with T=c10::impl::CppSignature]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_registration.h(399): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue detected during instantiation of "c10::optional &c10::optional::operator=(const c10::optional &) [with T=c10::DispatchKey]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_registration.h(397): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::DispatchKey &" to initializer of type "const c10::DispatchKey" detected during: instantiation of "T &c10::optional::operator() & [with T=c10::DispatchKey]" (327): here instantiation of "c10::optional::optional(c10::optional &&) [with T=c10::DispatchKey]" C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xmemory0(737): here implicit generation of "c10::RegisterOperators::Options::KernelRegistrationConfig::KernelRegistrationConfig(c10::RegisterOperators::Options::KernelRegistrationConfig &&)" C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xmemory0(737): here instantiation of "void std::allocator<_Ty>::construct(_Objty , _Types &&...) [with _Ty=c10::RegisterOperators::Options::KernelRegistrationConfig, _Objty=c10::RegisterOperators::Options::KernelRegistrationConfig, _Types=]" C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xmemory0(857): here instantiation of "void std::allocator_traits<std::allocator<_Ty>>::construct(std::allocator_traits<std::allocator<_Ty>>::_Alloc &, _Objty , _Types &&...) [with _Ty=c10::RegisterOperators::Options::KernelRegistrationConfig, _Objty=c10::RegisterOperators::Options::KernelRegistrationConfig, _Types=]" C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xmemory0(996): here [ 3 instantiation contexts not shown ] instantiation of "_FwdIt std::_Uninitialized_move(_InIt, _InIt, _FwdIt, std::_Wrap_alloc<_Alloc> &) [with _InIt=c10::RegisterOperators::Options::KernelRegistrationConfig , _FwdIt=c10::RegisterOperators::Options::KernelRegistrationConfig , _Alloc=std::allocator]" C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\vector(1660): here instantiation of "std::vector<_Ty, _Alloc>::pointer std::vector<_Ty, _Alloc>::_Umove(_Iter, _Iter, std::vector<_Ty, _Alloc>::pointer) [with _Ty=c10::RegisterOperators::Options::KernelRegistrationConfig, _Alloc=std::allocator, _Iter=c10::RegisterOperators::Options::KernelRegistrationConfig ]" C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\vector(1605): here instantiation of "void std::vector<_Ty, _Alloc>::_Reallocate(std::vector<_Ty, _Alloc>::size_type) [with _Ty=c10::RegisterOperators::Options::KernelRegistrationConfig, _Alloc=std::allocator]" C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\vector(1631): here instantiation of "void std::vector<_Ty, _Alloc>::_Reserve(std::vector<_Ty, _Alloc>::size_type) [with _Ty=c10::RegisterOperators::Options::KernelRegistrationConfig, _Alloc=std::allocator]" C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\vector(901): here instantiation of "void std::vector<_Ty, _Alloc>::push_back(std::vector<_Ty, _Alloc>::value_type &&) [with _Ty=c10::RegisterOperators::Options::KernelRegistrationConfig, _Alloc=std::allocator]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_registration.h(401): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const c10::either<c10::OperatorName, c10::FunctionSchema> = c10::either<c10::OperatorName, c10::FunctionSchema> detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=c10::either<c10::OperatorName, c10::FunctionSchema>, U=c10::either<c10::OperatorName, c10::FunctionSchema>]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_registration.h(78): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const torch::jit::SourceRange = torch::jit::SourceRange detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=torch::jit::SourceRange, U=torch::jit::SourceRange]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\torch/csrc/jit/ir/ir.h(306): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const torch::jit::InlinedCallStackPtr = torch::jit::InlinedCallStackPtr detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=torch::jit::InlinedCallStackPtr, U=torch::jit::InlinedCallStackPtr &]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\torch/csrc/jit/ir/ir.h(349): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "int8_t &" to initializer of type "const int8_t" detected during: instantiation of "T &c10::optional::operator*() & [with T=int8_t]" (327): here instantiation of "c10::optional::optional(c10::optional &&) [with T=int8_t]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\torch/csrc/jit/runtime/argument_spec.h(437): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "at::ThreadLocalState &" to initializer of type "const at::ThreadLocalState" detected during: instantiation of "T &c10::optional::operator*() & [with T=at::ThreadLocalState]" (327): here instantiation of "c10::optional::optional(c10::optional &&) [with T=at::ThreadLocalState]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\torch/csrc/jit/runtime/interpreter.h(107): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::shared_ptr &" to initializer of type "const std::shared_ptr" detected during instantiation of "T &c10::optional::operator*() & [with T=std::shared_ptr]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\torch/csrc/jit/api/function_impl.h(40): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands operand types are: const std::shared_ptr = torch::jit::GraphAttr::ConstructorType detected during instantiation of "auto c10::optional::operator=(U &&)->std::enable_if<, c10::optional &>::type [with T=std::shared_ptr, U=std::shared_ptr]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\torch/csrc/jit/api/function_impl.h(42): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "torch::jit::Method &" to initializer of type "const torch::jit::Method" detected during instantiation of "T &c10::optional::operator*() & [with T=torch::jit::Method]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\torch/csrc/jit/api/object.h(89): here

87 errors detected in the compilation of "C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/deformable/deform_conv_cuda.cu". nvcc warning : nvcc support for Microsoft Visual Studio 2015 and earlier has been deprecated and is no longer being maintained deform_conv_cuda.cu ninja: build stopped: subcommand failed. Traceback (most recent call last): File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\utils\cpp_extension.py", line 1533, in _run_ninja_build subprocess.run( File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\subprocess.py", line 516, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

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

Traceback (most recent call last): File "", line 1, in File "C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\setup.py", line 178, in setup( File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\setuptools__init__.py", line 163, in setup return distutils.core.setup(**attrs) File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\core.py", line 148, in setup dist.run_commands() File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\dist.py", line 966, in run_commands self.run_command(cmd) File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\wheel\bdist_wheel.py", line 299, in run self.run_command('build') File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\command\build.py", line 135, in run self.run_command(cmd_name) File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\setuptools\command\build_ext.py", line 87, in run _build_ext.run(self) File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\command\build_ext.py", line 340, in run self.build_extensions() File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\utils\cpp_extension.py", line 670, in build_extensions build_ext.build_extensions(self) File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\command\build_ext.py", line 449, in build_extensions self._build_extensions_serial() File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serial self.build_extension(ext) File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\setuptools\command\build_ext.py", line 208, in build_extension _build_ext.build_extension(self, ext) File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\command\build_ext.py", line 528, in build_extension objects = self.compiler.compile(sources, File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\utils\cpp_extension.py", line 643, in win_wrap_ninja_compile _write_ninja_file_and_compile_objects( File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\utils\cpp_extension.py", line 1250, in _write_ninja_file_and_compile_objects _run_ninja_build( File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\utils\cpp_extension.py", line 1555, in _run_ninja_build raise RuntimeError(message) from e RuntimeError: Error compiling objects for extension

ERROR: Failed building wheel for detectron2 ERROR: Command errored out with exit status 1: command: 'C:\Users\Mobassir\anaconda3\envs\detectron2\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\setup.py'"'"'; file='"'"'C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Mobassir\AppData\Local\Temp\pip-record-uz3ou_v0\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Mobassir\anaconda3\envs\detectron2\Include\detectron2' cwd: C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\ Complete output (3191 lines): running install running build running build_py creating build creating build\lib.win-amd64-3.8 creating build\lib.win-amd64-3.8\detectron2 copying detectron2__init.py -> build\lib.win-amd64-3.8\detectron2 creating build\lib.win-amd64-3.8\detectron2\checkpoint copying detectron2\checkpoint\c2_model_loading.py -> build\lib.win-amd64-3.8\detectron2\checkpoint copying detectron2\checkpoint\catalog.py -> build\lib.win-amd64-3.8\detectron2\checkpoint copying detectron2\checkpoint\detection_checkpoint.py -> build\lib.win-amd64-3.8\detectron2\checkpoint copying detectron2\checkpoint__init.py -> build\lib.win-amd64-3.8\detectron2\checkpoint creating build\lib.win-amd64-3.8\detectron2\config copying detectron2\config\compat.py -> build\lib.win-amd64-3.8\detectron2\config copying detectron2\config\config.py -> build\lib.win-amd64-3.8\detectron2\config copying detectron2\config\defaults.py -> build\lib.win-amd64-3.8\detectron2\config copying detectron2\config__init.py -> build\lib.win-amd64-3.8\detectron2\config creating build\lib.win-amd64-3.8\detectron2\data copying detectron2\data\build.py -> build\lib.win-amd64-3.8\detectron2\data copying detectron2\data\catalog.py -> build\lib.win-amd64-3.8\detectron2\data copying detectron2\data\common.py -> build\lib.win-amd64-3.8\detectron2\data copying detectron2\data\dataset_mapper.py -> build\lib.win-amd64-3.8\detectron2\data copying detectron2\data\detection_utils.py -> build\lib.win-amd64-3.8\detectron2\data copying detectron2\data__init.py -> build\lib.win-amd64-3.8\detectron2\data creating build\lib.win-amd64-3.8\detectron2\engine copying detectron2\engine\defaults.py -> build\lib.win-amd64-3.8\detectron2\engine copying detectron2\engine\hooks.py -> build\lib.win-amd64-3.8\detectron2\engine copying detectron2\engine\launch.py -> build\lib.win-amd64-3.8\detectron2\engine copying detectron2\engine\train_loop.py -> build\lib.win-amd64-3.8\detectron2\engine copying detectron2\engine__init.py -> build\lib.win-amd64-3.8\detectron2\engine creating build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\cityscapes_evaluation.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\coco_evaluation.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\evaluator.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\fast_eval_api.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\lvis_evaluation.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\panoptic_evaluation.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\pascal_voc_evaluation.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\rotated_coco_evaluation.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\sem_seg_evaluation.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\testing.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation__init.py -> build\lib.win-amd64-3.8\detectron2\evaluation creating build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\api.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\c10.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\caffe2_export.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\caffe2_inference.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\caffe2_modeling.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\caffe2_patch.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\shared.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\torchscript.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\torchscript_patch.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export__init.py -> build\lib.win-amd64-3.8\detectron2\export creating build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\aspp.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\batch_norm.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\blocks.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\deform_conv.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\mask_ops.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\nms.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\roi_align.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\roi_align_rotated.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\rotated_boxes.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\shape_spec.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\wrappers.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers__init.py -> build\lib.win-amd64-3.8\detectron2\layers creating build\lib.win-amd64-3.8\detectron2\modeling copying detectron2\modeling\anchor_generator.py -> build\lib.win-amd64-3.8\detectron2\modeling copying detectron2\modeling\box_regression.py -> build\lib.win-amd64-3.8\detectron2\modeling copying detectron2\modeling\matcher.py -> build\lib.win-amd64-3.8\detectron2\modeling copying detectron2\modeling\poolers.py -> build\lib.win-amd64-3.8\detectron2\modeling copying detectron2\modeling\postprocessing.py -> build\lib.win-amd64-3.8\detectron2\modeling copying detectron2\modeling\sampling.py -> build\lib.win-amd64-3.8\detectron2\modeling copying detectron2\modeling\test_time_augmentation.py -> build\lib.win-amd64-3.8\detectron2\modeling copying detectron2\modeling\init__.py -> build\lib.win-amd64-3.8\detectron2\modeling creating build\lib.win-amd64-3.8\detectron2\model_zoo copying detectron2\model_zoo\model_zoo.py -> build\lib.win-amd64-3.8\detectron2\model_zoo copying detectron2\model_zoo\init__.py -> build\lib.win-amd64-3.8\detectron2\model_zoo creating build\lib.win-amd64-3.8\detectron2\projects copying detectron2\projects\init__.py -> build\lib.win-amd64-3.8\detectron2\projects creating build\lib.win-amd64-3.8\detectron2\solver copying detectron2\solver\build.py -> build\lib.win-amd64-3.8\detectron2\solver copying detectron2\solver\lr_scheduler.py -> build\lib.win-amd64-3.8\detectron2\solver copying detectron2\solver\init.py -> build\lib.win-amd64-3.8\detectron2\solver creating build\lib.win-amd64-3.8\detectron2\structures copying detectron2\structures\boxes.py -> build\lib.win-amd64-3.8\detectron2\structures copying detectron2\structures\image_list.py -> build\lib.win-amd64-3.8\detectron2\structures copying detectron2\structures\instances.py -> build\lib.win-amd64-3.8\detectron2\structures copying detectron2\structures\keypoints.py -> build\lib.win-amd64-3.8\detectron2\structures copying detectron2\structures\masks.py -> build\lib.win-amd64-3.8\detectron2\structures copying detectron2\structures\rotated_boxes.py -> build\lib.win-amd64-3.8\detectron2\structures copying detectron2\structures\init__.py -> build\lib.win-amd64-3.8\detectron2\structures creating build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\analysis.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\collect_env.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\colormap.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\comm.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\env.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\events.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\file_io.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\logger.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\memory.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\registry.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\serialize.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\video_visualizer.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\visualizer.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\init.py -> build\lib.win-amd64-3.8\detectron2\utils creating build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\builtin.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\builtin_meta.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\cityscapes.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\cityscapes_panoptic.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\coco.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\coco_panoptic.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\lvis.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\lvis_v0_5_categories.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\lvis_v1_categories.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\pascal_voc.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\register_coco.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\init__.py -> build\lib.win-amd64-3.8\detectron2\data\datasets creating build\lib.win-amd64-3.8\detectron2\data\samplers copying detectron2\data\samplers\distributed_sampler.py -> build\lib.win-amd64-3.8\detectron2\data\samplers copying detectron2\data\samplers\grouped_batch_sampler.py -> build\lib.win-amd64-3.8\detectron2\data\samplers copying detectron2\data\samplers\init__.py -> build\lib.win-amd64-3.8\detectron2\data\samplers creating build\lib.win-amd64-3.8\detectron2\data\transforms copying detectron2\data\transforms\augmentation.py -> build\lib.win-amd64-3.8\detectron2\data\transforms copying detectron2\data\transforms\augmentation_impl.py -> build\lib.win-amd64-3.8\detectron2\data\transforms copying detectron2\data\transforms\transform.py -> build\lib.win-amd64-3.8\detectron2\data\transforms copying detectron2\data\transforms\init.py -> build\lib.win-amd64-3.8\detectron2\data\transforms creating build\lib.win-amd64-3.8\detectron2\modeling\backbone copying detectron2\modeling\backbone\backbone.py -> build\lib.win-amd64-3.8\detectron2\modeling\backbone copying detectron2\modeling\backbone\build.py -> build\lib.win-amd64-3.8\detectron2\modeling\backbone copying detectron2\modeling\backbone\fpn.py -> build\lib.win-amd64-3.8\detectron2\modeling\backbone copying detectron2\modeling\backbone\resnet.py -> build\lib.win-amd64-3.8\detectron2\modeling\backbone copying detectron2\modeling\backbone\init.py -> build\lib.win-amd64-3.8\detectron2\modeling\backbone creating build\lib.win-amd64-3.8\detectron2\modeling\meta_arch copying detectron2\modeling\meta_arch\build.py -> build\lib.win-amd64-3.8\detectron2\modeling\meta_arch copying detectron2\modeling\meta_arch\panoptic_fpn.py -> build\lib.win-amd64-3.8\detectron2\modeling\meta_arch copying detectron2\modeling\meta_arch\rcnn.py -> build\lib.win-amd64-3.8\detectron2\modeling\meta_arch copying detectron2\modeling\meta_arch\retinanet.py -> build\lib.win-amd64-3.8\detectron2\modeling\meta_arch copying detectron2\modeling\meta_arch\semantic_seg.py -> build\lib.win-amd64-3.8\detectron2\modeling\meta_arch copying detectron2\modeling\meta_arch\init.py -> build\lib.win-amd64-3.8\detectron2\modeling\meta_arch creating build\lib.win-amd64-3.8\detectron2\modeling\proposal_generator copying detectron2\modeling\proposal_generator\build.py -> build\lib.win-amd64-3.8\detectron2\modeling\proposal_generator copying detectron2\modeling\proposal_generator\proposal_utils.py -> build\lib.win-amd64-3.8\detectron2\modeling\proposal_generator copying detectron2\modeling\proposal_generator\rpn.py -> build\lib.win-amd64-3.8\detectron2\modeling\proposal_generator copying detectron2\modeling\proposal_generator\rrpn.py -> build\lib.win-amd64-3.8\detectron2\modeling\proposal_generator copying detectron2\modeling\proposal_generator\init__.py -> build\lib.win-amd64-3.8\detectron2\modeling\proposal_generator creating build\lib.win-amd64-3.8\detectron2\modeling\roi_heads copying detectron2\modeling\roi_heads\box_head.py -> build\lib.win-amd64-3.8\detectron2\modeling\roi_heads copying detectron2\modeling\roi_heads\cascade_rcnn.py -> build\lib.win-amd64-3.8\detectron2\modeling\roi_heads copying detectron2\modeling\roi_heads\fast_rcnn.py -> build\lib.win-amd64-3.8\detectron2\modeling\roi_heads copying detectron2\modeling\roi_heads\keypoint_head.py -> build\lib.win-amd64-3.8\detectron2\modeling\roi_heads copying detectron2\modeling\roi_heads\mask_head.py -> build\lib.win-amd64-3.8\detectron2\modeling\roi_heads copying detectron2\modeling\roi_heads\roi_heads.py -> build\lib.win-amd64-3.8\detectron2\modeling\roi_heads copying detectron2\modeling\roi_heads\rotated_fast_rcnn.py -> build\lib.win-amd64-3.8\detectron2\modeling\roi_heads copying detectron2\modeling\roi_heads\init.py -> build\lib.win-amd64-3.8\detectron2\modeling\roi_heads creating build\lib.win-amd64-3.8\detectron2\projects\point_rend copying projects\PointRend\point_rend\coarse_mask_head.py -> build\lib.win-amd64-3.8\detectron2\projects\point_rend copying projects\PointRend\point_rend\color_augmentation.py -> build\lib.win-amd64-3.8\detectron2\projects\point_rend copying projects\PointRend\point_rend\config.py -> build\lib.win-amd64-3.8\detectron2\projects\point_rend copying projects\PointRend\point_rend\point_features.py -> build\lib.win-amd64-3.8\detectron2\projects\point_rend copying projects\PointRend\point_rend\point_head.py -> build\lib.win-amd64-3.8\detectron2\projects\point_rend copying projects\PointRend\point_rend\roi_heads.py -> build\lib.win-amd64-3.8\detectron2\projects\point_rend copying projects\PointRend\point_rend\semantic_seg.py -> build\lib.win-amd64-3.8\detectron2\projects\point_rend copying projects\PointRend\point_rend\init.py -> build\lib.win-amd64-3.8\detectron2\projects\point_rend creating build\lib.win-amd64-3.8\detectron2\projects\deeplab copying projects\DeepLab\deeplab\build_solver.py -> build\lib.win-amd64-3.8\detectron2\projects\deeplab copying projects\DeepLab\deeplab\config.py -> build\lib.win-amd64-3.8\detectron2\projects\deeplab copying projects\DeepLab\deeplab\loss.py -> build\lib.win-amd64-3.8\detectron2\projects\deeplab copying projects\DeepLab\deeplab\lr_scheduler.py -> build\lib.win-amd64-3.8\detectron2\projects\deeplab copying projects\DeepLab\deeplab\resnet.py -> build\lib.win-amd64-3.8\detectron2\projects\deeplab copying projects\DeepLab\deeplab\semantic_seg.py -> build\lib.win-amd64-3.8\detectron2\projects\deeplab copying projects\DeepLab\deeplab\init.py -> build\lib.win-amd64-3.8\detectron2\projects\deeplab creating build\lib.win-amd64-3.8\detectron2\projects\panoptic_deeplab copying projects\Panoptic-DeepLab\panoptic_deeplab\config.py -> build\lib.win-amd64-3.8\detectron2\projects\panoptic_deeplab copying projects\Panoptic-DeepLab\panoptic_deeplab\dataset_mapper.py -> build\lib.win-amd64-3.8\detectron2\projects\panoptic_deeplab copying projects\Panoptic-DeepLab\panoptic_deeplab\panoptic_seg.py -> build\lib.win-amd64-3.8\detectron2\projects\panoptic_deeplab copying projects\Panoptic-DeepLab\panoptic_deeplab\post_processing.py -> build\lib.win-amd64-3.8\detectron2\projects\panoptic_deeplab copying projects\Panoptic-DeepLab\panoptic_deeplab\target_generator.py -> build\lib.win-amd64-3.8\detectron2\projects\panoptic_deeplab copying projects\Panoptic-DeepLab\panoptic_deeplab\init__.py -> build\lib.win-amd64-3.8\detectron2\projects\panoptic_deeplab creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs copying detectron2\model_zoo\configs\Base-RCNN-C4.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs copying detectron2\model_zoo\configs\Base-RCNN-DilatedC5.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs copying detectron2\model_zoo\configs\Base-RCNN-FPN.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs copying detectron2\model_zoo\configs\Base-RetinaNet.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Cityscapes

mobassir94 commented 3 years ago

copying detectron2\model_zoo\configs\Cityscapes\mask_rcnn_R_50_FPN.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Cityscapes creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_101_C4_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_101_DC5_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_101_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_50_C4_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_50_C4_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_50_DC5_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_50_DC5_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_50_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_X_101_32x8d_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\fast_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\retinanet_R_101_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\retinanet_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\retinanet_R_50_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\rpn_R_50_C4_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\rpn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_101_C4_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_101_DC5_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_101_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_C4_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_C4_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_DC5_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_DC5_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_FPN_1x_giou.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_X_101_32x8d_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Keypoints copying detectron2\model_zoo\configs\COCO-Keypoints\Base-Keypoint-RCNN-FPN.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Keypoints copying detectron2\model_zoo\configs\COCO-Keypoints\keypoint_rcnn_R_101_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Keypoints copying detectron2\model_zoo\configs\COCO-Keypoints\keypoint_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Keypoints copying detectron2\model_zoo\configs\COCO-Keypoints\keypoint_rcnn_R_50_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Keypoints copying detectron2\model_zoo\configs\COCO-Keypoints\keypoint_rcnn_X_101_32x8d_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Keypoints creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-PanopticSegmentation copying detectron2\model_zoo\configs\COCO-PanopticSegmentation\Base-Panoptic-FPN.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-PanopticSegmentation copying detectron2\model_zoo\configs\COCO-PanopticSegmentation\panoptic_fpn_R_101_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-PanopticSegmentation copying detectron2\model_zoo\configs\COCO-PanopticSegmentation\panoptic_fpn_R_50_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-PanopticSegmentation copying detectron2\model_zoo\configs\COCO-PanopticSegmentation\panoptic_fpn_R_50_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-PanopticSegmentation creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Detectron1-Comparisons copying detectron2\model_zoo\configs\Detectron1-Comparisons\faster_rcnn_R_50_FPN_noaug_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Detectron1-Comparisons copying detectron2\model_zoo\configs\Detectron1-Comparisons\keypoint_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Detectron1-Comparisons copying detectron2\model_zoo\configs\Detectron1-Comparisons\mask_rcnn_R_50_FPN_noaug_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Detectron1-Comparisons creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\LVISv0.5-InstanceSegmentation copying detectron2\model_zoo\configs\LVISv0.5-InstanceSegmentation\mask_rcnn_R_101_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\LVISv0.5-InstanceSegmentation copying detectron2\model_zoo\configs\LVISv0.5-InstanceSegmentation\mask_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\LVISv0.5-InstanceSegmentation copying detectron2\model_zoo\configs\LVISv0.5-InstanceSegmentation\mask_rcnn_X_101_32x8d_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\LVISv0.5-InstanceSegmentation creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\LVISv1-InstanceSegmentation copying detectron2\model_zoo\configs\LVISv1-InstanceSegmentation\mask_rcnn_R_101_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\LVISv1-InstanceSegmentation copying detectron2\model_zoo\configs\LVISv1-InstanceSegmentation\mask_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\LVISv1-InstanceSegmentation copying detectron2\model_zoo\configs\LVISv1-InstanceSegmentation\mask_rcnn_X_101_32x8d_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\LVISv1-InstanceSegmentation creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\cascade_mask_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\cascade_mask_rcnn_R_50_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\cascade_mask_rcnn_X_152_32x8d_FPN_IN5k_gn_dconv.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\mask_rcnn_R_50_FPN_1x_cls_agnostic.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\mask_rcnn_R_50_FPN_1x_dconv_c3-c5.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\mask_rcnn_R_50_FPN_3x_dconv_c3-c5.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\mask_rcnn_R_50_FPN_3x_gn.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\mask_rcnn_R_50_FPN_3x_syncbn.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\panoptic_fpn_R_101_dconv_cascade_gn_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\scratch_mask_rcnn_R_50_FPN_3x_gn.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\scratch_mask_rcnn_R_50_FPN_9x_gn.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\scratch_mask_rcnn_R_50_FPN_9x_syncbn.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\semantic_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\PascalVOC-Detection copying detectron2\model_zoo\configs\PascalVOC-Detection\faster_rcnn_R_50_C4.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\PascalVOC-Detection copying detectron2\model_zoo\configs\PascalVOC-Detection\faster_rcnn_R_50_FPN.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\PascalVOC-Detection creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\cascade_mask_rcnn_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\cascade_mask_rcnn_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\fast_rcnn_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\fast_rcnn_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\keypoint_rcnn_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\keypoint_rcnn_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\keypoint_rcnn_R_50_FPN_normalized_training_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\keypoint_rcnn_R_50_FPN_training_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_C4_GCV_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_C4_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_C4_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_C4_training_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_DC5_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_FPN_pred_boxes_training_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_FPN_training_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\panoptic_fpn_R_50_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\panoptic_fpn_R_50_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\panoptic_fpn_R_50_training_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\retinanet_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\retinanet_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\rpn_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\rpn_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\semantic_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\semantic_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\semantic_R_50_FPN_training_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules running build_ext C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\utils\cpp_extension.py:287: UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error)) building 'detectron2._C' extension creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8 creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2 creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\box_iou_rotated creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\cocoeval creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\nms_rotated creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlign creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlignRotated creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\deformable Emitting ninja build file C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) [1/13] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cpu.cpp /FoC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 FAILED: C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/build/temp.win-amd64-3.8/Release/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cpu.obj cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cpu.cpp /FoC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): note: see usage of '++' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: 'k': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(60): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(60): note: see usage of '|=' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(66): warning C4800: 'uint64_t': forcing value to bool 'true' or 'false' (performance warning) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(156): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(277): note: see reference to class template instantiation 'c10::complex' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(57): note: see reference to class template instantiation 'std::initializer_list' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(161): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(166): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(172): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(178): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(185): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(192): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(211): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(229): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(237): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(270): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(276): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(156): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(281): note: see reference to class template instantiation 'c10::complex' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(161): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(166): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(172): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(178): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(185): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(192): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(211): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(229): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(237): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(270): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(276): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(156): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(285): note: see reference to class template instantiation 'c10::complex' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(161): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(166): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(172): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(178): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(185): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(192): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(211): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(229): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(237): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(270): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(276): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(515): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optional::operator ->': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(474): warning C4814: 'c10::optional::operator ': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(479): warning C4814: 'c10::optional::operator ': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(491): warning C4814: 'c10::optional::value': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(497): warning C4814: 'c10::optional::value': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(509): warning C4814: 'c10::optional::value_or': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(93): warning C4814: 'c10::reverse_iterator<_Iterator>::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(177): note: see reference to class template instantiation 'c10::reverse_iterator<_Iterator>' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(126): warning C4814: 'c10::reverse_iterator<_Iterator>::operator ++': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(132): warning C4814: 'c10::reverse_iterator<_Iterator>::operator ++': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(137): warning C4814: 'c10::reverse_iterator<_Iterator>::operator --': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(143): warning C4814: 'c10::reverse_iterator<_Iterator>::operator --': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(152): warning C4814: 'c10::reverse_iterator<_Iterator>::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(161): warning C4814: 'c10::reverse_iterator<_Iterator>::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(59): warning C4814: 'c10::basic_string_view::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(643): note: see reference to class template instantiation 'c10::basic_string_view' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(159): warning C4814: 'c10::basic_string_view::remove_prefix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(168): warning C4814: 'c10::basic_string_view::remove_suffix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(174): warning C4814: 'c10::basic_string_view::swap': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): error C3250: 'i': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): note: see usage of '++' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(104): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(105): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(59): warning C4814: 'c10::basic_string_view::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(123): note: see reference to class template instantiation 'c10::basic_string_view' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(159): warning C4814: 'c10::basic_string_view::remove_prefix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(168): warning C4814: 'c10::basic_string_view::remove_suffix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(174): warning C4814: 'c10::basic_string_view::swap': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(182): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::ScalarType &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const c10::ScalarType &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(284): error C2059: syntax error: 'return' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(284): error C2238: unexpected token(s) preceding ';' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(287): error C2144: syntax error: 'void' should be preceded by ';' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(187): error C2440: 'return': cannot convert from 'initializer list' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(187): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(190): error C2440: 'return': cannot convert from 'initializer list' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(190): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(192): error C2440: 'return': cannot convert from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(192): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(196): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(196): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(197): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(203): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'caffe2::TypeMeta &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const caffe2::TypeMeta &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(204): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(203): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(205): error C2440: 'return': cannot convert from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(205): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(207): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(211): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(211): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): error C2440: 'type cast': cannot convert from 'c10::ScalarType' to 'int' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): note: This conversion requires an explicit cast (static_cast, C-style cast or function-style cast) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): error C2446: '==': no conversion from 'c10::ScalarType' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/Scalar.h(63): warning C4800: 'const int64_t': forcing value to bool 'true' or 'false' (performance warning) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(24): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(181): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(24): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(28): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(203): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(28): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(31): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::Layout &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const c10::Layout &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(32): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(32): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(35): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::Device &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const c10::Device &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(36): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(36): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(39): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'bool &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const bool &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(40): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(39): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(40): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(138): error C2664: 'void c10::TensorOptions::set_layout(c10::optional) noexcept &': cannot convert argument 1 from 'c10::Layout' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(138): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(164): error C2664: 'void c10::TensorOptions::set_dtype(c10::optional) noexcept &': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(164): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(169): error C2664: 'void c10::TensorOptions::set_dtype(c10::optional) noexcept &': cannot convert argument 1 from 'c10::ScalarType' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(169): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(174): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::MemoryFormat &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const c10::MemoryFormat &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(174): error C2664: 'void c10::TensorOptions::set_memory_format(c10::optional) noexcept &': cannot convert argument 1 from 'c10::MemoryFormat' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(174): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(265): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(265): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(286): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(286): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(302): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(302): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(319): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(319): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(345): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(345): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(359): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(359): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(415): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(415): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(416): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(425): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(425): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(426): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(435): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(435): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(436): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(445): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(445): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(446): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(446): error C2440: '=': cannot convert from 'c10::optional' to 'c10::Layout' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(446): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(455): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(455): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(456): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(456): error C2440: '=': cannot convert from 'c10::optional' to 'bool' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(456): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(465): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(465): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(466): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(466): error C2440: '=': cannot convert from 'c10::optional' to 'bool' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(466): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(475): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(475): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(476): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(476): error C2440: '=': cannot convert from 'c10::optional' to 'c10::MemoryFormat' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(476): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(524): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(524): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(529): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(529): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(535): error C2664: 'c10::Layout c10::TensorOptions::layout(void) noexcept const': cannot convert argument 1 from 'c10::Layout' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(535): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(553): error C2664: 'bool c10::TensorOptions::requires_grad(void) noexcept const': cannot convert argument 1 from 'bool' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(553): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(559): error C2664: 'c10::TensorOptions c10::TensorOptions::memory_format(c10::optional) noexcept const': cannot convert argument 1 from 'c10::MemoryFormat' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(559): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(481): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(485): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(485): error C2039: 'index': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(489): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(493): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1000): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1002): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1002): error C2039: 'type': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1247): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optional &c10::optional::operator =(c10::optional &&)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optional &c10::optional::operator =(const c10::optional &)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1247): note: while trying to match the argument list '(c10::optional, c10::Device)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1258): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optional &c10::optional::operator =(c10::optional &&)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optional &c10::optional::operator =(const c10::optional &)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1258): note: while trying to match the argument list '(c10::optional, c10::Device)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1318): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optional &c10::optional::operator =(c10::optional &&)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optional &c10::optional::operator =(const c10::optional &)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1318): note: while trying to match the argument list '(c10::optional, c10::Device)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1363): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optional &c10::optional::operator =(c10::optional &&)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optional &c10::optional::operator =(const c10::optional &)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1363): note: while trying to match the argument list '(c10::optional, c10::Device)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(95): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(95): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(96): error C2228: left of '.device' must have class/struct/union C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(97): error C2228: left of '.layout' must have class/struct/union C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(103): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(106): error C2039: 'value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(106): error C2512: 'c10::Device': no appropriate default constructor available C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/Device.h(30): note: see declaration of 'c10::Device' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/TensorBody.h(1319): warning C4522: 'at::Tensor': multiple assignment operators specified C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/TensorBody.h(561): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/TensorBody.h(561): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/TensorBody.h(561): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'at::Tensor &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const at::Tensor &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): fatal error C1003: error count exceeds 100; stopping compilation [2/13] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\vision.cpp /FoC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\vision.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 FAILED: C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/build/temp.win-amd64-3.8/Release/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/vision.obj cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\vision.cpp /FoC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\vision.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): note: see usage of '++' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: 'k': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(60): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(60): note: see usage of '|=' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(66): warning C4800: 'uint64_t': forcing value to bool 'true' or 'false' (performance warning) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(156): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(277): note: see reference to class template instantiation 'c10::complex' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(57): note: see reference to class template instantiation 'std::initializer_list' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(161): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(166): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(172): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(178): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(185): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(192): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(211): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(229): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(237): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(270): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(276): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(156): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(281): note: see reference to class template instantiation 'c10::complex' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(161): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(166): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(172): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(178): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(185): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(192): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(211): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(229): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(237): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(270): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(276): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(156): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(285): note: see reference to class template instantiation 'c10::complex' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(161): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(166): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(172): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(178): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(185): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(192): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(211): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(229): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(237): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(270): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(276): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(515): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optional::operator ->': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(474): warning C4814: 'c10::optional::operator ': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(479): warning C4814: 'c10::optional::operator ': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(491): warning C4814: 'c10::optional::value': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(497): warning C4814: 'c10::optional::value': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(509): warning C4814: 'c10::optional::value_or': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(93): warning C4814: 'c10::reverse_iterator<_Iterator>::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(177): note: see reference to class template instantiation 'c10::reverse_iterator<_Iterator>' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(126): warning C4814: 'c10::reverse_iterator<_Iterator>::operator ++': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(132): warning C4814: 'c10::reverse_iterator<_Iterator>::operator ++': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(137): warning C4814: 'c10::reverse_iterator<_Iterator>::operator --': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(143): warning C4814: 'c10::reverse_iterator<_Iterator>::operator --': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(152): warning C4814: 'c10::reverse_iterator<_Iterator>::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(161): warning C4814: 'c10::reverse_iterator<_Iterator>::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(59): warning C4814: 'c10::basic_string_view::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(643): note: see reference to class template instantiation 'c10::basic_string_view' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(159): warning C4814: 'c10::basic_string_view::remove_prefix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(168): warning C4814: 'c10::basic_string_view::remove_suffix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(174): warning C4814: 'c10::basic_string_view::swap': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): error C3250: 'i': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): note: see usage of '++' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(104): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(105): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(59): warning C4814: 'c10::basic_string_view::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(123): note: see reference to class template instantiation 'c10::basic_string_view' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(159): warning C4814: 'c10::basic_string_view::remove_prefix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(168): warning C4814: 'c10::basic_string_view::remove_suffix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(174): warning C4814: 'c10::basic_string_view::swap': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(182): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::ScalarType &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const c10::ScalarType &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(284): error C2059: syntax error: 'return' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(284): error C2238: unexpected token(s) preceding ';' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(287): error C2144: syntax error: 'void' should be preceded by ';' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(187): error C2440: 'return': cannot convert from 'initializer list' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(187): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(190): error C2440: 'return': cannot convert from 'initializer list' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(190): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(192): error C2440: 'return': cannot convert from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(192): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(196): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(196): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(197): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(203): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'caffe2::TypeMeta &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const caffe2::TypeMeta &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(204): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(203): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(205): error C2440: 'return': cannot convert from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(205): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(207): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(211): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(211): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): error C2440: 'type cast': cannot convert from 'c10::ScalarType' to 'int' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): note: This conversion requires an explicit cast (static_cast, C-style cast or function-style cast) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): error C2446: '==': no conversion from 'c10::ScalarType' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/Scalar.h(63): warning C4800: 'const int64_t': forcing value to bool 'true' or 'false' (performance warning) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(24): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(181): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(24): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(28): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(203): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(28): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(31): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::Layout &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const c10::Layout &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(32): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(32): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(35): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::Device &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const c10::Device &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(36): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(36): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(39): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'bool &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const bool &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(40): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(39): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(40): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(138): error C2664: 'void c10::TensorOptions::set_layout(c10::optional) noexcept &': cannot convert argument 1 from 'c10::Layout' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(138): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(164): error C2664: 'void c10::TensorOptions::set_dtype(c10::optional) noexcept &': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(164): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(169): error C2664: 'void c10::TensorOptions::set_dtype(c10::optional) noexcept &': cannot convert argument 1 from 'c10::ScalarType' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(169): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(174): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::MemoryFormat &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const c10::MemoryFormat &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(174): error C2664: 'void c10::TensorOptions::set_memory_format(c10::optional) noexcept &': cannot convert argument 1 from 'c10::MemoryFormat' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(174): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(265): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(265): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(286): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(286): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(302): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(302): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(319): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(319): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(345): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(345): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(359): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(359): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(415): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(415): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(416): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(425): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(425): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(426): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(435): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(435): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(436): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(445): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(445): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(446): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(446): error C2440: '=': cannot convert from 'c10::optional' to 'c10::Layout' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(446): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(455): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(455): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(456): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(456): error C2440: '=': cannot convert from 'c10::optional' to 'bool' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(456): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(465): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(465): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(466): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(466): error C2440: '=': cannot convert from 'c10::optional' to 'bool' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(466): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(475): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(475): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(476): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(476): error C2440: '=': cannot convert from 'c10::optional' to 'c10::MemoryFormat' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(476): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(524): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(524): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(529): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(529): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(535): error C2664: 'c10::Layout c10::TensorOptions::layout(void) noexcept const': cannot convert argument 1 from 'c10::Layout' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(535): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(553): error C2664: 'bool c10::TensorOptions::requires_grad(void) noexcept const': cannot convert argument 1 from 'bool' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(553): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(559): error C2664: 'c10::TensorOptions c10::TensorOptions::memory_format(c10::optional) noexcept const': cannot convert argument 1 from 'c10::MemoryFormat' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(559): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(481): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(485): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(485): error C2039: 'index': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(489): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(493): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1000): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1002): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1002): error C2039: 'type': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1247): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optional &c10::optional::operator =(c10::optional &&)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optional &c10::optional::operator =(const c10::optional &)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1247): note: while trying to match the argument list '(c10::optional, c10::Device)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1258): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optional &c10::optional::operator =(c10::optional &&)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optional &c10::optional::operator =(const c10::optional &)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1258): note: while trying to match the argument list '(c10::optional, c10::Device)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1318): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optional &c10::optional::operator =(c10::optional &&)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optional &c10::optional::operator =(const c10::optional &)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1318): note: while trying to match the argument list '(c10::optional, c10::Device)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1363): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optional &c10::optional::operator =(c10::optional &&)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optional &c10::optional::operator =(const c10::optional &)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1363): note: while trying to match the argument list '(c10::optional, c10::Device)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(95): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(95): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(96): error C2228: left of '.device' must have class/struct/union C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(97): error C2228: left of '.layout' must have class/struct/union C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(103): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(106): error C2039: 'value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(106): error C2512: 'c10::Device': no appropriate default constructor available C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/Device.h(30): note: see declaration of 'c10::Device' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/TensorBody.h(1319): warning C4522: 'at::Tensor': multiple assignment operators specified C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/TensorBody.h(561): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/TensorBody.h(561): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/TensorBody.h(561): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'at::Tensor &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const at::Tensor &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): fatal error C1003: error count exceeds 100; stopping compilation [3/13] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\nms_rotated\nms_rotated_cpu.cpp /FoC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\nms_rotated\nms_rotated_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 FAILED: C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/build/temp.win-amd64-3.8/Release/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/nms_rotated/nms_rotated_cpu.obj cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\nms_rotated\nms_rotated_cpu.cpp /FoC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\nms_rotated\nms_rotated_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): note: see usage of '++'

mobassir94 commented 3 years ago

C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: 'k': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(60): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(60): note: see usage of '|=' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(66): warning C4800: 'uint64_t': forcing value to bool 'true' or 'false' (performance warning) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(156): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(277): note: see reference to class template instantiation 'c10::complex' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(57): note: see reference to class template instantiation 'std::initializer_list' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(161): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(166): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(172): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(178): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(185): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(192): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(211): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(229): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(237): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(270): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(276): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(156): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(281): note: see reference to class template instantiation 'c10::complex' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(161): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(166): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(172): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(178): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(185): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(192): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(211): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(229): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(237): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(270): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(276): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(156): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(285): note: see reference to class template instantiation 'c10::complex' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(161): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(166): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(172): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(178): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(185): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(192): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(211): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(229): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(237): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(270): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(276): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(515): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optional::operator ->': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(474): warning C4814: 'c10::optional::operator ': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(479): warning C4814: 'c10::optional::operator ': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(491): warning C4814: 'c10::optional::value': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(497): warning C4814: 'c10::optional::value': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(509): warning C4814: 'c10::optional::value_or': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(93): warning C4814: 'c10::reverse_iterator<_Iterator>::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(177): note: see reference to class template instantiation 'c10::reverse_iterator<_Iterator>' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(126): warning C4814: 'c10::reverse_iterator<_Iterator>::operator ++': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(132): warning C4814: 'c10::reverse_iterator<_Iterator>::operator ++': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(137): warning C4814: 'c10::reverse_iterator<_Iterator>::operator --': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(143): warning C4814: 'c10::reverse_iterator<_Iterator>::operator --': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(152): warning C4814: 'c10::reverse_iterator<_Iterator>::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(161): warning C4814: 'c10::reverse_iterator<_Iterator>::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(59): warning C4814: 'c10::basic_string_view::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(643): note: see reference to class template instantiation 'c10::basic_string_view' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(159): warning C4814: 'c10::basic_string_view::remove_prefix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(168): warning C4814: 'c10::basic_string_view::remove_suffix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(174): warning C4814: 'c10::basic_string_view::swap': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): error C3250: 'i': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): note: see usage of '++' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(104): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(105): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(59): warning C4814: 'c10::basic_string_view::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(123): note: see reference to class template instantiation 'c10::basic_string_view' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(159): warning C4814: 'c10::basic_string_view::remove_prefix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(168): warning C4814: 'c10::basic_string_view::remove_suffix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(174): warning C4814: 'c10::basic_string_view::swap': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(182): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::ScalarType &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const c10::ScalarType &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(284): error C2059: syntax error: 'return' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(284): error C2238: unexpected token(s) preceding ';' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(287): error C2144: syntax error: 'void' should be preceded by ';' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(187): error C2440: 'return': cannot convert from 'initializer list' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(187): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(190): error C2440: 'return': cannot convert from 'initializer list' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(190): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(192): error C2440: 'return': cannot convert from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(192): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(196): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(196): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(197): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(203): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'caffe2::TypeMeta &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const caffe2::TypeMeta &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(204): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(203): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(205): error C2440: 'return': cannot convert from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(205): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(207): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(211): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(211): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): error C2440: 'type cast': cannot convert from 'c10::ScalarType' to 'int' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): note: This conversion requires an explicit cast (static_cast, C-style cast or function-style cast) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): error C2446: '==': no conversion from 'c10::ScalarType' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/Scalar.h(63): warning C4800: 'const int64_t': forcing value to bool 'true' or 'false' (performance warning) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(24): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(181): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(24): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(28): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(203): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(28): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(31): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::Layout &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const c10::Layout &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(32): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(32): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(35): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::Device &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const c10::Device &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(36): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(36): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(39): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'bool &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const bool &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(40): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(39): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(40): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(138): error C2664: 'void c10::TensorOptions::set_layout(c10::optional) noexcept &': cannot convert argument 1 from 'c10::Layout' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(138): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(164): error C2664: 'void c10::TensorOptions::set_dtype(c10::optional) noexcept &': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(164): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(169): error C2664: 'void c10::TensorOptions::set_dtype(c10::optional) noexcept &': cannot convert argument 1 from 'c10::ScalarType' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(169): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(174): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::MemoryFormat &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const c10::MemoryFormat &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(174): error C2664: 'void c10::TensorOptions::set_memory_format(c10::optional) noexcept &': cannot convert argument 1 from 'c10::MemoryFormat' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(174): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(265): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(265): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(286): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(286): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(302): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(302): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(319): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(319): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(345): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(345): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(359): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(359): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(415): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(415): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(416): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(425): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(425): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(426): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(435): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(435): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(436): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(445): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(445): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(446): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(446): error C2440: '=': cannot convert from 'c10::optional' to 'c10::Layout' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(446): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(455): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(455): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(456): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(456): error C2440: '=': cannot convert from 'c10::optional' to 'bool' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(456): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(465): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(465): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(466): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(466): error C2440: '=': cannot convert from 'c10::optional' to 'bool' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(466): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(475): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(475): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(476): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(476): error C2440: '=': cannot convert from 'c10::optional' to 'c10::MemoryFormat' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(476): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(524): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(524): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(529): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(529): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(535): error C2664: 'c10::Layout c10::TensorOptions::layout(void) noexcept const': cannot convert argument 1 from 'c10::Layout' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(535): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(553): error C2664: 'bool c10::TensorOptions::requires_grad(void) noexcept const': cannot convert argument 1 from 'bool' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(553): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(559): error C2664: 'c10::TensorOptions c10::TensorOptions::memory_format(c10::optional) noexcept const': cannot convert argument 1 from 'c10::MemoryFormat' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(559): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(481): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(485): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(485): error C2039: 'index': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(489): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(493): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1000): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1002): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1002): error C2039: 'type': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1247): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optional &c10::optional::operator =(c10::optional &&)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optional &c10::optional::operator =(const c10::optional &)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1247): note: while trying to match the argument list '(c10::optional, c10::Device)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1258): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optional &c10::optional::operator =(c10::optional &&)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optional &c10::optional::operator =(const c10::optional &)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1258): note: while trying to match the argument list '(c10::optional, c10::Device)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1318): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optional &c10::optional::operator =(c10::optional &&)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optional &c10::optional::operator =(const c10::optional &)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1318): note: while trying to match the argument list '(c10::optional, c10::Device)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1363): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optional &c10::optional::operator =(c10::optional &&)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optional &c10::optional::operator =(const c10::optional &)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1363): note: while trying to match the argument list '(c10::optional, c10::Device)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(95): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(95): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(96): error C2228: left of '.device' must have class/struct/union C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(97): error C2228: left of '.layout' must have class/struct/union C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(103): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(106): error C2039: 'value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(106): error C2512: 'c10::Device': no appropriate default constructor available C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/Device.h(30): note: see declaration of 'c10::Device' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/TensorBody.h(1319): warning C4522: 'at::Tensor': multiple assignment operators specified C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/TensorBody.h(561): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/TensorBody.h(561): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/TensorBody.h(561): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'at::Tensor &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const at::Tensor &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): fatal error C1003: error count exceeds 100; stopping compilation [4/13] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cpu.cpp /FoC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 FAILED: C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/build/temp.win-amd64-3.8/Release/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cpu.obj cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cpu.cpp /FoC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): note: see usage of '++' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: 'k': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(60): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(60): note: see usage of '|=' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(66): warning C4800: 'uint64_t': forcing value to bool 'true' or 'false' (performance warning) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(156): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(277): note: see reference to class template instantiation 'c10::complex' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(57): note: see reference to class template instantiation 'std::initializer_list' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(161): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(166): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(172): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(178): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(185): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(192): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(211): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(229): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(237): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(270): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(276): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(156): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(281): note: see reference to class template instantiation 'c10::complex' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(161): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(166): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(172): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(178): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(185): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(192): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(211): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(229): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(237): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(270): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(276): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(156): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(285): note: see reference to class template instantiation 'c10::complex' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(161): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(166): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(172): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(178): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(185): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(192): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(211): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(229): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(237): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(270): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(276): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(515): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optional::operator ->': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(474): warning C4814: 'c10::optional::operator ': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(479): warning C4814: 'c10::optional::operator ': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(491): warning C4814: 'c10::optional::value': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(497): warning C4814: 'c10::optional::value': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(509): warning C4814: 'c10::optional::value_or': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(93): warning C4814: 'c10::reverse_iterator<_Iterator>::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(177): note: see reference to class template instantiation 'c10::reverse_iterator<_Iterator>' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(126): warning C4814: 'c10::reverse_iterator<_Iterator>::operator ++': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(132): warning C4814: 'c10::reverse_iterator<_Iterator>::operator ++': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(137): warning C4814: 'c10::reverse_iterator<_Iterator>::operator --': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(143): warning C4814: 'c10::reverse_iterator<_Iterator>::operator --': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(152): warning C4814: 'c10::reverse_iterator<_Iterator>::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(161): warning C4814: 'c10::reverse_iterator<_Iterator>::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(59): warning C4814: 'c10::basic_string_view::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(643): note: see reference to class template instantiation 'c10::basic_string_view' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(159): warning C4814: 'c10::basic_string_view::remove_prefix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(168): warning C4814: 'c10::basic_string_view::remove_suffix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(174): warning C4814: 'c10::basic_string_view::swap': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): error C3250: 'i': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): note: see usage of '++' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(104): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(105): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(59): warning C4814: 'c10::basic_string_view::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(123): note: see reference to class template instantiation 'c10::basic_string_view' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(159): warning C4814: 'c10::basic_string_view::remove_prefix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(168): warning C4814: 'c10::basic_string_view::remove_suffix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(174): warning C4814: 'c10::basic_string_view::swap': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(182): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::ScalarType &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const c10::ScalarType &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(284): error C2059: syntax error: 'return' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(284): error C2238: unexpected token(s) preceding ';' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(287): error C2144: syntax error: 'void' should be preceded by ';' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(187): error C2440: 'return': cannot convert from 'initializer list' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(187): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(190): error C2440: 'return': cannot convert from 'initializer list' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(190): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(192): error C2440: 'return': cannot convert from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(192): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(196): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(196): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(197): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(203): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'caffe2::TypeMeta &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const caffe2::TypeMeta &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(204): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(203): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(205): error C2440: 'return': cannot convert from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(205): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(207): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(211): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(211): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): error C2440: 'type cast': cannot convert from 'c10::ScalarType' to 'int' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): note: This conversion requires an explicit cast (static_cast, C-style cast or function-style cast) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): error C2446: '==': no conversion from 'c10::ScalarType' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/Scalar.h(63): warning C4800: 'const int64_t': forcing value to bool 'true' or 'false' (performance warning) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(24): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(181): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(24): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(28): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(203): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(28): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(31): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::Layout &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const c10::Layout &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(32): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(32): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(35): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::Device &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const c10::Device &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(36): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(36): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(39): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'bool &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const bool &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(40): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(39): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(40): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(138): error C2664: 'void c10::TensorOptions::set_layout(c10::optional) noexcept &': cannot convert argument 1 from 'c10::Layout' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(138): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(164): error C2664: 'void c10::TensorOptions::set_dtype(c10::optional) noexcept &': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(164): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(169): error C2664: 'void c10::TensorOptions::set_dtype(c10::optional) noexcept &': cannot convert argument 1 from 'c10::ScalarType' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(169): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(174): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::MemoryFormat &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const c10::MemoryFormat &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(174): error C2664: 'void c10::TensorOptions::set_memory_format(c10::optional) noexcept &': cannot convert argument 1 from 'c10::MemoryFormat' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(174): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(265): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(265): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(286): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(286): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(302): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(302): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(319): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(319): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(345): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(345): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(359): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(359): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(415): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(415): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(416): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(425): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(425): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(426): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(435): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(435): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(436): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(445): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(445): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(446): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(446): error C2440: '=': cannot convert from 'c10::optional' to 'c10::Layout' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(446): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(455): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(455): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(456): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(456): error C2440: '=': cannot convert from 'c10::optional' to 'bool' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(456): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(465): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(465): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(466): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(466): error C2440: '=': cannot convert from 'c10::optional' to 'bool' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(466): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(475): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(475): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(476): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(476): error C2440: '=': cannot convert from 'c10::optional' to 'c10::MemoryFormat' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(476): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(524): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(524): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(529): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(529): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(535): error C2664: 'c10::Layout c10::TensorOptions::layout(void) noexcept const': cannot convert argument 1 from 'c10::Layout' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(535): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(553): error C2664: 'bool c10::TensorOptions::requires_grad(void) noexcept const': cannot convert argument 1 from 'bool' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(553): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(559): error C2664: 'c10::TensorOptions c10::TensorOptions::memory_format(c10::optional) noexcept const': cannot convert argument 1 from 'c10::MemoryFormat' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(559): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(481): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(485): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(485): error C2039: 'index': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(489): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(493): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1000): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1002): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1002): error C2039: 'type': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1247): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optional &c10::optional::operator =(c10::optional &&)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optional &c10::optional::operator =(const c10::optional &)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1247): note: while trying to match the argument list '(c10::optional, c10::Device)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1258): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optional &c10::optional::operator =(c10::optional &&)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optional &c10::optional::operator =(const c10::optional &)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1258): note: while trying to match the argument list '(c10::optional, c10::Device)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1318): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optional &c10::optional::operator =(c10::optional &&)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optional &c10::optional::operator =(const c10::optional &)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1318): note: while trying to match the argument list '(c10::optional, c10::Device)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1363): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optional &c10::optional::operator =(c10::optional &&)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optional &c10::optional::operator =(const c10::optional &)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1363): note: while trying to match the argument list '(c10::optional, c10::Device)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(95): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(95): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(96): error C2228: left of '.device' must have class/struct/union C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(97): error C2228: left of '.layout' must have class/struct/union C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(103): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(106): error C2039: 'value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(106): error C2512: 'c10::Device': no appropriate default constructor available C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/Device.h(30): note: see declaration of 'c10::Device' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/TensorBody.h(1319): warning C4522: 'at::Tensor': multiple assignment operators specified C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/TensorBody.h(561): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/TensorBody.h(561): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/TensorBody.h(561): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'at::Tensor &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const at::Tensor &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): fatal error C1003: error count exceeds 100; stopping compilation [5/13] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlign\ROIAlign_cpu.cpp /FoC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlign\ROIAlign_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 FAILED: C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/build/temp.win-amd64-3.8/Release/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/ROIAlign/ROIAlign_cpu.obj cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlign\ROIAlign_cpu.cpp /FoC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlign\ROIAlign_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): note: see usage of '++' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: 'k': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(60): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(60): note: see usage of '|=' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(66): warning C4800: 'uint64_t': forcing value to bool 'true' or 'false' (performance warning) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(156): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(277): note: see reference to class template instantiation 'c10::complex' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(57): note: see reference to class template instantiation 'std::initializer_list' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(161): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(166): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(172): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(178): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(185): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(192): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(211): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(229): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(237): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(270): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(276): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(156): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(281): note: see reference to class template instantiation 'c10::complex' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(161): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(166): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(172): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(178): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(185): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(192): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(211): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(229): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(237): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(270): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(276): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(156): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(285): note: see reference to class template instantiation 'c10::complex' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(161): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(166): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(172): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(178): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(185): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(192): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(211): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(229): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(237): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(270): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/complex.h(276): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(515): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optional::operator ->': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(474): warning C4814: 'c10::optional::operator ': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(479): warning C4814: 'c10::optional::operator ': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(491): warning C4814: 'c10::optional::value': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(497): warning C4814: 'c10::optional::value': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(509): warning C4814: 'c10::optional::value_or': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(93): warning C4814: 'c10::reverse_iterator<_Iterator>::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(177): note: see reference to class template instantiation 'c10::reverse_iterator<_Iterator>' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(126): warning C4814: 'c10::reverse_iterator<_Iterator>::operator ++': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(132): warning C4814: 'c10::reverse_iterator<_Iterator>::operator ++': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(137): warning C4814: 'c10::reverse_iterator<_Iterator>::operator --': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(143): warning C4814: 'c10::reverse_iterator<_Iterator>::operator --': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(152): warning C4814: 'c10::reverse_iterator<_Iterator>::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/reverse_iterator.h(161): warning C4814: 'c10::reverse_iterator<_Iterator>::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(59): warning C4814: 'c10::basic_string_view::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(643): note: see reference to class template instantiation 'c10::basic_string_view' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(159): warning C4814: 'c10::basic_string_view::remove_prefix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(168): warning C4814: 'c10::basic_string_view::remove_suffix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(174): warning C4814: 'c10::basic_string_view::swap': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): error C3250: 'i': declaration is not allowed in 'constexpr' function body C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): note: see usage of '++' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(104): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(105): error C3249: illegal statement or sub-expression for 'constexpr' function C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(59): warning C4814: 'c10::basic_string_view::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(123): note: see reference to class template instantiation 'c10::basic_string_view' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(159): warning C4814: 'c10::basic_string_view::remove_prefix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(168): warning C4814: 'c10::basic_string_view::remove_suffix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/string_view.h(174): warning C4814: 'c10::basic_string_view::swap': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(182): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::ScalarType &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const c10::ScalarType &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(284): error C2059: syntax error: 'return' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(284): error C2238: unexpected token(s) preceding ';' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(287): error C2144: syntax error: 'void' should be preceded by ';' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(187): error C2440: 'return': cannot convert from 'initializer list' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(187): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(190): error C2440: 'return': cannot convert from 'initializer list' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(190): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(192): error C2440: 'return': cannot convert from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(192): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(196): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(196): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(197): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(203): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'caffe2::TypeMeta &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const caffe2::TypeMeta &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(204): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(203): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(205): error C2440: 'return': cannot convert from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(205): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(207): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(211): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(211): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): error C2440: 'type cast': cannot convert from 'c10::ScalarType' to 'int' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): note: This conversion requires an explicit cast (static_cast, C-style cast or function-style cast) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): error C2446: '==': no conversion from 'c10::ScalarType' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(212): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/Scalar.h(63): warning C4800: 'const int64_t': forcing value to bool 'true' or 'false' (performance warning) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(24): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(181): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(24): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(28): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/ScalarType.h(203): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(28): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(31): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::Layout &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const c10::Layout &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(32): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(32): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(35): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::Device &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const c10::Device &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(36): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(36): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(39): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'bool &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const bool &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(40): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(39): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(40): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(138): error C2664: 'void c10::TensorOptions::set_layout(c10::optional) noexcept &': cannot convert argument 1 from 'c10::Layout' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(138): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(164): error C2664: 'void c10::TensorOptions::set_dtype(c10::optional) noexcept &': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(164): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(169): error C2664: 'void c10::TensorOptions::set_dtype(c10::optional) noexcept &': cannot convert argument 1 from 'c10::ScalarType' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(169): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(174): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::MemoryFormat &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const c10::MemoryFormat &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(174): error C2664: 'void c10::TensorOptions::set_memory_format(c10::optional) noexcept &': cannot convert argument 1 from 'c10::MemoryFormat' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(174): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(265): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(265): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(286): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(286): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(302): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(302): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(319): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(319): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(345): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(345): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(359): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(359): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(415): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(415): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(416): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(425): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(425): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(426): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(435): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(435): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(436): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(445): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(445): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(446): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(446): error C2440: '=': cannot convert from 'c10::optional' to 'c10::Layout' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(446): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(455): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(455): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(456): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(456): error C2440: '=': cannot convert from 'c10::optional' to 'bool' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(456): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(465): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(465): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(466): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(466): error C2440: '=': cannot convert from 'c10::optional' to 'bool' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(466): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(475): error C2451: conditional expression of type 'c10::optional' is illegal C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(475): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(476): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(476): error C2440: '=': cannot convert from 'c10::optional' to 'c10::MemoryFormat' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(476): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(524): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(524): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(529): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(529): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(535): error C2664: 'c10::Layout c10::TensorOptions::layout(void) noexcept const': cannot convert argument 1 from 'c10::Layout' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(535): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(553): error C2664: 'bool c10::TensorOptions::requires_grad(void) noexcept const': cannot convert argument 1 from 'bool' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(553): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(559): error C2664: 'c10::TensorOptions c10::TensorOptions::memory_format(c10::optional) noexcept const': cannot convert argument 1 from 'c10::MemoryFormat' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(559): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(481): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(485): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(485): error C2039: 'index': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(489): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(493): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1000): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1002): error C2100: illegal indirection C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1002): error C2039: 'type': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1247): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optional &c10::optional::operator =(c10::optional &&)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optional &c10::optional::operator =(const c10::optional &)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1247): note: while trying to match the argument list '(c10::optional, c10::Device)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1258): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optional &c10::optional::operator =(c10::optional &&)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optional &c10::optional::operator =(const c10::optional &)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1258): note: while trying to match the argument list '(c10::optional, c10::Device)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1318): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optional &c10::optional::operator =(c10::optional &&)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optional &c10::optional::operator =(const c10::optional &)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1318): note: while trying to match the argument list '(c10::optional, c10::Device)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1363): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion) C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optional &c10::optional::operator =(c10::optional &&)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optional &c10::optional::operator =(const c10::optional &)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorImpl.h(1363): note: while trying to match the argument list '(c10::optional, c10::Device)' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(95): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(95): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(96): error C2228: left of '.device' must have class/struct/union C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(97): error C2228: left of '.layout' must have class/struct/union C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(103): error C2039: 'has_value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(106): error C2039: 'value': is not a member of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(106): error C2512: 'c10::Device': no appropriate default constructor available C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/core/Device.h(30): note: see declaration of 'c10::Device'

mobassir94 commented 3 years ago

C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/TensorBody.h(1319): warning C4522: 'at::Tensor': multiple assignment operators specified C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/TensorBody.h(561): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optional' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/TensorBody.h(561): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/TensorBody.h(561): note: see reference to class template instantiation 'c10::optional' being compiled C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'at::Tensor &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const at::Tensor &c10::optional::contained_val(void) const &' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val' C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\c10/util/Optional.h(283): fatal error C1003: error count exceeds 100; stopping compilation [6/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\cuda_version.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\cuda_version.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 support for this version of Microsoft Visual Studio has been deprecated! Only the versions between 2017 and 2019 (inclusive) are supported! nvcc warning : nvcc support for Microsoft Visual Studio 2015 and earlier has been deprecated and is no longer being maintained cuda_version.cu support for this version of Microsoft Visual Studio has been deprecated! Only the versions between 2017 and 2019 (inclusive) are supported! [7/13] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\cocoeval\cocoeval.cpp /FoC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\cocoeval\cocoeval.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 [8/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\deformable\deform_conv_cuda_kernel.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\deformable\deform_conv_cuda_kernel.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 FAILED: C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/build/temp.win-amd64-3.8/Release/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\deformable\deform_conv_cuda_kernel.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\deformable\deform_conv_cuda_kernel.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 support for this version of Microsoft Visual Studio has been deprecated! Only the versions between 2017 and 2019 (inclusive) are supported! C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(60): error: statement may not appear in a constexpr constructor

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(59): error: statement may not appear in a constexpr constructor

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(191): error: expression must have a constant value
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(191): note: this call cannot be evaluated because the target function function "c10::DispatchKeySet::DispatchKeySet(std::initializer_list<c10::DispatchKey>)"
(57): here is not constexpr or not completely defined yet

C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/include\thrust/detail/config/cpp_dialect.h:98: warning: Thrust requires MSVC 2017. Please upgrade your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/include\thrust/detail/config/cpp_dialect.h:104: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(283): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(115): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(121): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(127): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(133): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(159): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(171): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(184): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(190): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(199): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function
          detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, const c10::TensorOptions &)]"
(54): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(54): error: expression must have a constant value
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(54): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, const c10::TensorOptions &)]"
(46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function
          detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, c10::TensorOptions)]"
(55): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(55): error: expression must have a constant value
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(55): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, c10::TensorOptions)]"
(46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function
          detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, std::string)]"
(56): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(56): error: expression must have a constant value
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(56): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, std::string)]"
(46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(const c10::optional<T> &) [with T=c10::ScalarType]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(699): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::ScalarType &" to initializer of type "const c10::ScalarType"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=c10::ScalarType]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/ScalarType.h(197): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "caffe2::TypeMeta &" to initializer of type "const caffe2::TypeMeta"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=caffe2::TypeMeta]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/ScalarType.h(207): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Layout &" to initializer of type "const c10::Layout"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=c10::Layout]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(32): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands
            operand types are: const c10::Device = c10::Device
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=c10::Device]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorImpl.h(1228): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Device &" to initializer of type "const c10::Device"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=c10::Device]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(36): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::Device &" to initializer of type "const c10::Device"
          detected during instantiation of "T &c10::optional<T>::value() & [with T=c10::Device]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/DeprecatedTypeProperties.h(106): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(const c10::optional<T> &) [with T=__nv_bool]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(693): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "__nv_bool &" to initializer of type "const __nv_bool"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=__nv_bool]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(40): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(496): error: qualifiers dropped in binding reference of type "__nv_bool &&" to initializer of type "const __nv_bool"
          detected during instantiation of "T &&c10::optional<T>::value() && [with T=__nv_bool]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(19): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::MemoryFormat &" to initializer of type "const c10::MemoryFormat"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=c10::MemoryFormat]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(476): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "c10::MemoryFormat &&" to initializer of type "const c10::MemoryFormat"
          detected during instantiation of "T &&c10::optional<T>::operator*() && [with T=c10::MemoryFormat]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/Functions.h(1521): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const c10::Device = c10::Device
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=c10::Device, U=c10::Device]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorImpl.h(1247): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "int64_t &" to initializer of type "const int64_t"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=int64_t]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(474): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "int64_t &" to initializer of type "const int64_t"
          detected during instantiation of "T &c10::optional<T>::value() & [with T=int64_t]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/TensorIndexing.h(31): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::string &" to initializer of type "const std::string"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=std::string]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(121): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "size_t &" to initializer of type "const size_t"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=size_t]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(459): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const c10::Stride = c10::Stride
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=c10::Stride, U=c10::Stride]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(382): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> = const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(const c10::optional<T> &) [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> &" to initializer of type "const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>]"
(400): here
            instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> = std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> = std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>, U=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> &]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(463): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>> = const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(const c10::optional<T> &) [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>> &" to initializer of type "const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
(400): here
            instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>> = std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>> = std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>
          detected during:
            instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>, U=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(539): here
            instantiation of "c10::VaryingShape<T>::VaryingShape(c10::optional<size_t>) [with T=c10::Stride]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(709): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "std::vector<int64_t, std::allocator<int64_t>> &&" to initializer of type "const std::vector<int64_t, std::allocator<int64_t>>"
          detected during instantiation of "T &&c10::optional<T>::operator*() && [with T=std::vector<int64_t, std::allocator<int64_t>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(745): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: expression must be a modifiable lvalue
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=__nv_bool, U=__nv_bool]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(787): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::QualifiedName &" to initializer of type "const c10::QualifiedName"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=c10::QualifiedName]"
(327): here
            instantiation of "c10::optional<T>::optional(c10::optional<T> &&) [with T=c10::QualifiedName]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(1058): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::DeviceIndex &" to initializer of type "const c10::DeviceIndex"
          detected during:
            instantiation of "T &c10::optional<T>::value() & [with T=c10::DeviceIndex]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/impl/InlineDeviceGuard.h(220): here
            instantiation of "c10::impl::InlineOptionalDeviceGuard<T>::InlineOptionalDeviceGuard(c10::optional<c10::DeviceIndex>) [with T=c10::cuda::impl::CUDAGuardImpl, U=c10::cuda::impl::CUDAGuardImpl, <unnamed>=void]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(74): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Stream &" to initializer of type "const c10::Stream"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=c10::Stream]"
(327): here
            instantiation of "c10::optional<T>::optional(c10::optional<T> &&) [with T=c10::Stream]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/impl/InlineStreamGuard.h(168): here
            instantiation of "c10::optional<c10::Stream> c10::impl::InlineOptionalStreamGuard<T>::original_stream() const [with T=c10::cuda::impl::CUDAGuardImpl]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(208): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::Stream &" to initializer of type "const c10::Stream"
          detected during instantiation of "T &c10::optional<T>::value() & [with T=c10::Stream]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(210): here

51 errors detected in the compilation of "C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu".
nvcc warning : nvcc support for Microsoft Visual Studio 2015 and earlier has been deprecated and is no longer being maintained
deform_conv_cuda_kernel.cu
[9/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\nms_rotated\nms_rotated_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\nms_rotated\nms_rotated_cuda.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -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=0 -gencode=arch=compute_86,code=sm_86
FAILED: C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/build/temp.win-amd64-3.8/Release/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\nms_rotated\nms_rotated_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\nms_rotated\nms_rotated_cuda.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -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=0 -gencode=arch=compute_86,code=sm_86
support for this version of Microsoft Visual Studio has been deprecated! Only the versions between 2017 and 2019 (inclusive) are supported!
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(60): error: statement may not appear in a constexpr constructor

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(59): error: statement may not appear in a constexpr constructor

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(191): error: expression must have a constant value
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(191): note: this call cannot be evaluated because the target function function "c10::DispatchKeySet::DispatchKeySet(std::initializer_list<c10::DispatchKey>)"
(57): here is not constexpr or not completely defined yet

C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/include\thrust/detail/config/cpp_dialect.h:98: warning: Thrust requires MSVC 2017. Please upgrade your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/include\thrust/detail/config/cpp_dialect.h:104: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(283): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(115): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(121): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(127): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(133): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(159): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(171): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(184): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(190): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(199): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function
          detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, const c10::TensorOptions &)]"
(54): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(54): error: expression must have a constant value
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(54): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, const c10::TensorOptions &)]"
(46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function
          detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, c10::TensorOptions)]"
(55): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(55): error: expression must have a constant value
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(55): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, c10::TensorOptions)]"
(46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function
          detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, std::string)]"
(56): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(56): error: expression must have a constant value
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(56): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, std::string)]"
(46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(const c10::optional<T> &) [with T=c10::ScalarType]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(699): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::ScalarType &" to initializer of type "const c10::ScalarType"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=c10::ScalarType]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/ScalarType.h(197): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "caffe2::TypeMeta &" to initializer of type "const caffe2::TypeMeta"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=caffe2::TypeMeta]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/ScalarType.h(207): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Layout &" to initializer of type "const c10::Layout"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=c10::Layout]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(32): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands
            operand types are: const c10::Device = c10::Device
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=c10::Device]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorImpl.h(1228): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Device &" to initializer of type "const c10::Device"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=c10::Device]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(36): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::Device &" to initializer of type "const c10::Device"
          detected during instantiation of "T &c10::optional<T>::value() & [with T=c10::Device]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/DeprecatedTypeProperties.h(106): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(const c10::optional<T> &) [with T=__nv_bool]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(693): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "__nv_bool &" to initializer of type "const __nv_bool"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=__nv_bool]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(40): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(496): error: qualifiers dropped in binding reference of type "__nv_bool &&" to initializer of type "const __nv_bool"
          detected during instantiation of "T &&c10::optional<T>::value() && [with T=__nv_bool]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(19): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::MemoryFormat &" to initializer of type "const c10::MemoryFormat"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=c10::MemoryFormat]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(476): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "c10::MemoryFormat &&" to initializer of type "const c10::MemoryFormat"
          detected during instantiation of "T &&c10::optional<T>::operator*() && [with T=c10::MemoryFormat]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/Functions.h(1521): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const c10::Device = c10::Device
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=c10::Device, U=c10::Device]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorImpl.h(1247): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "int64_t &" to initializer of type "const int64_t"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=int64_t]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(474): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "int64_t &" to initializer of type "const int64_t"
          detected during instantiation of "T &c10::optional<T>::value() & [with T=int64_t]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/TensorIndexing.h(31): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::string &" to initializer of type "const std::string"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=std::string]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(121): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "size_t &" to initializer of type "const size_t"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=size_t]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(459): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const c10::Stride = c10::Stride
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=c10::Stride, U=c10::Stride]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(382): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> = const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(const c10::optional<T> &) [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> &" to initializer of type "const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>]"
(400): here
            instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> = std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> = std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>, U=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> &]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(463): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>> = const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(const c10::optional<T> &) [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>> &" to initializer of type "const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
(400): here
            instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>> = std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>> = std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>
          detected during:
            instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>, U=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(539): here
            instantiation of "c10::VaryingShape<T>::VaryingShape(c10::optional<size_t>) [with T=c10::Stride]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(709): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "std::vector<int64_t, std::allocator<int64_t>> &&" to initializer of type "const std::vector<int64_t, std::allocator<int64_t>>"
          detected during instantiation of "T &&c10::optional<T>::operator*() && [with T=std::vector<int64_t, std::allocator<int64_t>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(745): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: expression must be a modifiable lvalue
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=__nv_bool, U=__nv_bool]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(787): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::QualifiedName &" to initializer of type "const c10::QualifiedName"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=c10::QualifiedName]"
(327): here
            instantiation of "c10::optional<T>::optional(c10::optional<T> &&) [with T=c10::QualifiedName]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(1058): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::DeviceIndex &" to initializer of type "const c10::DeviceIndex"
          detected during:
            instantiation of "T &c10::optional<T>::value() & [with T=c10::DeviceIndex]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/impl/InlineDeviceGuard.h(220): here
            instantiation of "c10::impl::InlineOptionalDeviceGuard<T>::InlineOptionalDeviceGuard(c10::optional<c10::DeviceIndex>) [with T=c10::cuda::impl::CUDAGuardImpl, U=c10::cuda::impl::CUDAGuardImpl, <unnamed>=void]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(74): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Stream &" to initializer of type "const c10::Stream"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=c10::Stream]"
(327): here
            instantiation of "c10::optional<T>::optional(c10::optional<T> &&) [with T=c10::Stream]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/impl/InlineStreamGuard.h(168): here
            instantiation of "c10::optional<c10::Stream> c10::impl::InlineOptionalStreamGuard<T>::original_stream() const [with T=c10::cuda::impl::CUDAGuardImpl]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(208): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::Stream &" to initializer of type "const c10::Stream"
          detected during instantiation of "T &c10::optional<T>::value() & [with T=c10::Stream]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(210): here

51 errors detected in the compilation of "C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/nms_rotated/nms_rotated_cuda.cu".
nvcc warning : nvcc support for Microsoft Visual Studio 2015 and earlier has been deprecated and is no longer being maintained
nms_rotated_cuda.cu
[10/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlign\ROIAlign_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlign\ROIAlign_cuda.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -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=0 -gencode=arch=compute_86,code=sm_86
FAILED: C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/build/temp.win-amd64-3.8/Release/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlign\ROIAlign_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlign\ROIAlign_cuda.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -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=0 -gencode=arch=compute_86,code=sm_86
support for this version of Microsoft Visual Studio has been deprecated! Only the versions between 2017 and 2019 (inclusive) are supported!
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(60): error: statement may not appear in a constexpr constructor

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(59): error: statement may not appear in a constexpr constructor

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(191): error: expression must have a constant value
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(191): note: this call cannot be evaluated because the target function function "c10::DispatchKeySet::DispatchKeySet(std::initializer_list<c10::DispatchKey>)"
(57): here is not constexpr or not completely defined yet

C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/include\thrust/detail/config/cpp_dialect.h:98: warning: Thrust requires MSVC 2017. Please upgrade your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/include\thrust/detail/config/cpp_dialect.h:104: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(283): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(115): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(121): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(127): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(133): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(159): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(171): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(184): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(190): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(199): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function
          detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, const c10::TensorOptions &)]"
(54): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(54): error: expression must have a constant value
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(54): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, const c10::TensorOptions &)]"
(46): here is not constexpr or not completely defined yet
mobassir94 commented 3 years ago

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg() [with FuncType=int (int64_t, c10::TensorOptions)]" (55): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(55): error: expression must have a constant value
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(55): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, c10::TensorOptions)]"
(46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function
          detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, std::string)]"
(56): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(56): error: expression must have a constant value
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(56): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, std::string)]"
(46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(const c10::optional<T> &) [with T=c10::ScalarType]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(699): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::ScalarType &" to initializer of type "const c10::ScalarType"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=c10::ScalarType]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/ScalarType.h(197): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "caffe2::TypeMeta &" to initializer of type "const caffe2::TypeMeta"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=caffe2::TypeMeta]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/ScalarType.h(207): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Layout &" to initializer of type "const c10::Layout"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=c10::Layout]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(32): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands
            operand types are: const c10::Device = c10::Device
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=c10::Device]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorImpl.h(1228): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Device &" to initializer of type "const c10::Device"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=c10::Device]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(36): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::Device &" to initializer of type "const c10::Device"
          detected during instantiation of "T &c10::optional<T>::value() & [with T=c10::Device]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/DeprecatedTypeProperties.h(106): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(const c10::optional<T> &) [with T=__nv_bool]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(693): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "__nv_bool &" to initializer of type "const __nv_bool"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=__nv_bool]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(40): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(496): error: qualifiers dropped in binding reference of type "__nv_bool &&" to initializer of type "const __nv_bool"
          detected during instantiation of "T &&c10::optional<T>::value() && [with T=__nv_bool]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(19): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::MemoryFormat &" to initializer of type "const c10::MemoryFormat"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=c10::MemoryFormat]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(476): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "c10::MemoryFormat &&" to initializer of type "const c10::MemoryFormat"
          detected during instantiation of "T &&c10::optional<T>::operator*() && [with T=c10::MemoryFormat]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/Functions.h(1521): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const c10::Device = c10::Device
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=c10::Device, U=c10::Device]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorImpl.h(1247): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "int64_t &" to initializer of type "const int64_t"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=int64_t]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(474): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "int64_t &" to initializer of type "const int64_t"
          detected during instantiation of "T &c10::optional<T>::value() & [with T=int64_t]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/TensorIndexing.h(31): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::string &" to initializer of type "const std::string"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=std::string]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(121): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "size_t &" to initializer of type "const size_t"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=size_t]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(459): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const c10::Stride = c10::Stride
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=c10::Stride, U=c10::Stride]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(382): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> = const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(const c10::optional<T> &) [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> &" to initializer of type "const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>]"
(400): here
            instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> = std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> = std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>, U=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> &]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(463): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>> = const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(const c10::optional<T> &) [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>> &" to initializer of type "const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
(400): here
            instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>> = std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>> = std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>
          detected during:
            instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>, U=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(539): here
            instantiation of "c10::VaryingShape<T>::VaryingShape(c10::optional<size_t>) [with T=c10::Stride]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(709): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "std::vector<int64_t, std::allocator<int64_t>> &&" to initializer of type "const std::vector<int64_t, std::allocator<int64_t>>"
          detected during instantiation of "T &&c10::optional<T>::operator*() && [with T=std::vector<int64_t, std::allocator<int64_t>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(745): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: expression must be a modifiable lvalue
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=__nv_bool, U=__nv_bool]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(787): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::QualifiedName &" to initializer of type "const c10::QualifiedName"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=c10::QualifiedName]"
(327): here
            instantiation of "c10::optional<T>::optional(c10::optional<T> &&) [with T=c10::QualifiedName]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(1058): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::DeviceIndex &" to initializer of type "const c10::DeviceIndex"
          detected during:
            instantiation of "T &c10::optional<T>::value() & [with T=c10::DeviceIndex]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/impl/InlineDeviceGuard.h(220): here
            instantiation of "c10::impl::InlineOptionalDeviceGuard<T>::InlineOptionalDeviceGuard(c10::optional<c10::DeviceIndex>) [with T=c10::cuda::impl::CUDAGuardImpl, U=c10::cuda::impl::CUDAGuardImpl, <unnamed>=void]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(74): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Stream &" to initializer of type "const c10::Stream"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=c10::Stream]"
(327): here
            instantiation of "c10::optional<T>::optional(c10::optional<T> &&) [with T=c10::Stream]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/impl/InlineStreamGuard.h(168): here
            instantiation of "c10::optional<c10::Stream> c10::impl::InlineOptionalStreamGuard<T>::original_stream() const [with T=c10::cuda::impl::CUDAGuardImpl]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(208): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::Stream &" to initializer of type "const c10::Stream"
          detected during instantiation of "T &c10::optional<T>::value() & [with T=c10::Stream]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(210): here

51 errors detected in the compilation of "C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu".
nvcc warning : nvcc support for Microsoft Visual Studio 2015 and earlier has been deprecated and is no longer being maintained
ROIAlign_cuda.cu
[11/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cuda.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -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=0 -gencode=arch=compute_86,code=sm_86
FAILED: C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/build/temp.win-amd64-3.8/Release/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cuda.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -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=0 -gencode=arch=compute_86,code=sm_86
support for this version of Microsoft Visual Studio has been deprecated! Only the versions between 2017 and 2019 (inclusive) are supported!
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(60): error: statement may not appear in a constexpr constructor

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(59): error: statement may not appear in a constexpr constructor

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(191): error: expression must have a constant value
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(191): note: this call cannot be evaluated because the target function function "c10::DispatchKeySet::DispatchKeySet(std::initializer_list<c10::DispatchKey>)"
(57): here is not constexpr or not completely defined yet

C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/include\thrust/detail/config/cpp_dialect.h:98: warning: Thrust requires MSVC 2017. Please upgrade your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/include\thrust/detail/config/cpp_dialect.h:104: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(283): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(115): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(121): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(127): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(133): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(159): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(171): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(184): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(190): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(199): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function
          detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, const c10::TensorOptions &)]"
(54): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(54): error: expression must have a constant value
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(54): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, const c10::TensorOptions &)]"
(46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function
          detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, c10::TensorOptions)]"
(55): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(55): error: expression must have a constant value
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(55): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, c10::TensorOptions)]"
(46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function
          detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, std::string)]"
(56): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(56): error: expression must have a constant value
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(56): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, std::string)]"
(46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(const c10::optional<T> &) [with T=c10::ScalarType]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(699): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::ScalarType &" to initializer of type "const c10::ScalarType"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=c10::ScalarType]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/ScalarType.h(197): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "caffe2::TypeMeta &" to initializer of type "const caffe2::TypeMeta"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=caffe2::TypeMeta]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/ScalarType.h(207): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Layout &" to initializer of type "const c10::Layout"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=c10::Layout]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(32): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands
            operand types are: const c10::Device = c10::Device
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=c10::Device]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorImpl.h(1228): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Device &" to initializer of type "const c10::Device"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=c10::Device]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(36): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::Device &" to initializer of type "const c10::Device"
          detected during instantiation of "T &c10::optional<T>::value() & [with T=c10::Device]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/DeprecatedTypeProperties.h(106): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(const c10::optional<T> &) [with T=__nv_bool]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(693): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "__nv_bool &" to initializer of type "const __nv_bool"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=__nv_bool]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(40): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(496): error: qualifiers dropped in binding reference of type "__nv_bool &&" to initializer of type "const __nv_bool"
          detected during instantiation of "T &&c10::optional<T>::value() && [with T=__nv_bool]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(19): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::MemoryFormat &" to initializer of type "const c10::MemoryFormat"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=c10::MemoryFormat]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(476): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "c10::MemoryFormat &&" to initializer of type "const c10::MemoryFormat"
          detected during instantiation of "T &&c10::optional<T>::operator*() && [with T=c10::MemoryFormat]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/Functions.h(1521): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const c10::Device = c10::Device
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=c10::Device, U=c10::Device]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorImpl.h(1247): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "int64_t &" to initializer of type "const int64_t"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=int64_t]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(474): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "int64_t &" to initializer of type "const int64_t"
          detected during instantiation of "T &c10::optional<T>::value() & [with T=int64_t]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/TensorIndexing.h(31): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::string &" to initializer of type "const std::string"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=std::string]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(121): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "size_t &" to initializer of type "const size_t"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=size_t]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(459): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const c10::Stride = c10::Stride
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=c10::Stride, U=c10::Stride]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(382): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> = const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(const c10::optional<T> &) [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> &" to initializer of type "const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>]"
(400): here
            instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> = std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> = std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>, U=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> &]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(463): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>> = const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(const c10::optional<T> &) [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>> &" to initializer of type "const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
(400): here
            instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>> = std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>> = std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>
          detected during:
            instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>, U=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(539): here
            instantiation of "c10::VaryingShape<T>::VaryingShape(c10::optional<size_t>) [with T=c10::Stride]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(709): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "std::vector<int64_t, std::allocator<int64_t>> &&" to initializer of type "const std::vector<int64_t, std::allocator<int64_t>>"
          detected during instantiation of "T &&c10::optional<T>::operator*() && [with T=std::vector<int64_t, std::allocator<int64_t>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(745): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: expression must be a modifiable lvalue
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=__nv_bool, U=__nv_bool]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(787): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::QualifiedName &" to initializer of type "const c10::QualifiedName"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=c10::QualifiedName]"
(327): here
            instantiation of "c10::optional<T>::optional(c10::optional<T> &&) [with T=c10::QualifiedName]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(1058): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::DeviceIndex &" to initializer of type "const c10::DeviceIndex"
          detected during:
            instantiation of "T &c10::optional<T>::value() & [with T=c10::DeviceIndex]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/impl/InlineDeviceGuard.h(220): here
            instantiation of "c10::impl::InlineOptionalDeviceGuard<T>::InlineOptionalDeviceGuard(c10::optional<c10::DeviceIndex>) [with T=c10::cuda::impl::CUDAGuardImpl, U=c10::cuda::impl::CUDAGuardImpl, <unnamed>=void]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(74): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Stream &" to initializer of type "const c10::Stream"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=c10::Stream]"
(327): here
            instantiation of "c10::optional<T>::optional(c10::optional<T> &&) [with T=c10::Stream]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/impl/InlineStreamGuard.h(168): here
            instantiation of "c10::optional<c10::Stream> c10::impl::InlineOptionalStreamGuard<T>::original_stream() const [with T=c10::cuda::impl::CUDAGuardImpl]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(208): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::Stream &" to initializer of type "const c10::Stream"
          detected during instantiation of "T &c10::optional<T>::value() & [with T=c10::Stream]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(210): here

51 errors detected in the compilation of "C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/box_iou_rotated/box_iou_rotated_cuda.cu".
nvcc warning : nvcc support for Microsoft Visual Studio 2015 and earlier has been deprecated and is no longer being maintained
box_iou_rotated_cuda.cu
[12/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cuda.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -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=0 -gencode=arch=compute_86,code=sm_86
FAILED: C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/build/temp.win-amd64-3.8/Release/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cuda.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -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=0 -gencode=arch=compute_86,code=sm_86
support for this version of Microsoft Visual Studio has been deprecated! Only the versions between 2017 and 2019 (inclusive) are supported!
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(60): error: statement may not appear in a constexpr constructor

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(59): error: statement may not appear in a constexpr constructor

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(191): error: expression must have a constant value
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(191): note: this call cannot be evaluated because the target function function "c10::DispatchKeySet::DispatchKeySet(std::initializer_list<c10::DispatchKey>)"
(57): here is not constexpr or not completely defined yet

C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/include\thrust/detail/config/cpp_dialect.h:98: warning: Thrust requires MSVC 2017. Please upgrade your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/include\thrust/detail/config/cpp_dialect.h:104: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(283): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(115): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(121): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(127): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(133): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(159): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(171): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(184): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(190): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(199): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function
          detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, const c10::TensorOptions &)]"
(54): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(54): error: expression must have a constant value
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(54): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, const c10::TensorOptions &)]"
(46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function
          detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, c10::TensorOptions)]"
(55): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(55): error: expression must have a constant value
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(55): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, c10::TensorOptions)]"
(46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function
          detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, std::string)]"
(56): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(56): error: expression must have a constant value
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(56): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, std::string)]"
(46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(const c10::optional<T> &) [with T=c10::ScalarType]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(699): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::ScalarType &" to initializer of type "const c10::ScalarType"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=c10::ScalarType]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/ScalarType.h(197): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "caffe2::TypeMeta &" to initializer of type "const caffe2::TypeMeta"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=caffe2::TypeMeta]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/ScalarType.h(207): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Layout &" to initializer of type "const c10::Layout"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=c10::Layout]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(32): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands
            operand types are: const c10::Device = c10::Device
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=c10::Device]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorImpl.h(1228): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Device &" to initializer of type "const c10::Device"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=c10::Device]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(36): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::Device &" to initializer of type "const c10::Device"
          detected during instantiation of "T &c10::optional<T>::value() & [with T=c10::Device]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/DeprecatedTypeProperties.h(106): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(const c10::optional<T> &) [with T=__nv_bool]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(693): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "__nv_bool &" to initializer of type "const __nv_bool"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=__nv_bool]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(40): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(496): error: qualifiers dropped in binding reference of type "__nv_bool &&" to initializer of type "const __nv_bool"
          detected during instantiation of "T &&c10::optional<T>::value() && [with T=__nv_bool]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(19): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::MemoryFormat &" to initializer of type "const c10::MemoryFormat"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=c10::MemoryFormat]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(476): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "c10::MemoryFormat &&" to initializer of type "const c10::MemoryFormat"
          detected during instantiation of "T &&c10::optional<T>::operator*() && [with T=c10::MemoryFormat]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/Functions.h(1521): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const c10::Device = c10::Device
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=c10::Device, U=c10::Device]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorImpl.h(1247): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "int64_t &" to initializer of type "const int64_t"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=int64_t]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(474): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "int64_t &" to initializer of type "const int64_t"
          detected during instantiation of "T &c10::optional<T>::value() & [with T=int64_t]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/TensorIndexing.h(31): here
mobassir94 commented 3 years ago

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::string &" to initializer of type "const std::string" detected during instantiation of "T &c10::optional::operator*() & [with T=std::string]" C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(121): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "size_t &" to initializer of type "const size_t"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=size_t]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(459): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const c10::Stride = c10::Stride
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=c10::Stride, U=c10::Stride]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(382): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> = const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(const c10::optional<T> &) [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> &" to initializer of type "const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>]"
(400): here
            instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> = std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> = std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>, U=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> &]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(463): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>> = const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(const c10::optional<T> &) [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>> &" to initializer of type "const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
(400): here
            instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>> = std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>> = std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>
          detected during:
            instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>, U=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(539): here
            instantiation of "c10::VaryingShape<T>::VaryingShape(c10::optional<size_t>) [with T=c10::Stride]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(709): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "std::vector<int64_t, std::allocator<int64_t>> &&" to initializer of type "const std::vector<int64_t, std::allocator<int64_t>>"
          detected during instantiation of "T &&c10::optional<T>::operator*() && [with T=std::vector<int64_t, std::allocator<int64_t>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(745): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: expression must be a modifiable lvalue
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=__nv_bool, U=__nv_bool]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(787): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::QualifiedName &" to initializer of type "const c10::QualifiedName"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=c10::QualifiedName]"
(327): here
            instantiation of "c10::optional<T>::optional(c10::optional<T> &&) [with T=c10::QualifiedName]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(1058): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::DeviceIndex &" to initializer of type "const c10::DeviceIndex"
          detected during:
            instantiation of "T &c10::optional<T>::value() & [with T=c10::DeviceIndex]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/impl/InlineDeviceGuard.h(220): here
            instantiation of "c10::impl::InlineOptionalDeviceGuard<T>::InlineOptionalDeviceGuard(c10::optional<c10::DeviceIndex>) [with T=c10::cuda::impl::CUDAGuardImpl, U=c10::cuda::impl::CUDAGuardImpl, <unnamed>=void]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(74): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Stream &" to initializer of type "const c10::Stream"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=c10::Stream]"
(327): here
            instantiation of "c10::optional<T>::optional(c10::optional<T> &&) [with T=c10::Stream]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/impl/InlineStreamGuard.h(168): here
            instantiation of "c10::optional<c10::Stream> c10::impl::InlineOptionalStreamGuard<T>::original_stream() const [with T=c10::cuda::impl::CUDAGuardImpl]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(208): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::Stream &" to initializer of type "const c10::Stream"
          detected during instantiation of "T &c10::optional<T>::value() & [with T=c10::Stream]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/cuda/CUDAGuard.h(210): here

51 errors detected in the compilation of "C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu".
nvcc warning : nvcc support for Microsoft Visual Studio 2015 and earlier has been deprecated and is no longer being maintained
ROIAlignRotated_cuda.cu
[13/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\deformable\deform_conv_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\deformable\deform_conv_cuda.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -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=0 -gencode=arch=compute_86,code=sm_86
FAILED: C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/build/temp.win-amd64-3.8/Release/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/deformable/deform_conv_cuda.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\deformable\deform_conv_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\detectron2\layers\csrc\deformable\deform_conv_cuda.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -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=0 -gencode=arch=compute_86,code=sm_86
support for this version of Microsoft Visual Studio has been deprecated! Only the versions between 2017 and 2019 (inclusive) are supported!
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(60): error: statement may not appear in a constexpr constructor

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(59): error: statement may not appear in a constexpr constructor

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(191): error: expression must have a constant value
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/DispatchKeySet.h(191): note: this call cannot be evaluated because the target function function "c10::DispatchKeySet::DispatchKeySet(std::initializer_list<c10::DispatchKey>)"
(57): here is not constexpr or not completely defined yet

C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/include\thrust/detail/config/cpp_dialect.h:98: warning: Thrust requires MSVC 2017. Please upgrade your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/include\thrust/detail/config/cpp_dialect.h:104: warning: Thrust requires C++14. Please pass -std=c++14 to your compiler. Define THRUST_IGNORE_DEPRECATED_CPP_DIALECT to suppress this message.
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(283): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(115): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(121): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(127): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(133): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(159): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(171): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(184): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(190): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Array.h(199): error: cannot overload functions distinguished by return type alone

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function
          detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, const c10::TensorOptions &)]"
(54): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(54): error: expression must have a constant value
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(54): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, const c10::TensorOptions &)]"
(46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function
          detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, c10::TensorOptions)]"
(55): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(55): error: expression must have a constant value
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(55): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, c10::TensorOptions)]"
(46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(48): error: statement may not appear in a constexpr function
          detected during instantiation of "__nv_bool c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, std::string)]"
(56): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(56): error: expression must have a constant value
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(56): note: this call cannot be evaluated because the target function function "c10::impl::detail::has_tensoroptions_arg<FuncType>() [with FuncType=int (int64_t, std::string)]"
(46): here is not constexpr or not completely defined yet

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/operator_name.h(58): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/operator_name.h(62): error: a constexpr function must contain exactly one return statement

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/operator_name.h(59): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/boxing/impl/boxing.h(100): warning: integer conversion resulted in a change of sign

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Bitset.h(46): error: expression must be a modifiable lvalue

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Bitset.h(46): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Bitset.h(50): error: expression must be a modifiable lvalue

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Bitset.h(50): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(39): warning: integer conversion resulted in a change of sign

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(39): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(41): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(43): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(46): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(49): error: a constexpr function must contain exactly one return statement

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(48): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(51): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(42): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(40): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(54): error: a constexpr function must contain exactly one return statement

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(60): error: statement may not appear in a constexpr function

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(const c10::optional<T> &) [with T=c10::ScalarType]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(699): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::ScalarType &" to initializer of type "const c10::ScalarType"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=c10::ScalarType]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/ScalarType.h(197): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "caffe2::TypeMeta &" to initializer of type "const caffe2::TypeMeta"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=caffe2::TypeMeta]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/ScalarType.h(207): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Layout &" to initializer of type "const c10::Layout"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=c10::Layout]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(32): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands
            operand types are: const c10::Device = c10::Device
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=c10::Device]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorImpl.h(1228): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::Device &" to initializer of type "const c10::Device"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=c10::Device]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(36): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "c10::Device &" to initializer of type "const c10::Device"
          detected during instantiation of "T &c10::optional<T>::value() & [with T=c10::Device]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/DeprecatedTypeProperties.h(106): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(const c10::optional<T> &) [with T=__nv_bool]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(693): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "__nv_bool &" to initializer of type "const __nv_bool"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=__nv_bool]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(40): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(496): error: qualifiers dropped in binding reference of type "__nv_bool &&" to initializer of type "const __nv_bool"
          detected during instantiation of "T &&c10::optional<T>::value() && [with T=__nv_bool]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/hacky_wrapper_for_legacy_signatures.h(19): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::MemoryFormat &" to initializer of type "const c10::MemoryFormat"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=c10::MemoryFormat]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorOptions.h(476): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "c10::MemoryFormat &&" to initializer of type "const c10::MemoryFormat"
          detected during instantiation of "T &&c10::optional<T>::operator*() && [with T=c10::MemoryFormat]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/Functions.h(1521): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const c10::Device = c10::Device
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=c10::Device, U=c10::Device]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/core/TensorImpl.h(1247): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "int64_t &" to initializer of type "const int64_t"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=int64_t]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(474): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(488): error: qualifiers dropped in binding reference of type "int64_t &" to initializer of type "const int64_t"
          detected during instantiation of "T &c10::optional<T>::value() & [with T=int64_t]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/TensorIndexing.h(31): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::string &" to initializer of type "const std::string"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=std::string]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(121): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "size_t &" to initializer of type "const size_t"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=size_t]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(459): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const c10::Stride = c10::Stride
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=c10::Stride, U=c10::Stride]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(382): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> = const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(const c10::optional<T> &) [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> &" to initializer of type "const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>]"
(400): here
            instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> = std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(525): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> = std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>>, U=std::vector<c10::ShapeSymbol, std::allocator<c10::ShapeSymbol>> &]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(463): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>> = const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(const c10::optional<T> &) [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>> &" to initializer of type "const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
(400): here
            instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>> = std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(599): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>> = std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>
          detected during:
            instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>, U=std::vector<c10::optional<c10::Stride>, std::allocator<c10::optional<c10::Stride>>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(539): here
            instantiation of "c10::VaryingShape<T>::VaryingShape(c10::optional<size_t>) [with T=c10::Stride]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(709): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "std::vector<int64_t, std::allocator<int64_t>> &&" to initializer of type "const std::vector<int64_t, std::allocator<int64_t>>"
          detected during instantiation of "T &&c10::optional<T>::operator*() && [with T=std::vector<int64_t, std::allocator<int64_t>>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(745): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: expression must be a modifiable lvalue
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=__nv_bool, U=__nv_bool]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(787): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::QualifiedName &" to initializer of type "const c10::QualifiedName"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=c10::QualifiedName]"
(327): here
            instantiation of "c10::optional<T>::optional(c10::optional<T> &&) [with T=c10::QualifiedName]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/jit_type.h(1058): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::function<at::Tensor (const at::Tensor &)> &" to initializer of type "const std::function<at::Tensor (const at::Tensor &)>"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=std::function<at::Tensor (const at::Tensor &)>]"
(327): here
            instantiation of "c10::optional<T>::optional(c10::optional<T> &&) [with T=std::function<at::Tensor (const at::Tensor &)>]"
C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\memory(1630): here
            instantiation of "std::enable_if<<expression>, std::unique_ptr<_Ty, std::default_delete<_Ty>>>::type std::make_unique<_Ty,_Types...>(_Types &&...) [with _Ty=torch::autograd::DifferentiableViewMeta, _Types=<c10::TensorImpl *, at::Tensor, c10::optional<std::function<at::Tensor (const at::Tensor &)>>, torch::autograd::CreationMeta &>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\torch/csrc/autograd/variable.h(459): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "int32_t &" to initializer of type "const int32_t"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=int32_t]"
(327): here
            instantiation of "c10::optional<T>::optional(c10::optional<T> &&) [with T=int32_t]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/function_schema.h(33): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(478): error: qualifiers dropped in binding reference of type "int32_t &&" to initializer of type "const int"
          detected during instantiation of "T &&c10::optional<T>::operator*() && [with T=int32_t]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/function_schema.h(372): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::IValue &" to initializer of type "const c10::IValue"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=c10::IValue]"
(327): here
            instantiation of "c10::optional<T>::optional(c10::optional<T> &&) [with T=c10::IValue]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/function_schema.h(34): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::AliasInfo &" to initializer of type "const c10::AliasInfo"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=c10::AliasInfo]"
(327): here
            instantiation of "c10::optional<T>::optional(c10::optional<T> &&) [with T=c10::AliasInfo]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/function_schema.h(36): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: expression must be a modifiable lvalue
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=c10::AliasAnalysisKind]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/function_schema.h(190): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::AliasAnalysisKind &" to initializer of type "const c10::AliasAnalysisKind"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=c10::AliasAnalysisKind]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\torch/csrc/jit/runtime/operator.h(148): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: expression must be a modifiable lvalue
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=c10::AliasAnalysisKind, U=c10::AliasAnalysisKind &]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/function_schema.h(324): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "torch::jit::InlinedCallStackPtr &" to initializer of type "const torch::jit::InlinedCallStackPtr"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=torch::jit::InlinedCallStackPtr]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\torch/csrc/jit/ir/ir.h(340): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::impl::CppSignature &" to initializer of type "const c10::impl::CppSignature"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=c10::impl::CppSignature]"
(400): here
            instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=c10::impl::CppSignature]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_registration.h(399): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(402): error: no operator "=" matches these operands
            operand types are: const c10::impl::CppSignature = c10::impl::CppSignature
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(c10::optional<T> &&) [with T=c10::impl::CppSignature]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_registration.h(399): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(390): error: expression must be a modifiable lvalue
          detected during instantiation of "c10::optional<T> &c10::optional<T>::operator=(const c10::optional<T> &) [with T=c10::DispatchKey]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_registration.h(397): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "c10::DispatchKey &" to initializer of type "const c10::DispatchKey"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=c10::DispatchKey]"
(327): here
            instantiation of "c10::optional<T>::optional(c10::optional<T> &&) [with T=c10::DispatchKey]"
C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xmemory0(737): here
            implicit generation of "c10::RegisterOperators::Options::KernelRegistrationConfig::KernelRegistrationConfig(c10::RegisterOperators::Options::KernelRegistrationConfig &&)"
C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xmemory0(737): here
            instantiation of "void std::allocator<_Ty>::construct(_Objty *, _Types &&...) [with _Ty=c10::RegisterOperators::Options::KernelRegistrationConfig, _Objty=c10::RegisterOperators::Options::KernelRegistrationConfig, _Types=<c10::RegisterOperators::Options::KernelRegistrationConfig>]"
C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xmemory0(857): here
            instantiation of "void std::allocator_traits<std::allocator<_Ty>>::construct(std::allocator_traits<std::allocator<_Ty>>::_Alloc &, _Objty *, _Types &&...) [with _Ty=c10::RegisterOperators::Options::KernelRegistrationConfig, _Objty=c10::RegisterOperators::Options::KernelRegistrationConfig, _Types=<c10::RegisterOperators::Options::KernelRegistrationConfig>]"
C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xmemory0(996): here
            [ 3 instantiation contexts not shown ]
            instantiation of "_FwdIt std::_Uninitialized_move(_InIt, _InIt, _FwdIt, std::_Wrap_alloc<_Alloc> &) [with _InIt=c10::RegisterOperators::Options::KernelRegistrationConfig *, _FwdIt=c10::RegisterOperators::Options::KernelRegistrationConfig *, _Alloc=std::allocator<c10::RegisterOperators::Options::KernelRegistrationConfig>]"
C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\vector(1660): here
            instantiation of "std::vector<_Ty, _Alloc>::pointer std::vector<_Ty, _Alloc>::_Umove(_Iter, _Iter, std::vector<_Ty, _Alloc>::pointer) [with _Ty=c10::RegisterOperators::Options::KernelRegistrationConfig, _Alloc=std::allocator<c10::RegisterOperators::Options::KernelRegistrationConfig>, _Iter=c10::RegisterOperators::Options::KernelRegistrationConfig *]"
C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\vector(1605): here
            instantiation of "void std::vector<_Ty, _Alloc>::_Reallocate(std::vector<_Ty, _Alloc>::size_type) [with _Ty=c10::RegisterOperators::Options::KernelRegistrationConfig, _Alloc=std::allocator<c10::RegisterOperators::Options::KernelRegistrationConfig>]"
C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\vector(1631): here
            instantiation of "void std::vector<_Ty, _Alloc>::_Reserve(std::vector<_Ty, _Alloc>::size_type) [with _Ty=c10::RegisterOperators::Options::KernelRegistrationConfig, _Alloc=std::allocator<c10::RegisterOperators::Options::KernelRegistrationConfig>]"
C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\vector(901): here
            instantiation of "void std::vector<_Ty, _Alloc>::push_back(std::vector<_Ty, _Alloc>::value_type &&) [with _Ty=c10::RegisterOperators::Options::KernelRegistrationConfig, _Alloc=std::allocator<c10::RegisterOperators::Options::KernelRegistrationConfig>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_registration.h(401): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const c10::either<c10::OperatorName, c10::FunctionSchema> = c10::either<c10::OperatorName, c10::FunctionSchema>
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=c10::either<c10::OperatorName, c10::FunctionSchema>, U=c10::either<c10::OperatorName, c10::FunctionSchema>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_registration.h(78): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const torch::jit::SourceRange = torch::jit::SourceRange
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=torch::jit::SourceRange, U=torch::jit::SourceRange]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\torch/csrc/jit/ir/ir.h(306): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const torch::jit::InlinedCallStackPtr = torch::jit::InlinedCallStackPtr
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=torch::jit::InlinedCallStackPtr, U=torch::jit::InlinedCallStackPtr &]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\torch/csrc/jit/ir/ir.h(349): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "int8_t &" to initializer of type "const int8_t"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=int8_t]"
(327): here
            instantiation of "c10::optional<T>::optional(c10::optional<T> &&) [with T=int8_t]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\torch/csrc/jit/runtime/argument_spec.h(437): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "at::ThreadLocalState &" to initializer of type "const at::ThreadLocalState"
          detected during:
            instantiation of "T &c10::optional<T>::operator*() & [with T=at::ThreadLocalState]"
(327): here
            instantiation of "c10::optional<T>::optional(c10::optional<T> &&) [with T=at::ThreadLocalState]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\torch/csrc/jit/runtime/interpreter.h(107): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "std::shared_ptr<torch::jit::Graph> &" to initializer of type "const std::shared_ptr<torch::jit::Graph>"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=std::shared_ptr<torch::jit::Graph>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\torch/csrc/jit/api/function_impl.h(40): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(414): error: no operator "=" matches these operands
            operand types are: const std::shared_ptr<torch::jit::Graph> = torch::jit::GraphAttr::ConstructorType
          detected during instantiation of "auto c10::optional<T>::operator=(U &&)->std::enable_if<<expression>, c10::optional<T> &>::type [with T=std::shared_ptr<torch::jit::Graph>, U=std::shared_ptr<torch::jit::Graph>]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\torch/csrc/jit/api/function_impl.h(42): here

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Optional.h(473): error: qualifiers dropped in binding reference of type "torch::jit::Method &" to initializer of type "const torch::jit::Method"
          detected during instantiation of "T &c10::optional<T>::operator*() & [with T=torch::jit::Method]"
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\torch/csrc/jit/api/object.h(89): here

87 errors detected in the compilation of "C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-op3754gu/detectron2/layers/csrc/deformable/deform_conv_cuda.cu".
nvcc warning : nvcc support for Microsoft Visual Studio 2015 and earlier has been deprecated and is no longer being maintained
deform_conv_cuda.cu
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\utils\cpp_extension.py", line 1533, in _run_ninja_build
    subprocess.run(
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

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

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\setup.py", line 178, in <module>
    setup(
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\setuptools\__init__.py", line 163, in setup
    return distutils.core.setup(**attrs)
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\core.py", line 148, in setup
    dist.run_commands()
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\setuptools\command\install.py", line 61, in run
    return orig.install.run(self)
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\command\install.py", line 545, in run
    self.run_command('build')
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\command\build.py", line 135, in run
    self.run_command(cmd_name)
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\setuptools\command\build_ext.py", line 87, in run
    _build_ext.run(self)
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\Cython\Distutils\old_build_ext.py", line 186, in run
    _build_ext.build_ext.run(self)
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\command\build_ext.py", line 340, in run
    self.build_extensions()
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\utils\cpp_extension.py", line 670, in build_extensions
    build_ext.build_extensions(self)
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\Cython\Distutils\old_build_ext.py", line 195, in build_extensions
    _build_ext.build_ext.build_extensions(self)
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\command\build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\setuptools\command\build_ext.py", line 208, in build_extension
    _build_ext.build_extension(self, ext)
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\command\build_ext.py", line 528, in build_extension
    objects = self.compiler.compile(sources,
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\utils\cpp_extension.py", line 643, in win_wrap_ninja_compile
    _write_ninja_file_and_compile_objects(
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\utils\cpp_extension.py", line 1250, in _write_ninja_file_and_compile_objects
    _run_ninja_build(
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\utils\cpp_extension.py", line 1555, in _run_ninja_build
    raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
----------------------------------------

ERROR: Command errored out with exit status 1: 'C:\Users\Mobassir\anaconda3\envs\detectron2\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\setup.py'"'"'; file='"'"'C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-op3754gu\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Mobassir\AppData\Local\Temp\pip-record-uz3ou_v0\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Mobassir\anaconda3\envs\detectron2\Include\detectron2' Check the logs for full command output.

failed

CondaEnvException: Pip failed

(base) C:\Users\Mobassir>

markstrefford commented 3 years ago

Wow that is a long error message!

The main thing that jumps out to me is this, it's repeated multiple times:

support for this version of Microsoft Visual Studio has been deprecated! Only the versions between 2017 and 2019 (inclusive) are supported!
nvcc warning : nvcc support for Microsoft Visual Studio 2015 and earlier has been deprecated and is no longer being maintained
cuda_version.cu
support for this version of Microsoft Visual Studio has been deprecated! Only the versions between 2017 and 2019 (inclusive) are supported!

Before trying again, I'd suggest upgrading VS and Cuda.

mobassir94 commented 3 years ago

i am downloading cuda 11.2.2 and corresponding cudnn now,,can you please give me link of VS that you want me to install now? thank you @markstrefford

mobassir94 commented 3 years ago

the official page says "Download cuDNN v8.1.0 (January 26th, 2021), for CUDA 11.0,11.1 and 11.2"

i already have cudnn for 11.1 so is it same for 11.2?

markstrefford commented 3 years ago

I tried cuda 11.1 and it didn't work. I'm on cuda 11.3 and that does work. The official docs stating 11.1 are for Linux:

https://github.com/facebookresearch/detectron2/blob/master/INSTALL.md#install-pre-built-detectron2-linux-only

You can download Visual Studio 2019 from the Microsoft site.

mobassir94 commented 3 years ago

i can't find 11.3...i found 11.2.152 is it okay if i download this? i am downloading this : https://developer.nvidia.com/cuda-downloads

if you are using another one,please give me the link of that,i will download

markstrefford commented 3 years ago

i can't find 11.3...i found 11.2.152 is it okay if i download this? i am downloading this : https://developer.nvidia.com/cuda-downloads

if you are using another one,please give me the link of that,i will download

I have 11.3, I've checked the conda install package and that's 11.0. Cuda11.2 should be fine though.

mobassir94 commented 3 years ago

another weird thing i realized is when i used this command for first time :

conda env create -f detectron2-windows-conda.yml

it took almost around 30 minutes for downloading and installing some packages and then that large error log came

next time i removed that conda virtual environment that was created using that yml file

i use this command for removing : conda env remove --name detectron2

and then i go inside anaconda3/envs folder and remove detectron2 folder manually

then,

if i start again with this command conda env create -f detectron2-windows-conda.yml

the error message comes within 10-20 seconds this time even though i removed full virtualenv that was created first time before getting large error log.

any idea why is this happenning?

mobassir94 commented 3 years ago

@markstrefford i installed Visual Studio 2019 from the Microsoft site.,installed cuda 11.2 and now i get this error when i do conda env create -f C:\Users\Mobassir\Downloads\data\running-detectron2-on-windows-wsl2-rtx30xx-main\detectron2-windows-conda.yml

(base) C:\Users\Mobassir>conda env create -f C:\Users\Mobassir\Downloads\data\running-detectron2-on-windows-wsl2-rtx30xx-main\detectron2-windows-conda.yml Collecting package metadata (repodata.json): done Solving environment: done Preparing transaction: done Verifying transaction: done Executing transaction: / "By downloading and using the CUDA Toolkit conda packages, you accept the terms and conditions of the CUDA End User License Agreement (EULA): https://docs.nvidia.com/cuda/eula/index.html"

| DEBUG menuinst_win32:init(198): Menu: name: 'Anaconda${PY_VER} ${PLATFORM}', prefix: 'C:\Users\Mobassir\anaconda3\envs\detectron2', env_name: 'detectron2', mode: 'user', used_mode: 'user' DEBUG menuinst_win32:create(323): Shortcut cmd is C:\Users\Mobassir\anaconda3\python.exe, args are ['C:\Users\Mobassir\anaconda3\cwp.py', 'C:\Users\Mobassir\anaconda3\envs\detectron2', 'C:\Users\Mobassir\anaconda3\envs\detectron2\Library\bin\bash.exe', '--login', '-i', '--'] done Installing pip dependencies: - Ran pip subprocess with arguments: ['C:\Users\Mobassir\anaconda3\envs\detectron2\python.exe', '-m', 'pip', 'install', '-U', '-r', 'C:\Users\Mobassir\Downloads\data\running-detectron2-on-windows-wsl2-rtx30xx-main\condaenv.22w0zqqr.requirements.txt'] Pip subprocess output: Collecting git+https://github.com/facebookresearch/detectron2.git@v0.3 (from -r C:\Users\Mobassir\Downloads\data\running-detectron2-on-windows-wsl2-rtx30xx-main\condaenv.22w0zqqr.requirements.txt (line 1)) Cloning https://github.com/facebookresearch/detectron2.git (to revision v0.3) to c:\users\mobassir\appdata\local\temp\pip-req-build-tllkx0_y Collecting termcolor>=1.1 Using cached termcolor-1.1.0-py3-none-any.whl Requirement already satisfied: Pillow>=7.1 in c:\users\mobassir\anaconda3\envs\detectron2\lib\site-packages (from detectron2==0.3->-r C:\Users\Mobassir\Downloads\data\running-detectron2-on-windows-wsl2-rtx30xx-main\condaenv.22w0zqqr.requirements.txt (line 1)) (8.0.0) Requirement already satisfied: yacs>=0.1.6 in c:\users\mobassir\appdata\roaming\python\python38\site-packages (from detectron2==0.3->-r C:\Users\Mobassir\Downloads\data\running-detectron2-on-windows-wsl2-rtx30xx-main\condaenv.22w0zqqr.requirements.txt (line 1)) (0.1.8) Requirement already satisfied: tabulate in c:\users\mobassir\appdata\roaming\python\python38\site-packages (from detectron2==0.3->-r C:\Users\Mobassir\Downloads\data\running-detectron2-on-windows-wsl2-rtx30xx-main\condaenv.22w0zqqr.requirements.txt (line 1)) (0.8.9) Collecting cloudpickle Using cached cloudpickle-1.6.0-py3-none-any.whl (23 kB) Collecting matplotlib Using cached matplotlib-3.3.4-cp38-cp38-win_amd64.whl (8.5 MB) Collecting tqdm>4.29.0 Using cached tqdm-4.59.0-py2.py3-none-any.whl (74 kB) Collecting tensorboard Using cached tensorboard-2.4.1-py3-none-any.whl (10.6 MB) Collecting fvcore>=0.1.2 Downloading fvcore-0.1.3.post20210317.tar.gz (47 kB) Collecting pycocotools>=2.0.2 Using cached pycocotools-2.0.2-cp38-cp38-win_amd64.whl Collecting future Using cached future-0.18.2-py3-none-any.whl Requirement already satisfied: pydot in c:\users\mobassir\appdata\roaming\python\python38\site-packages (from detectron2==0.3->-r C:\Users\Mobassir\Downloads\data\running-detectron2-on-windows-wsl2-rtx30xx-main\condaenv.22w0zqqr.requirements.txt (line 1)) (1.4.2) Requirement already satisfied: numpy in c:\users\mobassir\anaconda3\envs\detectron2\lib\site-packages (from fvcore>=0.1.2->detectron2==0.3->-r C:\Users\Mobassir\Downloads\data\running-detectron2-on-windows-wsl2-rtx30xx-main\condaenv.22w0zqqr.requirements.txt (line 1)) (1.20.1) Collecting pyyaml>=5.1 Using cached PyYAML-5.4.1-cp38-cp38-win_amd64.whl (213 kB) Requirement already satisfied: iopath>=0.1.2 in c:\users\mobassir\appdata\roaming\python\python38\site-packages (from fvcore>=0.1.2->detectron2==0.3->-r C:\Users\Mobassir\Downloads\data\running-detectron2-on-windows-wsl2-rtx30xx-main\condaenv.22w0zqqr.requirements.txt (line 1)) (0.1.6) Requirement already satisfied: portalocker in c:\users\mobassir\appdata\roaming\python\python38\site-packages (from iopath>=0.1.2->fvcore>=0.1.2->detectron2==0.3->-r C:\Users\Mobassir\Downloads\data\running-detectron2-on-windows-wsl2-rtx30xx-main\condaenv.22w0zqqr.requirements.txt (line 1)) (2.2.1) Collecting cython>=0.27.3 Using cached Cython-0.29.22-cp38-cp38-win_amd64.whl (1.7 MB) Requirement already satisfied: setuptools>=18.0 in c:\users\mobassir\anaconda3\envs\detectron2\lib\site-packages (from pycocotools>=2.0.2->detectron2==0.3->-r C:\Users\Mobassir\Downloads\data\running-detectron2-on-windows-wsl2-rtx30xx-main\condaenv.22w0zqqr.requirements.txt (line 1)) (49.6.0.post20210108) Collecting cycler>=0.10 Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB) Collecting kiwisolver>=1.0.1 Using cached kiwisolver-1.3.1-cp38-cp38-win_amd64.whl (51 kB) Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) Collecting python-dateutil>=2.1 Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB) Collecting six Using cached six-1.15.0-py2.py3-none-any.whl (10 kB) Requirement already satisfied: pywin32!=226 in c:\users\mobassir\anaconda3\envs\detectron2\lib\site-packages (from portalocker->iopath>=0.1.2->fvcore>=0.1.2->detectron2==0.3->-r C:\Users\Mobassir\Downloads\data\running-detectron2-on-windows-wsl2-rtx30xx-main\condaenv.22w0zqqr.requirements.txt (line 1)) (300) Collecting absl-py>=0.4 Using cached absl_py-0.12.0-py3-none-any.whl (129 kB) Collecting google-auth<2,>=1.6.3 Downloading google_auth-1.28.0-py2.py3-none-any.whl (136 kB) Collecting werkzeug>=0.11.15 Using cached Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB) Requirement already satisfied: wheel>=0.26 in c:\users\mobassir\anaconda3\envs\detectron2\lib\site-packages (from tensorboard->detectron2==0.3->-r C:\Users\Mobassir\Downloads\data\running-detectron2-on-windows-wsl2-rtx30xx-main\condaenv.22w0zqqr.requirements.txt (line 1)) (0.36.2) Collecting google-auth-oauthlib<0.5,>=0.4.1 Using cached google_auth_oauthlib-0.4.3-py2.py3-none-any.whl (18 kB) Collecting requests<3,>=2.21.0 Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB) Collecting markdown>=2.6.8 Using cached Markdown-3.3.4-py3-none-any.whl (97 kB) Collecting grpcio>=1.24.3 Using cached grpcio-1.36.1-cp38-cp38-win_amd64.whl (3.0 MB) Collecting tensorboard-plugin-wit>=1.6.0 Using cached tensorboard_plugin_wit-1.8.0-py3-none-any.whl (781 kB) Collecting protobuf>=3.6.0 Using cached protobuf-3.15.6-py2.py3-none-any.whl (173 kB) Collecting pyasn1-modules>=0.2.1 Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB) Collecting cachetools<5.0,>=2.0.0 Using cached cachetools-4.2.1-py3-none-any.whl (12 kB) Collecting rsa<5,>=3.1.4 Using cached rsa-4.7.2-py3-none-any.whl (34 kB) Collecting requests-oauthlib>=0.7.0 Using cached requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB) Collecting pyasn1<0.5.0,>=0.4.6 Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) Collecting idna<3,>=2.5 Using cached idna-2.10-py2.py3-none-any.whl (58 kB) Collecting chardet<5,>=3.0.2 Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB) Collecting urllib3<1.27,>=1.21.1 Using cached urllib3-1.26.4-py2.py3-none-any.whl (153 kB) Requirement already satisfied: certifi>=2017.4.17 in c:\users\mobassir\anaconda3\envs\detectron2\lib\site-packages (from requests<3,>=2.21.0->tensorboard->detectron2==0.3->-r C:\Users\Mobassir\Downloads\data\running-detectron2-on-windows-wsl2-rtx30xx-main\condaenv.22w0zqqr.requirements.txt (line 1)) (2020.12.5) Collecting oauthlib>=3.0.0 Using cached oauthlib-3.1.0-py2.py3-none-any.whl (147 kB) Building wheels for collected packages: detectron2, fvcore Building wheel for detectron2 (setup.py): started Building wheel for detectron2 (setup.py): finished with status 'error' Running setup.py clean for detectron2 Building wheel for fvcore (setup.py): started Building wheel for fvcore (setup.py): finished with status 'done' Created wheel for fvcore: filename=fvcore-0.1.3.post20210317-py3-none-any.whl size=58542 sha256=193b43a9a69d1a1c2c73b14228209a45b19b4d6538810f93d0b89ee11240a7bd Stored in directory: c:\users\mobassir\appdata\local\pip\cache\wheels\19\65\1b\67f264eee136ba1a866c47cc5af6934e423ee209b7c62c2352 Successfully built fvcore Failed to build detectron2 Installing collected packages: urllib3, pyasn1, idna, chardet, six, rsa, requests, pyasn1-modules, oauthlib, cachetools, tqdm, requests-oauthlib, pyyaml, python-dateutil, pyparsing, kiwisolver, google-auth, cycler, werkzeug, termcolor, tensorboard-plugin-wit, protobuf, matplotlib, markdown, grpcio, google-auth-oauthlib, cython, absl-py, tensorboard, pycocotools, fvcore, future, cloudpickle, detectron2 Running setup.py install for detectron2: started Running setup.py install for detectron2: finished with status 'error'

Pip subprocess error: Running command git clone -q https://github.com/facebookresearch/detectron2.git 'C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y' Running command git checkout -q 4841e70ee48da72c32304f9ebf98138c2a70048d ERROR: Command errored out with exit status 1: command: 'C:\Users\Mobassir\anaconda3\envs\detectron2\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\setup.py'"'"'; file='"'"'C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Mobassir\AppData\Local\Temp\pip-wheel-d4sa1m78' cwd: C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\ Complete output (536 lines): running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-3.8 creating build\lib.win-amd64-3.8\detectron2 copying detectron2__init__.py -> build\lib.win-amd64-3.8\detectron2 creating build\lib.win-amd64-3.8\detectron2\checkpoint copying detectron2\checkpoint\c2_model_loading.py -> build\lib.win-amd64-3.8\detectron2\checkpoint copying detectron2\checkpoint\catalog.py -> build\lib.win-amd64-3.8\detectron2\checkpoint copying detectron2\checkpoint\detection_checkpoint.py -> build\lib.win-amd64-3.8\detectron2\checkpoint copying detectron2\checkpoint__init__.py -> build\lib.win-amd64-3.8\detectron2\checkpoint creating build\lib.win-amd64-3.8\detectron2\config copying detectron2\config\compat.py -> build\lib.win-amd64-3.8\detectron2\config copying detectron2\config\config.py -> build\lib.win-amd64-3.8\detectron2\config copying detectron2\config\defaults.py -> build\lib.win-amd64-3.8\detectron2\config copying detectron2\config__init__.py -> build\lib.win-amd64-3.8\detectron2\config creating build\lib.win-amd64-3.8\detectron2\data copying detectron2\data\build.py -> build\lib.win-amd64-3.8\detectron2\data copying detectron2\data\catalog.py -> build\lib.win-amd64-3.8\detectron2\data copying detectron2\data\common.py -> build\lib.win-amd64-3.8\detectron2\data copying detectron2\data\dataset_mapper.py -> build\lib.win-amd64-3.8\detectron2\data copying detectron2\data\detection_utils.py -> build\lib.win-amd64-3.8\detectron2\data copying detectron2\data__init__.py -> build\lib.win-amd64-3.8\detectron2\data creating build\lib.win-amd64-3.8\detectron2\engine copying detectron2\engine\defaults.py -> build\lib.win-amd64-3.8\detectron2\engine copying detectron2\engine\hooks.py -> build\lib.win-amd64-3.8\detectron2\engine copying detectron2\engine\launch.py -> build\lib.win-amd64-3.8\detectron2\engine copying detectron2\engine\train_loop.py -> build\lib.win-amd64-3.8\detectron2\engine copying detectron2\engine__init__.py -> build\lib.win-amd64-3.8\detectron2\engine creating build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\cityscapes_evaluation.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\coco_evaluation.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\evaluator.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\fast_eval_api.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\lvis_evaluation.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\panoptic_evaluation.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\pascal_voc_evaluation.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\rotated_coco_evaluation.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\sem_seg_evaluation.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\testing.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation__init__.py -> build\lib.win-amd64-3.8\detectron2\evaluation creating build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\api.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\c10.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\caffe2_export.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\caffe2_inference.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\caffe2_modeling.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\caffe2_patch.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\shared.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\torchscript.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\torchscript_patch.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export__init__.py -> build\lib.win-amd64-3.8\detectron2\export creating build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\aspp.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\batch_norm.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\blocks.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\deform_conv.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\mask_ops.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\nms.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\roi_align.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\roi_align_rotated.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\rotated_boxes.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\shape_spec.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\wrappers.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers__init__.py -> build\lib.win-amd64-3.8\detectron2\layers creating build\lib.win-amd64-3.8\detectron2\modeling copying detectron2\modeling\anchor_generator.py -> build\lib.win-amd64-3.8\detectron2\modeling copying detectron2\modeling\box_regression.py -> build\lib.win-amd64-3.8\detectron2\modeling copying detectron2\modeling\matcher.py -> build\lib.win-amd64-3.8\detectron2\modeling copying detectron2\modeling\poolers.py -> build\lib.win-amd64-3.8\detectron2\modeling copying detectron2\modeling\postprocessing.py -> build\lib.win-amd64-3.8\detectron2\modeling copying detectron2\modeling\sampling.py -> build\lib.win-amd64-3.8\detectron2\modeling copying detectron2\modeling\test_time_augmentation.py -> build\lib.win-amd64-3.8\detectron2\modeling copying detectron2\modeling__init__.py -> build\lib.win-amd64-3.8\detectron2\modeling creating build\lib.win-amd64-3.8\detectron2\model_zoo copying detectron2\model_zoo\model_zoo.py -> build\lib.win-amd64-3.8\detectron2\model_zoo copying detectron2\model_zoo__init__.py -> build\lib.win-amd64-3.8\detectron2\model_zoo creating build\lib.win-amd64-3.8\detectron2\projects copying detectron2\projects__init__.py -> build\lib.win-amd64-3.8\detectron2\projects creating build\lib.win-amd64-3.8\detectron2\solver copying detectron2\solver\build.py -> build\lib.win-amd64-3.8\detectron2\solver copying detectron2\solver\lr_scheduler.py -> build\lib.win-amd64-3.8\detectron2\solver copying detectron2\solver__init__.py -> build\lib.win-amd64-3.8\detectron2\solver creating build\lib.win-amd64-3.8\detectron2\structures copying detectron2\structures\boxes.py -> build\lib.win-amd64-3.8\detectron2\structures copying detectron2\structures\image_list.py -> build\lib.win-amd64-3.8\detectron2\structures copying detectron2\structures\instances.py -> build\lib.win-amd64-3.8\detectron2\structures copying detectron2\structures\keypoints.py -> build\lib.win-amd64-3.8\detectron2\structures copying detectron2\structures\masks.py -> build\lib.win-amd64-3.8\detectron2\structures copying detectron2\structures\rotated_boxes.py -> build\lib.win-amd64-3.8\detectron2\structures copying detectron2\structures__init__.py -> build\lib.win-amd64-3.8\detectron2\structures creating build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\analysis.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\collect_env.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\colormap.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\comm.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\env.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\events.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\file_io.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\logger.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\memory.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\registry.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\serialize.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\video_visualizer.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\visualizer.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils__init__.py -> build\lib.win-amd64-3.8\detectron2\utils creating build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\builtin.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\builtin_meta.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\cityscapes.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\cityscapes_panoptic.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\coco.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\coco_panoptic.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\lvis.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\lvis_v0_5_categories.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\lvis_v1_categories.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\pascal_voc.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\register_coco.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets__init__.py -> build\lib.win-amd64-3.8\detectron2\data\datasets creating build\lib.win-amd64-3.8\detectron2\data\samplers copying detectron2\data\samplers\distributed_sampler.py -> build\lib.win-amd64-3.8\detectron2\data\samplers copying detectron2\data\samplers\grouped_batch_sampler.py -> build\lib.win-amd64-3.8\detectron2\data\samplers copying detectron2\data\samplers__init__.py -> build\lib.win-amd64-3.8\detectron2\data\samplers creating build\lib.win-amd64-3.8\detectron2\data\transforms copying detectron2\data\transforms\augmentation.py -> build\lib.win-amd64-3.8\detectron2\data\transforms copying detectron2\data\transforms\augmentation_impl.py -> build\lib.win-amd64-3.8\detectron2\data\transforms copying detectron2\data\transforms\transform.py -> build\lib.win-amd64-3.8\detectron2\data\transforms copying detectron2\data\transforms__init__.py -> build\lib.win-amd64-3.8\detectron2\data\transforms creating build\lib.win-amd64-3.8\detectron2\modeling\backbone copying detectron2\modeling\backbone\backbone.py -> build\lib.win-amd64-3.8\detectron2\modeling\backbone copying detectron2\modeling\backbone\build.py -> build\lib.win-amd64-3.8\detectron2\modeling\backbone copying detectron2\modeling\backbone\fpn.py -> build\lib.win-amd64-3.8\detectron2\modeling\backbone copying detectron2\modeling\backbone\resnet.py -> build\lib.win-amd64-3.8\detectron2\modeling\backbone copying detectron2\modeling\backbone__init__.py -> build\lib.win-amd64-3.8\detectron2\modeling\backbone creating build\lib.win-amd64-3.8\detectron2\modeling\meta_arch copying detectron2\modeling\meta_arch\build.py -> build\lib.win-amd64-3.8\detectron2\modeling\meta_arch copying detectron2\modeling\meta_arch\panoptic_fpn.py -> build\lib.win-amd64-3.8\detectron2\modeling\meta_arch copying detectron2\modeling\meta_arch\rcnn.py -> build\lib.win-amd64-3.8\detectron2\modeling\meta_arch copying detectron2\modeling\meta_arch\retinanet.py -> build\lib.win-amd64-3.8\detectron2\modeling\meta_arch copying detectron2\modeling\meta_arch\semantic_seg.py -> build\lib.win-amd64-3.8\detectron2\modeling\meta_arch copying detectron2\modeling\meta_arch__init__.py -> build\lib.win-amd64-3.8\detectron2\modeling\meta_arch creating build\lib.win-amd64-3.8\detectron2\modeling\proposal_generator copying detectron2\modeling\proposal_generator\build.py -> build\lib.win-amd64-3.8\detectron2\modeling\proposal_generator copying detectron2\modeling\proposal_generator\proposal_utils.py -> build\lib.win-amd64-3.8\detectron2\modeling\proposal_generator copying detectron2\modeling\proposal_generator\rpn.py -> build\lib.win-amd64-3.8\detectron2\modeling\proposal_generator copying detectron2\modeling\proposal_generator\rrpn.py -> build\lib.win-amd64-3.8\detectron2\modeling\proposal_generator copying detectron2\modeling\proposal_generator__init__.py -> build\lib.win-amd64-3.8\detectron2\modeling\proposal_generator creating build\lib.win-amd64-3.8\detectron2\modeling\roi_heads copying detectron2\modeling\roi_heads\box_head.py -> build\lib.win-amd64-3.8\detectron2\modeling\roi_heads copying detectron2\modeling\roi_heads\cascade_rcnn.py -> build\lib.win-amd64-3.8\detectron2\modeling\roi_heads copying detectron2\modeling\roi_heads\fast_rcnn.py -> build\lib.win-amd64-3.8\detectron2\modeling\roi_heads copying detectron2\modeling\roi_heads\keypoint_head.py -> build\lib.win-amd64-3.8\detectron2\modeling\roi_heads copying detectron2\modeling\roi_heads\mask_head.py -> build\lib.win-amd64-3.8\detectron2\modeling\roi_heads copying detectron2\modeling\roi_heads\roi_heads.py -> build\lib.win-amd64-3.8\detectron2\modeling\roi_heads copying detectron2\modeling\roi_heads\rotated_fast_rcnn.py -> build\lib.win-amd64-3.8\detectron2\modeling\roi_heads copying detectron2\modeling\roi_heads__init__.py -> build\lib.win-amd64-3.8\detectron2\modeling\roi_heads creating build\lib.win-amd64-3.8\detectron2\projects\point_rend copying projects\PointRend\point_rend\coarse_mask_head.py -> build\lib.win-amd64-3.8\detectron2\projects\point_rend copying projects\PointRend\point_rend\color_augmentation.py -> build\lib.win-amd64-3.8\detectron2\projects\point_rend copying projects\PointRend\point_rend\config.py -> build\lib.win-amd64-3.8\detectron2\projects\point_rend copying projects\PointRend\point_rend\point_features.py -> build\lib.win-amd64-3.8\detectron2\projects\point_rend copying projects\PointRend\point_rend\point_head.py -> build\lib.win-amd64-3.8\detectron2\projects\point_rend copying projects\PointRend\point_rend\roi_heads.py -> build\lib.win-amd64-3.8\detectron2\projects\point_rend copying projects\PointRend\point_rend\semantic_seg.py -> build\lib.win-amd64-3.8\detectron2\projects\point_rend copying projects\PointRend\point_rend__init__.py -> build\lib.win-amd64-3.8\detectron2\projects\point_rend creating build\lib.win-amd64-3.8\detectron2\projects\deeplab copying projects\DeepLab\deeplab\build_solver.py -> build\lib.win-amd64-3.8\detectron2\projects\deeplab copying projects\DeepLab\deeplab\config.py -> build\lib.win-amd64-3.8\detectron2\projects\deeplab copying projects\DeepLab\deeplab\loss.py -> build\lib.win-amd64-3.8\detectron2\projects\deeplab copying projects\DeepLab\deeplab\lr_scheduler.py -> build\lib.win-amd64-3.8\detectron2\projects\deeplab copying projects\DeepLab\deeplab\resnet.py -> build\lib.win-amd64-3.8\detectron2\projects\deeplab copying projects\DeepLab\deeplab\semantic_seg.py -> build\lib.win-amd64-3.8\detectron2\projects\deeplab copying projects\DeepLab\deeplab__init__.py -> build\lib.win-amd64-3.8\detectron2\projects\deeplab creating build\lib.win-amd64-3.8\detectron2\projects\panoptic_deeplab copying projects\Panoptic-DeepLab\panoptic_deeplab\config.py -> build\lib.win-amd64-3.8\detectron2\projects\panoptic_deeplab copying projects\Panoptic-DeepLab\panoptic_deeplab\dataset_mapper.py -> build\lib.win-amd64-3.8\detectron2\projects\panoptic_deeplab copying projects\Panoptic-DeepLab\panoptic_deeplab\panoptic_seg.py -> build\lib.win-amd64-3.8\detectron2\projects\panoptic_deeplab copying projects\Panoptic-DeepLab\panoptic_deeplab\post_processing.py -> build\lib.win-amd64-3.8\detectron2\projects\panoptic_deeplab copying projects\Panoptic-DeepLab\panoptic_deeplab\target_generator.py -> build\lib.win-amd64-3.8\detectron2\projects\panoptic_deeplab copying projects\Panoptic-DeepLab\panoptic_deeplab__init__.py -> build\lib.win-amd64-3.8\detectron2\projects\panoptic_deeplab creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs copying detectron2\model_zoo\configs\Base-RCNN-C4.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs copying detectron2\model_zoo\configs\Base-RCNN-DilatedC5.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs copying detectron2\model_zoo\configs\Base-RCNN-FPN.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs copying detectron2\model_zoo\configs\Base-RetinaNet.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Cityscapes copying detectron2\model_zoo\configs\Cityscapes\mask_rcnn_R_50_FPN.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Cityscapes creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_101_C4_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_101_DC5_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_101_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_50_C4_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_50_C4_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_50_DC5_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_50_DC5_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_50_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_X_101_32x8d_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\fast_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\retinanet_R_101_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\retinanet_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\retinanet_R_50_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\rpn_R_50_C4_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\rpn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_101_C4_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_101_DC5_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_101_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_C4_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_C4_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_DC5_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_DC5_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_FPN_1x_giou.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_X_101_32x8d_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Keypoints copying detectron2\model_zoo\configs\COCO-Keypoints\Base-Keypoint-RCNN-FPN.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Keypoints copying detectron2\model_zoo\configs\COCO-Keypoints\keypoint_rcnn_R_101_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Keypoints copying detectron2\model_zoo\configs\COCO-Keypoints\keypoint_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Keypoints copying detectron2\model_zoo\configs\COCO-Keypoints\keypoint_rcnn_R_50_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Keypoints copying detectron2\model_zoo\configs\COCO-Keypoints\keypoint_rcnn_X_101_32x8d_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Keypoints creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-PanopticSegmentation copying detectron2\model_zoo\configs\COCO-PanopticSegmentation\Base-Panoptic-FPN.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-PanopticSegmentation copying detectron2\model_zoo\configs\COCO-PanopticSegmentation\panoptic_fpn_R_101_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-PanopticSegmentation copying detectron2\model_zoo\configs\COCO-PanopticSegmentation\panoptic_fpn_R_50_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-PanopticSegmentation copying detectron2\model_zoo\configs\COCO-PanopticSegmentation\panoptic_fpn_R_50_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-PanopticSegmentation creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Detectron1-Comparisons copying detectron2\model_zoo\configs\Detectron1-Comparisons\faster_rcnn_R_50_FPN_noaug_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Detectron1-Comparisons copying detectron2\model_zoo\configs\Detectron1-Comparisons\keypoint_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Detectron1-Comparisons copying detectron2\model_zoo\configs\Detectron1-Comparisons\mask_rcnn_R_50_FPN_noaug_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Detectron1-Comparisons creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\LVISv0.5-InstanceSegmentation copying detectron2\model_zoo\configs\LVISv0.5-InstanceSegmentation\mask_rcnn_R_101_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\LVISv0.5-InstanceSegmentation copying detectron2\model_zoo\configs\LVISv0.5-InstanceSegmentation\mask_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\LVISv0.5-InstanceSegmentation copying detectron2\model_zoo\configs\LVISv0.5-InstanceSegmentation\mask_rcnn_X_101_32x8d_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\LVISv0.5-InstanceSegmentation creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\LVISv1-InstanceSegmentation copying detectron2\model_zoo\configs\LVISv1-InstanceSegmentation\mask_rcnn_R_101_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\LVISv1-InstanceSegmentation copying detectron2\model_zoo\configs\LVISv1-InstanceSegmentation\mask_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\LVISv1-InstanceSegmentation copying detectron2\model_zoo\configs\LVISv1-InstanceSegmentation\mask_rcnn_X_101_32x8d_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\LVISv1-InstanceSegmentation creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\cascade_mask_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\cascade_mask_rcnn_R_50_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\cascade_mask_rcnn_X_152_32x8d_FPN_IN5k_gn_dconv.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\mask_rcnn_R_50_FPN_1x_cls_agnostic.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\mask_rcnn_R_50_FPN_1x_dconv_c3-c5.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\mask_rcnn_R_50_FPN_3x_dconv_c3-c5.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\mask_rcnn_R_50_FPN_3x_gn.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\mask_rcnn_R_50_FPN_3x_syncbn.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\panoptic_fpn_R_101_dconv_cascade_gn_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\scratch_mask_rcnn_R_50_FPN_3x_gn.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\scratch_mask_rcnn_R_50_FPN_9x_gn.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\scratch_mask_rcnn_R_50_FPN_9x_syncbn.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\semantic_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\PascalVOC-Detection copying detectron2\model_zoo\configs\PascalVOC-Detection\faster_rcnn_R_50_C4.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\PascalVOC-Detection copying detectron2\model_zoo\configs\PascalVOC-Detection\faster_rcnn_R_50_FPN.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\PascalVOC-Detection creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\cascade_mask_rcnn_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\cascade_mask_rcnn_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\fast_rcnn_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\fast_rcnn_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\keypoint_rcnn_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\keypoint_rcnn_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\keypoint_rcnn_R_50_FPN_normalized_training_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\keypoint_rcnn_R_50_FPN_training_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_C4_GCV_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_C4_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_C4_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_C4_training_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_DC5_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_FPN_pred_boxes_training_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_FPN_training_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\panoptic_fpn_R_50_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\panoptic_fpn_R_50_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\panoptic_fpn_R_50_training_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\retinanet_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\retinanet_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\rpn_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\rpn_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\semantic_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\semantic_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\semantic_R_50_FPN_training_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules running build_ext C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\utils\cpp_extension.py:287: UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error)) building 'detectron2._C' extension creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8 creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2 creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\box_iou_rotated creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\cocoeval creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\nms_rotated creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlign creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlignRotated creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\deformable Emitting ninja build file C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) [1/13] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\cocoeval\cocoeval.cpp /FoC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\cocoeval\cocoeval.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 [2/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\cuda_version.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\cuda_version.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 cuda_version.cu [3/13] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlign\ROIAlign_cpu.cpp /FoC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlign\ROIAlign_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/ivalue_inl.h(389): warning C4101: 'e': unreferenced local variable [4/13] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\nms_rotated\nms_rotated_cpu.cpp /FoC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\nms_rotated\nms_rotated_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/ivalue_inl.h(389): warning C4101: 'e': unreferenced local variable [5/13] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cpu.cpp /FoC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/ivalue_inl.h(389): warning C4101: 'e': unreferenced local variable [6/13] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cpu.cpp /FoC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/ivalue_inl.h(389): warning C4101: 'e': unreferenced local variable [7/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cuda.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 FAILED: C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/build/temp.win-amd64-3.8/Release/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cuda.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu(185): error: calling a host function("ceilf") from a global__ function("detectron2::RoIAlignRotatedForward ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu(185): error: identifier "__ceilf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu(188): error: calling a host function("ceilf") from a global__ function("detectron2::RoIAlignRotatedForward ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu(188): error: identifier "__ceilf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu(271): error: calling a host function("ceilf") from a global__ function("detectron2::RoIAlignRotatedBackwardFeature ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu(271): error: identifier "__ceilf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu(274): error: calling a host function("ceilf") from a global__ function("detectron2::RoIAlignRotatedBackwardFeature ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu(274): error: identifier "__ceilf" is undefined in device code

8 errors detected in the compilation of "C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu". ROIAlignRotated_cuda.cu [8/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlign\ROIAlign_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlign\ROIAlign_cuda.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 FAILED: C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/build/temp.win-amd64-3.8/Release/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlign\ROIAlign_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlign\ROIAlign_cuda.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu(109): error: calling a host function("ceilf") from a global__ function("RoIAlignForward ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu(109): error: identifier "__ceilf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu(112): error: calling a host function("ceilf") from a global__ function("RoIAlignForward ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu(112): error: identifier "__ceilf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu(251): error: calling a host function("ceilf") from a global__ function("RoIAlignBackwardFeature ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu(251): error: identifier "__ceilf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu(254): error: calling a host function("ceilf") from a global__ function("RoIAlignBackwardFeature ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu(254): error: identifier "__ceilf" is undefined in device code

8 errors detected in the compilation of "C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu". ROIAlign_cuda.cu [9/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\deformable\deform_conv_cuda_kernel.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\deformable\deform_conv_cuda_kernel.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 FAILED: C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/build/temp.win-amd64-3.8/Release/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\deformable\deform_conv_cuda_kernel.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\deformable\deform_conv_cuda_kernel.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(104): error: calling a host function("floorf") from a device__ function("deformable_im2col_bilinear ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(104): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(105): error: calling a host function("floorf") from a device__ function("deformable_im2col_bilinear ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(105): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: calling a host function("floorf") from a device__ function("deformable_im2col_bilinear< ::c10::Half> ") is not allowed

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: calling a host function("floorf") from a device__ function("deformable_im2col_bilinear< ::c10::Half> ") is not allowed

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(146): error: calling a host function("floorf") from a device__ function("get_gradient_weight ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(146): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(147): error: calling a host function("floorf") from a device__ function("get_gradient_weight ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(147): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: calling a host function("floorf") from a device__ function("get_gradient_weight< ::c10::Half> ") is not allowed

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: calling a host function("floorf") from a device__ function("get_gradient_weight< ::c10::Half> ") is not allowed

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(178): error: calling a host function("floorf") from a device__ function("get_coordinate_weight ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(178): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(179): error: calling a host function("floorf") from a device__ function("get_coordinate_weight ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(179): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: calling a host function("floorf") from a device__ function("get_coordinate_weight< ::c10::Half> ") is not allowed

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: calling a host function("floorf") from a device__ function("get_coordinate_weight< ::c10::Half> ") is not allowed

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(673): error: calling a host function("floorf") from a device__ function("dmcn_im2col_bilinear ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(673): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(674): error: calling a host function("floorf") from a device__ function("dmcn_im2col_bilinear ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(674): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: calling a host function("floorf") from a device__ function("dmcn_im2col_bilinear< ::c10::Half> ") is not allowed

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: calling a host function("floorf") from a device__ function("dmcn_im2col_bilinear< ::c10::Half> ") is not allowed

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(715): error: calling a host function("floorf") from a device__ function("dmcn_get_gradient_weight ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(715): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(716): error: calling a host function("floorf") from a device__ function("dmcn_get_gradient_weight ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(716): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: calling a host function("floorf") from a device__ function("dmcn_get_gradient_weight< ::c10::Half> ") is not allowed

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: calling a host function("floorf") from a device__ function("dmcn_get_gradient_weight< ::c10::Half> ") is not allowed

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(747): error: calling a host function("floorf") from a device__ function("dmcn_get_coordinate_weight ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(747): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(748): error: calling a host function("floorf") from a device__ function("dmcn_get_coordinate_weight ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(748): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: calling a host function("floorf") from a device__ function("dmcn_get_coordinate_weight< ::c10::Half> ") is not allowed

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: calling a host function("floorf") from a device__ function("dmcn_get_coordinate_weight< ::c10::Half> ") is not allowed

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: identifier "__floorf" is undefined in device code

48 errors detected in the compilation of "C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu". deform_conv_cuda_kernel.cu [10/13] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\vision.cpp /FoC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\vision.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/ivalue_inl.h(389): warning C4101: 'e': unreferenced local variable C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\pybind11\detail/common.h(106): warning C4005: 'HAVE_SNPRINTF': macro redefinition C:\Users\Mobassir\anaconda3\envs\detectron2\include\pyerrors.h(315): note: see previous definition of 'HAVE_SNPRINTF' [11/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cuda.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 box_iou_rotated_cuda.cu [12/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\nms_rotated\nms_rotated_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\nms_rotated\nms_rotated_cuda.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 nms_rotated_cuda.cu [13/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\deformable\deform_conv_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\deformable\deform_conv_cuda.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/boxing/impl/boxing.h(100): warning: integer conversion resulted in a change of sign

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(39): warning: integer conversion resulted in a change of sign

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/boxing/impl/boxing.h(100): warning: integer conversion resulted in a change of sign

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(39): warning: integer conversion resulted in a change of sign

deform_conv_cuda.cu ninja: build stopped: subcommand failed. Traceback (most recent call last): File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\utils\cpp_extension.py", line 1533, in _run_ninja_build subprocess.run( File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\subprocess.py", line 516, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

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

Traceback (most recent call last): File "", line 1, in File "C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\setup.py", line 178, in setup( File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\setuptools__init__.py", line 163, in setup return distutils.core.setup(**attrs) File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\core.py", line 148, in setup dist.run_commands() File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\dist.py", line 966, in run_commands self.run_command(cmd) File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\wheel\bdist_wheel.py", line 299, in run self.run_command('build') File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\command\build.py", line 135, in run self.run_command(cmd_name) File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\setuptools\command\build_ext.py", line 87, in run _build_ext.run(self) File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\command\build_ext.py", line 340, in run self.build_extensions() File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\utils\cpp_extension.py", line 670, in build_extensions build_ext.build_extensions(self) File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\command\build_ext.py", line 449, in build_extensions self._build_extensions_serial() File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serial self.build_extension(ext) File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\setuptools\command\build_ext.py", line 208, in build_extension _build_ext.build_extension(self, ext) File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\command\build_ext.py", line 528, in build_extension objects = self.compiler.compile(sources, File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\utils\cpp_extension.py", line 643, in win_wrap_ninja_compile _write_ninja_file_and_compile_objects( File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\utils\cpp_extension.py", line 1250, in _write_ninja_file_and_compile_objects _run_ninja_build( File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\utils\cpp_extension.py", line 1555, in _run_ninja_build raise RuntimeError(message) from e RuntimeError: Error compiling objects for extension

ERROR: Failed building wheel for detectron2 ERROR: Command errored out with exit status 1: command: 'C:\Users\Mobassir\anaconda3\envs\detectron2\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\setup.py'"'"'; file='"'"'C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Mobassir\AppData\Local\Temp\pip-record-uo071uzz\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Mobassir\anaconda3\envs\detectron2\Include\detectron2' cwd: C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\ Complete output (542 lines): running install running build running build_py creating build creating build\lib.win-amd64-3.8 creating build\lib.win-amd64-3.8\detectron2 copying detectron2__init__.py -> build\lib.win-amd64-3.8\detectron2 creating build\lib.win-amd64-3.8\detectron2\checkpoint copying detectron2\checkpoint\c2_model_loading.py -> build\lib.win-amd64-3.8\detectron2\checkpoint copying detectron2\checkpoint\catalog.py -> build\lib.win-amd64-3.8\detectron2\checkpoint copying detectron2\checkpoint\detection_checkpoint.py -> build\lib.win-amd64-3.8\detectron2\checkpoint copying detectron2\checkpoint__init__.py -> build\lib.win-amd64-3.8\detectron2\checkpoint creating build\lib.win-amd64-3.8\detectron2\config copying detectron2\config\compat.py -> build\lib.win-amd64-3.8\detectron2\config copying detectron2\config\config.py -> build\lib.win-amd64-3.8\detectron2\config copying detectron2\config\defaults.py -> build\lib.win-amd64-3.8\detectron2\config copying detectron2\config__init__.py -> build\lib.win-amd64-3.8\detectron2\config creating build\lib.win-amd64-3.8\detectron2\data copying detectron2\data\build.py -> build\lib.win-amd64-3.8\detectron2\data copying detectron2\data\catalog.py -> build\lib.win-amd64-3.8\detectron2\data copying detectron2\data\common.py -> build\lib.win-amd64-3.8\detectron2\data copying detectron2\data\dataset_mapper.py -> build\lib.win-amd64-3.8\detectron2\data copying detectron2\data\detection_utils.py -> build\lib.win-amd64-3.8\detectron2\data copying detectron2\data__init__.py -> build\lib.win-amd64-3.8\detectron2\data creating build\lib.win-amd64-3.8\detectron2\engine copying detectron2\engine\defaults.py -> build\lib.win-amd64-3.8\detectron2\engine copying detectron2\engine\hooks.py -> build\lib.win-amd64-3.8\detectron2\engine copying detectron2\engine\launch.py -> build\lib.win-amd64-3.8\detectron2\engine copying detectron2\engine\train_loop.py -> build\lib.win-amd64-3.8\detectron2\engine copying detectron2\engine__init__.py -> build\lib.win-amd64-3.8\detectron2\engine creating build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\cityscapes_evaluation.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\coco_evaluation.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\evaluator.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\fast_eval_api.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\lvis_evaluation.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\panoptic_evaluation.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\pascal_voc_evaluation.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\rotated_coco_evaluation.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\sem_seg_evaluation.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation\testing.py -> build\lib.win-amd64-3.8\detectron2\evaluation copying detectron2\evaluation__init__.py -> build\lib.win-amd64-3.8\detectron2\evaluation creating build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\api.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\c10.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\caffe2_export.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\caffe2_inference.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\caffe2_modeling.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\caffe2_patch.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\shared.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\torchscript.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export\torchscript_patch.py -> build\lib.win-amd64-3.8\detectron2\export copying detectron2\export__init__.py -> build\lib.win-amd64-3.8\detectron2\export creating build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\aspp.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\batch_norm.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\blocks.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\deform_conv.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\mask_ops.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\nms.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\roi_align.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\roi_align_rotated.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\rotated_boxes.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\shape_spec.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers\wrappers.py -> build\lib.win-amd64-3.8\detectron2\layers copying detectron2\layers__init__.py -> build\lib.win-amd64-3.8\detectron2\layers creating build\lib.win-amd64-3.8\detectron2\modeling copying detectron2\modeling\anchor_generator.py -> build\lib.win-amd64-3.8\detectron2\modeling copying detectron2\modeling\box_regression.py -> build\lib.win-amd64-3.8\detectron2\modeling copying detectron2\modeling\matcher.py -> build\lib.win-amd64-3.8\detectron2\modeling copying detectron2\modeling\poolers.py -> build\lib.win-amd64-3.8\detectron2\modeling copying detectron2\modeling\postprocessing.py -> build\lib.win-amd64-3.8\detectron2\modeling copying detectron2\modeling\sampling.py -> build\lib.win-amd64-3.8\detectron2\modeling copying detectron2\modeling\test_time_augmentation.py -> build\lib.win-amd64-3.8\detectron2\modeling copying detectron2\modeling__init__.py -> build\lib.win-amd64-3.8\detectron2\modeling creating build\lib.win-amd64-3.8\detectron2\model_zoo copying detectron2\model_zoo\model_zoo.py -> build\lib.win-amd64-3.8\detectron2\model_zoo copying detectron2\model_zoo__init__.py -> build\lib.win-amd64-3.8\detectron2\model_zoo creating build\lib.win-amd64-3.8\detectron2\projects copying detectron2\projects__init__.py -> build\lib.win-amd64-3.8\detectron2\projects creating build\lib.win-amd64-3.8\detectron2\solver copying detectron2\solver\build.py -> build\lib.win-amd64-3.8\detectron2\solver copying detectron2\solver\lr_scheduler.py -> build\lib.win-amd64-3.8\detectron2\solver copying detectron2\solver__init__.py -> build\lib.win-amd64-3.8\detectron2\solver creating build\lib.win-amd64-3.8\detectron2\structures copying detectron2\structures\boxes.py -> build\lib.win-amd64-3.8\detectron2\structures copying detectron2\structures\image_list.py -> build\lib.win-amd64-3.8\detectron2\structures copying detectron2\structures\instances.py -> build\lib.win-amd64-3.8\detectron2\structures copying detectron2\structures\keypoints.py -> build\lib.win-amd64-3.8\detectron2\structures copying detectron2\structures\masks.py -> build\lib.win-amd64-3.8\detectron2\structures copying detectron2\structures\rotated_boxes.py -> build\lib.win-amd64-3.8\detectron2\structures copying detectron2\structures__init__.py -> build\lib.win-amd64-3.8\detectron2\structures creating build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\analysis.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\collect_env.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\colormap.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\comm.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\env.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\events.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\file_io.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\logger.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\memory.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\registry.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\serialize.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\video_visualizer.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils\visualizer.py -> build\lib.win-amd64-3.8\detectron2\utils copying detectron2\utils__init__.py -> build\lib.win-amd64-3.8\detectron2\utils creating build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\builtin.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\builtin_meta.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\cityscapes.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\cityscapes_panoptic.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\coco.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\coco_panoptic.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\lvis.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\lvis_v0_5_categories.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\lvis_v1_categories.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\pascal_voc.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets\register_coco.py -> build\lib.win-amd64-3.8\detectron2\data\datasets copying detectron2\data\datasets__init__.py -> build\lib.win-amd64-3.8\detectron2\data\datasets creating build\lib.win-amd64-3.8\detectron2\data\samplers copying detectron2\data\samplers\distributed_sampler.py -> build\lib.win-amd64-3.8\detectron2\data\samplers copying detectron2\data\samplers\grouped_batch_sampler.py -> build\lib.win-amd64-3.8\detectron2\data\samplers copying detectron2\data\samplers__init__.py -> build\lib.win-amd64-3.8\detectron2\data\samplers creating build\lib.win-amd64-3.8\detectron2\data\transforms copying detectron2\data\transforms\augmentation.py -> build\lib.win-amd64-3.8\detectron2\data\transforms copying detectron2\data\transforms\augmentation_impl.py -> build\lib.win-amd64-3.8\detectron2\data\transforms copying detectron2\data\transforms\transform.py -> build\lib.win-amd64-3.8\detectron2\data\transforms copying detectron2\data\transforms__init__.py -> build\lib.win-amd64-3.8\detectron2\data\transforms creating build\lib.win-amd64-3.8\detectron2\modeling\backbone copying detectron2\modeling\backbone\backbone.py -> build\lib.win-amd64-3.8\detectron2\modeling\backbone copying detectron2\modeling\backbone\build.py -> build\lib.win-amd64-3.8\detectron2\modeling\backbone copying detectron2\modeling\backbone\fpn.py -> build\lib.win-amd64-3.8\detectron2\modeling\backbone copying detectron2\modeling\backbone\resnet.py -> build\lib.win-amd64-3.8\detectron2\modeling\backbone copying detectron2\modeling\backbone__init__.py -> build\lib.win-amd64-3.8\detectron2\modeling\backbone creating build\lib.win-amd64-3.8\detectron2\modeling\meta_arch copying detectron2\modeling\meta_arch\build.py -> build\lib.win-amd64-3.8\detectron2\modeling\meta_arch copying detectron2\modeling\meta_arch\panoptic_fpn.py -> build\lib.win-amd64-3.8\detectron2\modeling\meta_arch copying detectron2\modeling\meta_arch\rcnn.py -> build\lib.win-amd64-3.8\detectron2\modeling\meta_arch copying detectron2\modeling\meta_arch\retinanet.py -> build\lib.win-amd64-3.8\detectron2\modeling\meta_arch copying detectron2\modeling\meta_arch\semantic_seg.py -> build\lib.win-amd64-3.8\detectron2\modeling\meta_arch copying detectron2\modeling\meta_arch__init__.py -> build\lib.win-amd64-3.8\detectron2\modeling\meta_arch creating build\lib.win-amd64-3.8\detectron2\modeling\proposal_generator copying detectron2\modeling\proposal_generator\build.py -> build\lib.win-amd64-3.8\detectron2\modeling\proposal_generator copying detectron2\modeling\proposal_generator\proposal_utils.py -> build\lib.win-amd64-3.8\detectron2\modeling\proposal_generator copying detectron2\modeling\proposal_generator\rpn.py -> build\lib.win-amd64-3.8\detectron2\modeling\proposal_generator copying detectron2\modeling\proposal_generator\rrpn.py -> build\lib.win-amd64-3.8\detectron2\modeling\proposal_generator copying detectron2\modeling\proposal_generator__init__.py -> build\lib.win-amd64-3.8\detectron2\modeling\proposal_generator creating build\lib.win-amd64-3.8\detectron2\modeling\roi_heads copying detectron2\modeling\roi_heads\box_head.py -> build\lib.win-amd64-3.8\detectron2\modeling\roi_heads copying detectron2\modeling\roi_heads\cascade_rcnn.py -> build\lib.win-amd64-3.8\detectron2\modeling\roi_heads copying detectron2\modeling\roi_heads\fast_rcnn.py -> build\lib.win-amd64-3.8\detectron2\modeling\roi_heads copying detectron2\modeling\roi_heads\keypoint_head.py -> build\lib.win-amd64-3.8\detectron2\modeling\roi_heads copying detectron2\modeling\roi_heads\mask_head.py -> build\lib.win-amd64-3.8\detectron2\modeling\roi_heads copying detectron2\modeling\roi_heads\roi_heads.py -> build\lib.win-amd64-3.8\detectron2\modeling\roi_heads copying detectron2\modeling\roi_heads\rotated_fast_rcnn.py -> build\lib.win-amd64-3.8\detectron2\modeling\roi_heads copying detectron2\modeling\roi_heads__init__.py -> build\lib.win-amd64-3.8\detectron2\modeling\roi_heads creating build\lib.win-amd64-3.8\detectron2\projects\point_rend copying projects\PointRend\point_rend\coarse_mask_head.py -> build\lib.win-amd64-3.8\detectron2\projects\point_rend copying projects\PointRend\point_rend\color_augmentation.py -> build\lib.win-amd64-3.8\detectron2\projects\point_rend copying projects\PointRend\point_rend\config.py -> build\lib.win-amd64-3.8\detectron2\projects\point_rend copying projects\PointRend\point_rend\point_features.py -> build\lib.win-amd64-3.8\detectron2\projects\point_rend copying projects\PointRend\point_rend\point_head.py -> build\lib.win-amd64-3.8\detectron2\projects\point_rend copying projects\PointRend\point_rend\roi_heads.py -> build\lib.win-amd64-3.8\detectron2\projects\point_rend copying projects\PointRend\point_rend\semantic_seg.py -> build\lib.win-amd64-3.8\detectron2\projects\point_rend copying projects\PointRend\point_rend__init__.py -> build\lib.win-amd64-3.8\detectron2\projects\point_rend creating build\lib.win-amd64-3.8\detectron2\projects\deeplab copying projects\DeepLab\deeplab\build_solver.py -> build\lib.win-amd64-3.8\detectron2\projects\deeplab copying projects\DeepLab\deeplab\config.py -> build\lib.win-amd64-3.8\detectron2\projects\deeplab copying projects\DeepLab\deeplab\loss.py -> build\lib.win-amd64-3.8\detectron2\projects\deeplab copying projects\DeepLab\deeplab\lr_scheduler.py -> build\lib.win-amd64-3.8\detectron2\projects\deeplab copying projects\DeepLab\deeplab\resnet.py -> build\lib.win-amd64-3.8\detectron2\projects\deeplab copying projects\DeepLab\deeplab\semantic_seg.py -> build\lib.win-amd64-3.8\detectron2\projects\deeplab copying projects\DeepLab\deeplab__init__.py -> build\lib.win-amd64-3.8\detectron2\projects\deeplab creating build\lib.win-amd64-3.8\detectron2\projects\panoptic_deeplab copying projects\Panoptic-DeepLab\panoptic_deeplab\config.py -> build\lib.win-amd64-3.8\detectron2\projects\panoptic_deeplab copying projects\Panoptic-DeepLab\panoptic_deeplab\dataset_mapper.py -> build\lib.win-amd64-3.8\detectron2\projects\panoptic_deeplab copying projects\Panoptic-DeepLab\panoptic_deeplab\panoptic_seg.py -> build\lib.win-amd64-3.8\detectron2\projects\panoptic_deeplab copying projects\Panoptic-DeepLab\panoptic_deeplab\post_processing.py -> build\lib.win-amd64-3.8\detectron2\projects\panoptic_deeplab copying projects\Panoptic-DeepLab\panoptic_deeplab\target_generator.py -> build\lib.win-amd64-3.8\detectron2\projects\panoptic_deeplab copying projects\Panoptic-DeepLab\panoptic_deeplab__init__.py -> build\lib.win-amd64-3.8\detectron2\projects\panoptic_deeplab creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs copying detectron2\model_zoo\configs\Base-RCNN-C4.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs copying detectron2\model_zoo\configs\Base-RCNN-DilatedC5.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs copying detectron2\model_zoo\configs\Base-RCNN-FPN.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs copying detectron2\model_zoo\configs\Base-RetinaNet.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Cityscapes copying detectron2\model_zoo\configs\Cityscapes\mask_rcnn_R_50_FPN.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Cityscapes creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_101_C4_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_101_DC5_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_101_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_50_C4_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_50_C4_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_50_DC5_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_50_DC5_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_R_50_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\faster_rcnn_X_101_32x8d_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\fast_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\retinanet_R_101_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\retinanet_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\retinanet_R_50_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\rpn_R_50_C4_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection copying detectron2\model_zoo\configs\COCO-Detection\rpn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Detection creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_101_C4_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_101_DC5_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_101_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_C4_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_C4_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_DC5_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_DC5_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_FPN_1x_giou.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_R_50_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation copying detectron2\model_zoo\configs\COCO-InstanceSegmentation\mask_rcnn_X_101_32x8d_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-InstanceSegmentation creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Keypoints copying detectron2\model_zoo\configs\COCO-Keypoints\Base-Keypoint-RCNN-FPN.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Keypoints copying detectron2\model_zoo\configs\COCO-Keypoints\keypoint_rcnn_R_101_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Keypoints copying detectron2\model_zoo\configs\COCO-Keypoints\keypoint_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Keypoints copying detectron2\model_zoo\configs\COCO-Keypoints\keypoint_rcnn_R_50_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Keypoints copying detectron2\model_zoo\configs\COCO-Keypoints\keypoint_rcnn_X_101_32x8d_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-Keypoints creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-PanopticSegmentation copying detectron2\model_zoo\configs\COCO-PanopticSegmentation\Base-Panoptic-FPN.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-PanopticSegmentation copying detectron2\model_zoo\configs\COCO-PanopticSegmentation\panoptic_fpn_R_101_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-PanopticSegmentation copying detectron2\model_zoo\configs\COCO-PanopticSegmentation\panoptic_fpn_R_50_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-PanopticSegmentation copying detectron2\model_zoo\configs\COCO-PanopticSegmentation\panoptic_fpn_R_50_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\COCO-PanopticSegmentation creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Detectron1-Comparisons copying detectron2\model_zoo\configs\Detectron1-Comparisons\faster_rcnn_R_50_FPN_noaug_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Detectron1-Comparisons copying detectron2\model_zoo\configs\Detectron1-Comparisons\keypoint_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Detectron1-Comparisons copying detectron2\model_zoo\configs\Detectron1-Comparisons\mask_rcnn_R_50_FPN_noaug_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Detectron1-Comparisons creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\LVISv0.5-InstanceSegmentation copying detectron2\model_zoo\configs\LVISv0.5-InstanceSegmentation\mask_rcnn_R_101_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\LVISv0.5-InstanceSegmentation copying detectron2\model_zoo\configs\LVISv0.5-InstanceSegmentation\mask_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\LVISv0.5-InstanceSegmentation copying detectron2\model_zoo\configs\LVISv0.5-InstanceSegmentation\mask_rcnn_X_101_32x8d_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\LVISv0.5-InstanceSegmentation creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\LVISv1-InstanceSegmentation copying detectron2\model_zoo\configs\LVISv1-InstanceSegmentation\mask_rcnn_R_101_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\LVISv1-InstanceSegmentation copying detectron2\model_zoo\configs\LVISv1-InstanceSegmentation\mask_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\LVISv1-InstanceSegmentation copying detectron2\model_zoo\configs\LVISv1-InstanceSegmentation\mask_rcnn_X_101_32x8d_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\LVISv1-InstanceSegmentation creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\cascade_mask_rcnn_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\cascade_mask_rcnn_R_50_FPN_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\cascade_mask_rcnn_X_152_32x8d_FPN_IN5k_gn_dconv.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\mask_rcnn_R_50_FPN_1x_cls_agnostic.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\mask_rcnn_R_50_FPN_1x_dconv_c3-c5.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\mask_rcnn_R_50_FPN_3x_dconv_c3-c5.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\mask_rcnn_R_50_FPN_3x_gn.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\mask_rcnn_R_50_FPN_3x_syncbn.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\panoptic_fpn_R_101_dconv_cascade_gn_3x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\scratch_mask_rcnn_R_50_FPN_3x_gn.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\scratch_mask_rcnn_R_50_FPN_9x_gn.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\scratch_mask_rcnn_R_50_FPN_9x_syncbn.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc copying detectron2\model_zoo\configs\Misc\semantic_R_50_FPN_1x.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\Misc creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\PascalVOC-Detection copying detectron2\model_zoo\configs\PascalVOC-Detection\faster_rcnn_R_50_C4.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\PascalVOC-Detection copying detectron2\model_zoo\configs\PascalVOC-Detection\faster_rcnn_R_50_FPN.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\PascalVOC-Detection creating build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\cascade_mask_rcnn_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\cascade_mask_rcnn_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\fast_rcnn_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\fast_rcnn_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\keypoint_rcnn_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\keypoint_rcnn_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\keypoint_rcnn_R_50_FPN_normalized_training_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\keypoint_rcnn_R_50_FPN_training_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_C4_GCV_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_C4_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_C4_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_C4_training_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_DC5_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_FPN_pred_boxes_training_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\mask_rcnn_R_50_FPN_training_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\panoptic_fpn_R_50_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\panoptic_fpn_R_50_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\panoptic_fpn_R_50_training_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\retinanet_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\retinanet_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\rpn_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\rpn_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\semantic_R_50_FPN_inference_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\semantic_R_50_FPN_instant_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules copying detectron2\model_zoo\configs\quick_schedules\semantic_R_50_FPN_training_acc_test.yaml -> build\lib.win-amd64-3.8\detectron2\model_zoo\configs\quick_schedules running build_ext C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\utils\cpp_extension.py:287: UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error)) building 'detectron2._C' extension creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8 creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2 creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\box_iou_rotated creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\cocoeval creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\nms_rotated creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlign creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlignRotated creating C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\deformable Emitting ninja build file C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) [1/13] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\cocoeval\cocoeval.cpp /FoC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\cocoeval\cocoeval.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 [2/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\cuda_version.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\cuda_version.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 cuda_version.cu [3/13] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\nms_rotated\nms_rotated_cpu.cpp /FoC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\nms_rotated\nms_rotated_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/ivalue_inl.h(389): warning C4101: 'e': unreferenced local variable [4/13] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cpu.cpp /FoC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/ivalue_inl.h(389): warning C4101: 'e': unreferenced local variable [5/13] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlign\ROIAlign_cpu.cpp /FoC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlign\ROIAlign_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/ivalue_inl.h(389): warning C4101: 'e': unreferenced local variable [6/13] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cpu.cpp /FoC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cpu.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14 C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/ivalue_inl.h(389): warning C4101: 'e': unreferenced local variable [7/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlign\ROIAlign_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlign\ROIAlign_cuda.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 FAILED: C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/build/temp.win-amd64-3.8/Release/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.obj C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlign\ROIAlign_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlign\ROIAlign_cuda.obj -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -O3 -DCUDA_HAS_FP16=1 -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -DCUDA_NO_HALF2_OPERATORS -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=sm_86 C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu(109): error: calling a host function("ceilf") from a global__ function("RoIAlignForward ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu(109): error: identifier "__ceilf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu(112): error: calling a __host__ function("__ceilf") from a __global__ function("RoIAlignForward<float> ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu(112): error: identifier "__ceilf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu(251): error: calling a __host__ function("__ceilf") from a __global__ function("RoIAlignBackwardFeature<float> ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu(251): error: identifier "__ceilf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu(254): error: calling a __host__ function("__ceilf") from a __global__ function("RoIAlignBackwardFeature<float> ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu(254): error: identifier "__ceilf" is undefined in device code

8 errors detected in the compilation of "C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu".
ROIAlign_cuda.cu
[8/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\deformable\deform_conv_cuda_kernel.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\deformable\deform_conv_cuda_kernel.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -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=0 -gencode=arch=compute_86,code=sm_86
FAILED: C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/build/temp.win-amd64-3.8/Release/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\deformable\deform_conv_cuda_kernel.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\deformable\deform_conv_cuda_kernel.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -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=0 -gencode=arch=compute_86,code=sm_86
C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(104): error: calling a __host__ function("__floorf") from a __device__ function("deformable_im2col_bilinear<float> ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(104): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(105): error: calling a __host__ function("__floorf") from a __device__ function("deformable_im2col_bilinear<float> ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(105): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: calling a __host__ function("__floorf") from a __device__ function("deformable_im2col_bilinear< ::c10::Half> ") is not allowed

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: calling a __host__ function("__floorf") from a __device__ function("deformable_im2col_bilinear< ::c10::Half> ") is not allowed

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(146): error: calling a __host__ function("__floorf") from a __device__ function("get_gradient_weight<float> ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(146): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(147): error: calling a __host__ function("__floorf") from a __device__ function("get_gradient_weight<float> ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(147): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: calling a __host__ function("__floorf") from a __device__ function("get_gradient_weight< ::c10::Half> ") is not allowed

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: calling a __host__ function("__floorf") from a __device__ function("get_gradient_weight< ::c10::Half> ") is not allowed

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(178): error: calling a __host__ function("__floorf") from a __device__ function("get_coordinate_weight<float> ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(178): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(179): error: calling a __host__ function("__floorf") from a __device__ function("get_coordinate_weight<float> ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(179): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: calling a __host__ function("__floorf") from a __device__ function("get_coordinate_weight< ::c10::Half> ") is not allowed

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: calling a __host__ function("__floorf") from a __device__ function("get_coordinate_weight< ::c10::Half> ") is not allowed

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(673): error: calling a __host__ function("__floorf") from a __device__ function("dmcn_im2col_bilinear<float> ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(673): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(674): error: calling a __host__ function("__floorf") from a __device__ function("dmcn_im2col_bilinear<float> ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(674): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: calling a __host__ function("__floorf") from a __device__ function("dmcn_im2col_bilinear< ::c10::Half> ") is not allowed

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: calling a __host__ function("__floorf") from a __device__ function("dmcn_im2col_bilinear< ::c10::Half> ") is not allowed

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(715): error: calling a __host__ function("__floorf") from a __device__ function("dmcn_get_gradient_weight<float> ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(715): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(716): error: calling a __host__ function("__floorf") from a __device__ function("dmcn_get_gradient_weight<float> ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(716): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: calling a __host__ function("__floorf") from a __device__ function("dmcn_get_gradient_weight< ::c10::Half> ") is not allowed

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: calling a __host__ function("__floorf") from a __device__ function("dmcn_get_gradient_weight< ::c10::Half> ") is not allowed

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(747): error: calling a __host__ function("__floorf") from a __device__ function("dmcn_get_coordinate_weight<float> ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(747): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(748): error: calling a __host__ function("__floorf") from a __device__ function("dmcn_get_coordinate_weight<float> ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu(748): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: calling a __host__ function("__floorf") from a __device__ function("dmcn_get_coordinate_weight< ::c10::Half> ") is not allowed

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: identifier "__floorf" is undefined in device code

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: calling a __host__ function("__floorf") from a __device__ function("dmcn_get_coordinate_weight< ::c10::Half> ") is not allowed

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\c10/util/Half-inl.h(31): error: identifier "__floorf" is undefined in device code

48 errors detected in the compilation of "C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/deformable/deform_conv_cuda_kernel.cu".
deform_conv_cuda_kernel.cu
[9/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cuda.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -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=0 -gencode=arch=compute_86,code=sm_86
FAILED: C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/build/temp.win-amd64-3.8/Release/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\ROIAlignRotated\ROIAlignRotated_cuda.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -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=0 -gencode=arch=compute_86,code=sm_86
C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu(185): error: calling a __host__ function("__ceilf") from a __global__ function("detectron2::RoIAlignRotatedForward<float> ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu(185): error: identifier "__ceilf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu(188): error: calling a __host__ function("__ceilf") from a __global__ function("detectron2::RoIAlignRotatedForward<float> ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu(188): error: identifier "__ceilf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu(271): error: calling a __host__ function("__ceilf") from a __global__ function("detectron2::RoIAlignRotatedBackwardFeature<float> ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu(271): error: identifier "__ceilf" is undefined in device code

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu(274): error: calling a __host__ function("__ceilf") from a __global__ function("detectron2::RoIAlignRotatedBackwardFeature<float> ") is not allowed

C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu(274): error: identifier "__ceilf" is undefined in device code

8 errors detected in the compilation of "C:/Users/Mobassir/AppData/Local/Temp/pip-req-build-tllkx0_y/detectron2/layers/csrc/ROIAlignRotated/ROIAlignRotated_cuda.cu".
ROIAlignRotated_cuda.cu
[10/13] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\vision.cpp /FoC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\vision.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\ATen/core/ivalue_inl.h(389): warning C4101: 'e': unreferenced local variable
C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\pybind11\detail/common.h(106): warning C4005: 'HAVE_SNPRINTF': macro redefinition
C:\Users\Mobassir\anaconda3\envs\detectron2\include\pyerrors.h(315): note: see previous definition of 'HAVE_SNPRINTF'
[11/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\box_iou_rotated\box_iou_rotated_cuda.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -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=0 -gencode=arch=compute_86,code=sm_86
box_iou_rotated_cuda.cu
[12/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\nms_rotated\nms_rotated_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\nms_rotated\nms_rotated_cuda.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -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=0 -gencode=arch=compute_86,code=sm_86
nms_rotated_cuda.cu
[13/13] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -DWITH_CUDA -IC:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\TH -IC:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -IC:\Users\Mobassir\anaconda3\envs\detectron2\include -IC:\Users\Mobassir\anaconda3\envs\detectron2\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" -c C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\deformable\deform_conv_cuda.cu -o C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\build\temp.win-amd64-3.8\Release\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\detectron2\layers\csrc\deformable\deform_conv_cuda.obj -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 -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=0 -gencode=arch=compute_86,code=sm_86
C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/boxing/impl/boxing.h(100): warning: integer conversion resulted in a change of sign

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(39): warning: integer conversion resulted in a change of sign

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/boxing/impl/boxing.h(100): warning: integer conversion resulted in a change of sign

C:/Users/Mobassir/anaconda3/envs/detectron2/lib/site-packages/torch/include\ATen/core/op_registration/op_whitelist.h(39): warning: integer conversion resulted in a change of sign

deform_conv_cuda.cu
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\utils\cpp_extension.py", line 1533, in _run_ninja_build
    subprocess.run(
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

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

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\setup.py", line 178, in <module>
    setup(
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\setuptools\__init__.py", line 163, in setup
    return distutils.core.setup(**attrs)
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\core.py", line 148, in setup
    dist.run_commands()
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\setuptools\command\install.py", line 61, in run
    return orig.install.run(self)
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\command\install.py", line 545, in run
    self.run_command('build')
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\command\build.py", line 135, in run
    self.run_command(cmd_name)
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\setuptools\command\build_ext.py", line 87, in run
    _build_ext.run(self)
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\Cython\Distutils\old_build_ext.py", line 186, in run
    _build_ext.build_ext.run(self)
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\command\build_ext.py", line 340, in run
    self.build_extensions()
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\utils\cpp_extension.py", line 670, in build_extensions
    build_ext.build_extensions(self)
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\Cython\Distutils\old_build_ext.py", line 195, in build_extensions
    _build_ext.build_ext.build_extensions(self)
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\command\build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\setuptools\command\build_ext.py", line 208, in build_extension
    _build_ext.build_extension(self, ext)
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\distutils\command\build_ext.py", line 528, in build_extension
    objects = self.compiler.compile(sources,
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\utils\cpp_extension.py", line 643, in win_wrap_ninja_compile
    _write_ninja_file_and_compile_objects(
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\utils\cpp_extension.py", line 1250, in _write_ninja_file_and_compile_objects
    _run_ninja_build(
  File "C:\Users\Mobassir\anaconda3\envs\detectron2\lib\site-packages\torch\utils\cpp_extension.py", line 1555, in _run_ninja_build
    raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
----------------------------------------

ERROR: Command errored out with exit status 1: 'C:\Users\Mobassir\anaconda3\envs\detectron2\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\setup.py'"'"'; file='"'"'C:\Users\Mobassir\AppData\Local\Temp\pip-req-build-tllkx0_y\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Mobassir\AppData\Local\Temp\pip-record-uo071uzz\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Mobassir\anaconda3\envs\detectron2\Include\detectron2' Check the logs for full command output.

failed

CondaEnvException: Pip failed

mobassir94 commented 3 years ago

error comes after this line :Installing pip dependencies: -

markstrefford commented 3 years ago

Your error is

UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error))

Theres fixes for this if you google them. Perhaps add the link here in this issue when you’ve fixed it?

mobassir94 commented 3 years ago

when you install visual studio 2019,there are many box to select like python development, dot net desktop,desktop development with c++ etc etc,,there are many,,i selected python development while installing visual studio 2019,am i missing something?

except this i have done everything as you suggested me to do. i would like to know what are the options you've selected while installing visual studio 2019,i wish you could add more details in your readme.md file,thanks

markstrefford commented 3 years ago

You need the c++ development too. There’s a link to a video at the bottom of the Readme file about installing Stylegan2. If you watch the start of that it may help with some of these issues.

mobassir94 commented 3 years ago

yes, have installed c++ development too and same error,,something is missing,i am doing more google search,thanks

mobassir94 commented 3 years ago

a question,,last time i installed mingw manually and added C:\MinGW\bin in environment variable path, i see your yml file let's me install gcc,,so should i remove my manually installed mingw? is it possible that this is causing trouble here in my side? because i try to keep everything else as it is in your side

mobassir94 commented 3 years ago

probably this issue is related to anaconda? see this : https://github.com/conda/conda/issues/8346

what anaconda version you used?

mobassir94 commented 3 years ago

i get this : https://anaconda.org/anaconda/vs2015_runtime inside detectron2 environment that was created using your provided yml file

probably this is causing issue? do you know any solution for this?

here are list of packages that was inside detectron2 environment :

blas-2.108-mkl blas-devel-3.9.0-8_mkl ca-certificates-2020.12.5-h5b45459_0 certifi-2020.12.5-py38haa244fe_1 cudatoolkit-11.0.3-h3f58a73_8 freetype-2.10.4-h546665d_1 git-2.30.2-h57928b3_0 intel-openmp-2020.3-h57928b3_311 jpeg-9b-vc14h4d7706e_1 libblas-3.9.0-8_mkl libcblas-3.9.0-8_mkl liblapack-3.9.0-8_mkl liblapacke-3.9.0-8_mkl libpng-1.6.37-h1d00b33_2 libtiff-4.1.0-h56a325e_1 libuv-1.41.0-h8ffe710_0 lz4-c-1.9.2-h62dcd97_2 m2w64-gcc-libgfortran-5.3.0-6 m2w64-gcc-libs-5.3.0-7 m2w64-gcc-libs-core-5.3.0-7 m2w64-gmp-6.1.0-2 m2w64-libwinpthread-git-5.0.0.4634.697f757-2 mkl-2020.4-hb70f87d_311 mkl-devel-2020.4-h57928b3_312 mkl-include-2020.4-hb70f87d_311 msys2-conda-epoch-20160418-1 ninja-1.10.2-h5362a0b_0 numpy-1.20.1-py38h0cc643e_0 olefile-0.46-pyh9f0ad1d_1 openssl-1.1.1j-h8ffe710_0 pillow-8.0.0-py38hca74424_0 pip-21.0.1-pyhd8ed1ab_0 python-3.8.8-h7840368_0_cpython python_abi-3.8-1_cp38 pytorch-1.7.1-py3.8_cuda110_cudnn8_0 pywin32-300-py38h294d835_0 setuptools-49.6.0-py38haa244fe_3 sqlite-3.34.0-h8ffe710_0 tk-8.6.7-vc14hb68737d_1 torchvision-0.8.2-py38_cu110 typing_extensions-3.7.4.3-py_0 vc-14.2-hb210afc_4 vs2015_runtime-14.28.29325-h5e1d092_4 wheel-0.36.2-pyhd3deb0d_0 wincertstore-0.2-py38haa244fe_1006 xz-5.2.5-h62dcd97_1 zlib-1.2.11-vc14h1cdd9ab_1 zstd-1.4.4-h9f78265_3

i searched a lot,,couldn't solve the error yet,if you could share requirements.txt from your detectron2 environment then it could help a lot,,also exact versions of cuda,ms visual studio 2019 and all other things related to this detectron2 run(if you update the readme.md according to that with proper explanation then it could also help many other people like me).

markstrefford commented 3 years ago

probably this issue is related to anaconda? see this : conda/conda#8346

what anaconda version you used?

I used the latest version of Anaconda as of end of January 21. This issue that you linked to is 2 years old, I had no issues with it.

There is no requirements.txt in my environment, it's all handled in that conda yml file.

This issue, which was what was in your logs:

UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error))

is an environment / path issue. This is more related to your issue:

https://github.com/NVIDIA/apex/issues/521#issuecomment-666977118

You need to add the correct cl.exe to your Windows path. There are tutorials on how to add to your Windows Path out there, also, make sure you add the right one from your VS2017/19 directory. This should help: https://docs.microsoft.com/en-us/cpp/build/building-on-the-command-line?view=msvc-160

Also, as you have vs2015 runtimes installed there, I suggest you delete that conda environment and start with a fresh one.

mobassir94 commented 3 years ago

i uninstalled anaconda and reinstalled,,several time i removed virtual environment that was created using your yml file and re created over and over again,i always get vs2015 there,don't know why :(

in this location i have cl.exe : C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.28.29910\bin\Hostx86\arm

so i added it in my system environment variable path and then after retry i get exact same error,also after visiting this link : https://anaconda.org/conda-forge/vs2015_runtime/files?type=conda

i see there is no vs2019 there in official anaconda site, they last uploaded this "win-64/vs2015_runtime-14.16.27033-h024ed77_4.tar.bz2" 12 days ago,i can't understand how you get vs2019 in your environment then

markstrefford commented 3 years ago

i see there is no vs2019 there in official anaconda site, they last uploaded this "win-64/vs2015_runtime-14.16.27033-h024ed77_4.tar.bz2" 12 days ago,i can't understand how you get vs2019 in your environment then

You don't need this. Everything you need from a Python environment is in the yml file.

Watch this video, he shows you how to set up VS (this video is linked from the README.md).

https://www.youtube.com/watch?v=BCde68k6KXg

mobassir94 commented 3 years ago

i checked that video carefully and followed the tutorial,i did everything like he did,only thing that i was missing is vcvars.bat file,,according to his tutorial we need to double click this bat file and then new command prompt comes,,then we need to restart,,i did that,,,after that i went to conda prompt and then used this command conda env create -f C:\Users\Mobassir\Downloads\data\running-detectron2-on-windows-wsl2-rtx30xx-main\detectron2-windows-conda.yml

then same error log comes.i do conda list after activating detectron2 env,i still see "vs2015_runtime" there,note that i removed all virtual environment from conda,then followed stylegan tutorial to install that bat file and setup vs 2019 and then after reboot i just opened conda prompt and typed conda env create -f C:\Users\Mobassir\Downloads\data\running-detectron2-on-windows-wsl2-rtx30xx-main\detectron2-windows-conda.yml :(

markstrefford commented 3 years ago

OK, here's the output of my conda list. Note that I've installed a whole bunch other things here (and yes I notice there's a VS2015 runtime too!):

# packages in environment at C:\Users\Mark\anaconda3\envs\detectron2:
#
# Name                    Version                   Build  Channel
absl-py                   0.11.0                   pypi_0    pypi
blas                      2.108                       mkl    conda-forge
blas-devel                3.9.0                     8_mkl    conda-forge
blosc                     1.10.2                   pypi_0    pypi
ca-certificates           2021.1.19            haa95532_0
cachetools                4.2.1                    pypi_0    pypi
certifi                   2020.12.5        py38haa95532_0
chardet                   4.0.0                    pypi_0    pypi
cloudpickle               1.6.0                    pypi_0    pypi
cudatoolkit               11.0.3               h3f58a73_8    conda-forge
cycler                    0.10.0                   pypi_0    pypi
cython                    0.29.21                  pypi_0    pypi
detectron2                0.3                      pypi_0    pypi
freetype                  2.10.4               h546665d_1    conda-forge
future                    0.18.2                   pypi_0    pypi
fvcore                    0.1.3.post20210213          pypi_0    pypi
git                       2.30.1               h57928b3_0    conda-forge
google-auth               1.27.0                   pypi_0    pypi
google-auth-oauthlib      0.4.2                    pypi_0    pypi
grpcio                    1.35.0                   pypi_0    pypi
idna                      2.10                     pypi_0    pypi
imutils                   0.5.4                    pypi_0    pypi
intel-openmp              2020.3             h57928b3_311    conda-forge
iopath                    0.1.3                    pypi_0    pypi
jpeg                      9b               vc14h4d7706e_1  [vc14]  anaconda
kiwisolver                1.3.1                    pypi_0    pypi
libblas                   3.9.0                     8_mkl    conda-forge
libcblas                  3.9.0                     8_mkl    conda-forge
liblapack                 3.9.0                     8_mkl    conda-forge
liblapacke                3.9.0                     8_mkl    conda-forge
libpng                    1.6.37               h1d00b33_2    conda-forge
libtiff                   4.1.0                h56a325e_1    anaconda
libuv                     1.41.0               h8ffe710_0    conda-forge
lz4-c                     1.9.2                h62dcd97_2    conda-forge
m2w64-gcc-libgfortran     5.3.0                         6    conda-forge
m2w64-gcc-libs            5.3.0                         7    conda-forge
m2w64-gcc-libs-core       5.3.0                         7    conda-forge
m2w64-gmp                 6.1.0                         2    conda-forge
m2w64-libwinpthread-git   5.0.0.4634.697f757               2    conda-forge
markdown                  3.3.3                    pypi_0    pypi
matplotlib                3.3.4                    pypi_0    pypi
mkl                       2020.4             hb70f87d_311    conda-forge
mkl-devel                 2020.4             h57928b3_312    conda-forge
mkl-include               2020.4             hb70f87d_311    conda-forge
msys2-conda-epoch         20160418                      1    conda-forge
ninja                     1.10.2               h5362a0b_0    conda-forge
numpy                     1.20.1           py38h0cc643e_0    conda-forge
oauthlib                  3.1.0                    pypi_0    pypi
olefile                   0.46               pyh9f0ad1d_1    conda-forge
opencv-python             4.5.1.48                 pypi_0    pypi
openssl                   1.1.1i               h2bbff1b_0
pillow                    8.0.0            py38hca74424_0    anaconda
pip                       21.0.1             pyhd8ed1ab_0    conda-forge
portalocker               2.2.1                    pypi_0    pypi
protobuf                  3.14.0                   pypi_0    pypi
pyasn1                    0.4.8                    pypi_0    pypi
pyasn1-modules            0.2.8                    pypi_0    pypi
pycocotools               2.0.2                    pypi_0    pypi
pydot                     1.4.2                    pypi_0    pypi
pyparsing                 2.4.7                    pypi_0    pypi
python                    3.8.6           h7840368_5_cpython    conda-forge
python-dateutil           2.8.1                    pypi_0    pypi
python_abi                3.8                      1_cp38    conda-forge
pytorch                   1.7.1           py3.8_cuda110_cudnn8_0    pytorch
pywin32                   300                      pypi_0    pypi
pyyaml                    5.4.1                    pypi_0    pypi
requests                  2.25.1                   pypi_0    pypi
requests-oauthlib         1.3.0                    pypi_0    pypi
rsa                       4.7.1                    pypi_0    pypi
setuptools                49.6.0           py38haa244fe_3    conda-forge
six                       1.15.0                   pypi_0    pypi
sqlite                    3.34.0               h8ffe710_0    conda-forge
tabulate                  0.8.7                    pypi_0    pypi
tensorboard               2.4.1                    pypi_0    pypi
tensorboard-plugin-wit    1.8.0                    pypi_0    pypi
termcolor                 1.1.0                    pypi_0    pypi
tk                        8.6.7            vc14hb68737d_1  [vc14]  anaconda
torchvision               0.8.2                py38_cu110    pytorch
tqdm                      4.56.2                   pypi_0    pypi
typing_extensions         3.7.4.3                    py_0    conda-forge
urllib3                   1.26.3                   pypi_0    pypi
vc                        14.2                 hb210afc_3    conda-forge
vs2015_runtime            14.28.29325          h5e1d092_3    conda-forge
werkzeug                  1.0.1                    pypi_0    pypi
wheel                     0.36.2             pyhd3deb0d_0    conda-forge
wincertstore              0.2             py38haa244fe_1006    conda-forge
xz                        5.2.5                h62dcd97_1    conda-forge
yacs                      0.1.8                    pypi_0    pypi
zlib                      1.2.11           vc14h1cdd9ab_1  [vc14]  anaconda
zstd                      1.4.4                h9f78265_3    conda-forge

I've also attached the VS 2019 components I have installed (note all of the optionals are needed I guess) 2021-03-17 (3)

Output of conda info

conda info

     active environment : detectron2
    active env location : C:\Users\Mark\anaconda3\envs\detectron2
            shell level : 2
       user config file : C:\Users\Mark\.condarc
 populated config files : C:\Users\Mark\.condarc
          conda version : 4.9.2
    conda-build version : 3.20.5
         python version : 3.8.5.final.0
       virtual packages : __cuda=11.3=0
                          __win=0=0
                          __archspec=1=x86_64
       base environment : C:\Users\Mark\anaconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\Mark\anaconda3\pkgs
                          C:\Users\Mark\.conda\pkgs
                          C:\Users\Mark\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\Mark\anaconda3\envs
                          C:\Users\Mark\.conda\envs
                          C:\Users\Mark\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.9.2 requests/2.24.0 CPython/3.8.5 Windows/10 Windows/10.0.21313
          administrator : False
             netrc file : None
           offline mode : False
markstrefford commented 3 years ago

@mobassir94 Can you confirm the actual error you are getting now? Just paste the error, not the whole output.

mobassir94 commented 3 years ago

a great news man :D after seeing your last 2 messages i have uninstalled cuda11.2 and installed cuda 11.0 and corresponding cudnn and now no error,,i was able to import detectron2

earlier you said me to install cuda 11.2 or cuda 11.3...i must say that cuda 11.2 didn't work,iirc cuda 11.1 also didn't work,but with cuda 11.0 i get no error now,,i am still testing..it will be great if you see what changes are required for windows users if they use cuda 11.1 or cuda 11.2 instead,,because sooner or later we will move to 11.1 or 11.2

so if you can provide solution for 11.1 or 11.12 users then it will be great help for us in near future,thank you a lot,let me check detectron2,,i might will disturb you again if i face any other issue,perdon me 👍

markstrefford commented 3 years ago

Great news, glad you fixed it! Maybe the issues were with CUDA 11.0 and 11.0.3 works. nvidia-smi still shows CUDA 11.3 for me, which is strange as that doesn't seem to be released (or it's been withdrawn by NVidia? And of course, reach out if you need any further help :-)

mobassir94 commented 3 years ago

I am trying to run this Project : https://github.com/ying09/TextFuseNet On my windows machine You see now the folder structure of my detectron2 is completely different than his. He has/or the official repo has setup.py file but i Don't see any setup.py file inside the detectron2 folder,how can i run that project on my Machine? Do you have any idea?

markstrefford commented 3 years ago

It looks like he has integrated Detectron2 into his repo. It's probably a better question for @ying09 as to how his code needs to run.

setup.py is used to setup a Python library (such as Detectron2) and is generally not needed afterwards.

solarflarefx commented 3 years ago

I can't seem to shake off the error:

UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error))

I tried installing multiple versions of MSVC v142, WIndows 10 SDK. I have installed Visual Studio 2019. But keep getting that error when installing using the yml file.

I have installed both CUDA 11.2 and CUDA 11.0.

ShangruiNie commented 3 years ago

I'm getting the same ERROR: Command errored out with exit status 1: after: installed Microsoft C++ build tools in the most recent version, as the above shows tried different versions of GCC compiler (5.4, 6.4, 6.5, 7,0, 7.3, and most recent one) installed new version of nvcc

my environment: os: windows 10 Cuda: 11.3 pytorch: 1.10

the problem seems always to be the c++, but I'm really exhausted after trying different combinations of compilers.