Maskrcnn-benchmark: python setup.py build develop fails on Windows 10

Created on 8 Dec 2018  ·  46Comments  ·  Source: facebookresearch/maskrcnn-benchmark

Setup: CUDA 10.0.130, cudNN 7.4.1, VS 2017 15.9.3 x64, PyTorch nightly (conda)

INPUT

python setup.py build develop

OUTPUT
...
C:/Users/pazzu/Documents/maskrcnn-benchmark/maskrcnn_benchmark/csrc/cuda/ROIAlign_cuda.cu(275): error: no instance of function template "THCCeilDiv" matches the argument list
argument types are: (long long, long)

C:/Users/pazzu/Documents/maskrcnn-benchmark/maskrcnn_benchmark/csrc/cuda/ROIAlign_cuda.cu(275): error: no instance of overloaded function "std::min" matches the argument list
argument types are: (, long)

C:/Users/pazzu/Documents/maskrcnn-benchmark/maskrcnn_benchmark/csrc/cuda/ROIAlign_cuda.cu(320): error: no instance of function template "THCCeilDiv" matches the argument list
argument types are: (int64_t, long)

C:/Users/pazzu/Documents/maskrcnn-benchmark/maskrcnn_benchmark/csrc/cuda/ROIAlign_cuda.cu(320): error: no instance of overloaded function "std::min" matches the argument list
argument types are: (, long)

4 errors detected in the compilation of "C:/Users/pazzu/AppData/Local/Temp/tmpxft_00003e80_00000000-10_ROIAlign_cuda.cpp1.ii".
error: command 'C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA\v10.0\bin\nvcc.exe' failed with exit status 1

contributions welcome enhancement windows

Most helpful comment

Cuda: 9.0
cudnn:7.1.4
Pytorch 1.0 release
anaconda3 + python 3.6

Also fails on Windows10 with error below:

"error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2"

Could somebody help?

All 46 comments

Cuda: 9.0
cudnn:7.1.4
Pytorch 1.0 release
anaconda3 + python 3.6

Also fails on Windows10 with error below:

"error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2"

Could somebody help?

I have the same issue. Maybe it's a GCC thing.

Win 10, python 3.7, pytorch 1.0 stable, Cuda 10. Will send more detailed logs later.

Cuda: 9.0
cudnn:7.1.4
Pytorch 1.0 release
anaconda3 + python 3.6
compiler: VC14

A lot of errors:

File "setup.py", line 29
extra_compile_args = {'gcc':['/Qstd=c99']}
^
TabError: inconsistent use of tabs and spaces in indentation

(python36) c:\Users\wangyong\maskrcnn-benchmark-master>python setup.py build develop
File "setup.py", line 29
extra_compile_args = {"gcc": ['/Qstd=c99']}
^
TabError: inconsistent use of tabs and spaces in indentation

(python36) c:\Users\wangyong\maskrcnn-benchmark-master>python setup.py build develop
running build
running build_py
running build_ext
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\utils\cpp_extension.py:184: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。
warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error))
building 'maskrcnn_benchmark._C' extension
Traceback (most recent call last):
File "setup.py", line 69, in
cmdclass={"build_ext": torch.utils.cpp_extension.BuildExtension},
File "C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\setuptools__init__.py", line 143, in setup
return distutils.core.setup(**attrs)
File "C:\ProgramData\Anaconda3\envs\python36\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\ProgramData\Anaconda3\envs\python36\lib\distutils\dist.py", line 955, in run_commands
self.run_command(cmd)
File "C:\ProgramData\Anaconda3\envs\python36\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\ProgramData\Anaconda3\envs\python36\lib\distutils\commandbuild.py", line 135, in run
self.run_command(cmd_name)
File "C:\ProgramData\Anaconda3\envs\python36\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\ProgramData\Anaconda3\envs\python36\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\setuptools\commandbuild_ext.py", line 78, in run
_build_ext.run(self)
File "C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\Cython\Distutils\old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
File "C:\ProgramData\Anaconda3\envs\python36\lib\distutils\commandbuild_ext.py", line 339, in run
self.build_extensions()
File "C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\utils\cpp_extension.py", line 343, in build_extensions
build_ext.build_extensions(self)
File "C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\Cython\Distutils\old_build_ext.py", line 194, in build_extensions
self.build_extension(ext)
File "C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\setuptools\commandbuild_ext.py", line 199, in build_extension
_build_ext.build_extension(self, ext)
File "C:\ProgramData\Anaconda3\envs\python36\lib\distutils\commandbuild_ext.py", line 533, in build_extension
depends=ext.depends)
File "C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\utils\cpp_extension.py", line 333, in win_wrap_compile
extra_postargs, depends)
File "C:\ProgramData\Anaconda3\envs\python36\lib\distutils_msvccompiler.py", line 423, in compile
self.spawn(args)
File "C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\utils\cpp_extension.py", line 321, in spawn
cflags = self.cflags['cxx']
KeyError: 'cxx'

(python36) c:\Users\wangyong\maskrcnn-benchmark-master>python setup.py build develop
File "setup.py", line 28
extra_compile_args = {"cxx": ['/Qstd=c99']]}
^
SyntaxError: invalid syntax

(python36) c:\Users\wangyong\maskrcnn-benchmark-master>python setup.py build develop
running build
running build_py
running build_ext
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\utils\cpp_extension.py:184: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。
warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error))
building 'maskrcnn_benchmark._C' extension
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DWITH_CUDA -Ic:\Users\wangyong\maskrcnn-benchmark-master\maskrcnn_benchmark\csrc -IC:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include -IC:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include -IC:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\TH -IC:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\include" -IC:\ProgramData\Anaconda3\envs\python36\include -IC:\ProgramData\Anaconda3\envs\python36\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" /EHsc /Tpc:\Users\wangyong\maskrcnn-benchmark-master\maskrcnn_benchmark\csrc\vision.cpp /Fobuild\temp.win-amd64-3.6\Release\Users\wangyong\maskrcnn-benchmark-master\maskrcnn_benchmark\csrc\vision.obj /Qstd=c99 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0
cl : Command line warning D9002 : ignoring unknown option '/Qstd=c99'
vision.cpp
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/Exception.h(27): warning C4275: non dll-interface class 'std::exception' used as base for dll-interface class 'c10::Error'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\vcruntime_exception.h(43): note: see declaration of 'std::exception'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/Exception.h(27): note: see declaration of 'c10::Error'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/Exception.h(28): warning C4251: 'c10::Error::msg_stack_': class 'std::vector>' needs to have dll-interface to be used by clients of class 'c10::Error'
with
[
_Ty=std::string
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/Exception.h(28): note: see declaration of 'std::vector>'
with
[
_Ty=std::string
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/Exception.h(29): warning C4251: 'c10::Error::backtrace_': class 'std::basic_string,std::allocator>' needs to have dll-interface to be used by clients of class 'c10::Error'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xstring(2633): note: see declaration of 'std::basic_string,std::allocator>'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/Exception.h(34): warning C4251: 'c10::Error::msg_': class 'std::basic_string,std::allocator>' needs to have dll-interface to be used by clients of class 'c10::Error'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xstring(2633): note: see declaration of 'std::basic_string,std::allocator>'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/Exception.h(35): warning C4251: 'c10::Error::msg_without_backtrace_': class 'std::basic_string,std::allocator>' needs to have dll-interface to be used by clients of class 'c10::Error'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xstring(2633): note: see declaration of 'std::basic_string,std::allocator>'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/core/Allocator.h(126): warning C4251: 'c10::InefficientStdFunctionContext::ptr_': class 'std::unique_ptr C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/core/Allocator.h(126): note: see declaration of 'std::unique_ptr C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/core/TensorTypeIdRegistration.h(32): warning C4251: 'c10::TensorTypeIdCreator::last_id_': struct 'std::atomic' needs to have dll-interface to be used by clients of class 'c10::TensorTypeIdCreator'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xxatomic(180): note: see declaration of 'std::atomic'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/core/TensorTypeIdRegistration.h(45): warning C4251: 'c10::TensorTypeIdRegistry::registeredTypeIds_': class 'std::unordered_set,std::equal_to<_Kty>,std::allocator<_Kty>>' needs to have dll-interface to be used by clients of class 'c10::TensorTypeIdRegistry'
with
[
_Kty=c10::TensorTypeId
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/core/TensorTypeIdRegistration.h(45): note: see declaration of 'std::unordered_set,std::equal_to<_Kty>,std::allocator<_Kty>>'
with
[
_Kty=c10::TensorTypeId
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/core/TensorTypeIdRegistration.h(46): warning C4251: 'c10::TensorTypeIdRegistry::mutex_': class 'std::mutex' needs to have dll-interface to be used by clients of class 'c10::TensorTypeIdRegistry'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\mutex(78): note: see declaration of 'std::mutex'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/Half-inl.h(168): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/Half-inl.h(171): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/Half-inl.h(174): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/Half-inl.h(177): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/Half-inl.h(181): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/Half-inl.h(184): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/Half-inl.h(187): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/Half-inl.h(190): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/Half-inl.h(196): warning C4244: 'argument': conversion from 'int64_t' to 'float', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/Half-inl.h(199): warning C4244: 'argument': conversion from 'int64_t' to 'float', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/Half-inl.h(202): warning C4244: 'argument': conversion from 'int64_t' to 'float', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/Half-inl.h(205): warning C4244: 'argument': conversion from 'int64_t' to 'float', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/Half-inl.h(209): warning C4244: 'argument': conversion from 'int64_t' to 'float', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/Half-inl.h(212): warning C4244: 'argument': conversion from 'int64_t' to 'float', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/Half-inl.h(215): warning C4244: 'argument': conversion from 'int64_t' to 'float', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/Half-inl.h(218): warning C4244: 'argument': conversion from 'int64_t' to 'float', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/typeid.h(433): warning C4068: unknown pragma
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/typeid.h(434): warning C4068: unknown pragma
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/typeid.h(435): warning C4068: unknown pragma
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/typeid.h(436): warning C4068: unknown pragma
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/typeid.h(438): warning C4068: unknown pragma
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(58): warning C4251: 'c10::intrusive_ptr_target::refcount_': struct 'std::atomic' needs to have dll-interface to be used by clients of class 'c10::intrusive_ptr_target'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xxatomic(180): note: see declaration of 'std::atomic'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(59): warning C4251: 'c10::intrusive_ptr_target::weakcount_': struct 'std::atomic' needs to have dll-interface to be used by clients of class 'c10::intrusive_ptr_target'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xxatomic(180): note: see declaration of 'std::atomic'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(75): warning C4068: unknown pragma
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(76): warning C4068: unknown pragma
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(77): warning C4068: unknown pragma
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(78): warning C4068: unknown pragma
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(79): warning C4068: unknown pragma
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(86): warning C4068: unknown pragma
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(80): warning C4297: 'c10::intrusive_ptr_target::~intrusive_ptr_target': function assumed not to throw an exception but does
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(80): note: destructor or deallocator has a (possibly implicit) non-throwing exception specification
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(83): warning C4297: 'c10::intrusive_ptr_target::~intrusive_ptr_target': function assumed not to throw an exception but does
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(83): note: destructor or deallocator has a (possibly implicit) non-throwing exception specification
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(699): warning C4267: 'return': conversion from 'size_t' to 'uint32_t', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(733): warning C4267: 'return': conversion from 'size_t' to 'uint32_t', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/core/StorageImpl.h(215): warning C4251: 'c10::StorageImpl::data_ptr_': class 'c10::DataPtr' needs to have dll-interface to be used by clients of struct 'c10::StorageImpl'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/core/Allocator.h(19): note: see declaration of 'c10::DataPtr'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/core/Storage.h(184): warning C4251: 'c10::Storage::storage_impl_': class 'c10::intrusive_ptr>' needs to have dll-interface to be used by clients of struct 'c10::Storage'
with
[
TTarget=c10::StorageImpl
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/core/Storage.h(10): note: see declaration of 'c10::intrusive_ptr>'
with
[
TTarget=c10::StorageImpl
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/logging_is_not_google_glog.h(47): warning C4251: 'c10::MessageLogger::stream_': class 'std::basic_stringstream,std::allocator>' needs to have dll-interface to be used by clients of class 'c10::MessageLogger'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\iosfwd(687): note: see declaration of 'std::basic_stringstream,std::allocator>'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/TensorImpl.h(115): warning C4251: 'at::PlacementDeleteContext::data_ptr_': class 'c10::DataPtr' needs to have dll-interface to be used by clients of struct 'at::PlacementDeleteContext'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/core/Allocator.h(19): note: see declaration of 'c10::DataPtr'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/TensorImpl.h(1434): warning C4251: 'at::TensorImpl::sizes_': class 'c10::SmallVector' needs to have dll-interface to be used by clients of struct 'at::TensorImpl'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/TensorImpl.h(1434): note: see declaration of 'c10::SmallVector'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/TensorImpl.h(1435): warning C4251: 'at::TensorImpl::strides_': class 'c10::SmallVector' needs to have dll-interface to be used by clients of struct 'at::TensorImpl'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/TensorImpl.h(1434): note: see declaration of 'c10::SmallVector'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/TensorImpl.h(454): warning C4244: 'argument': conversion from 'int64_t' to 'c10::DeviceIndex', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/TensorImpl.h(1006): warning C4244: 'argument': conversion from 'float' to 'const std::size_t', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/TensorImpl.h(1382): warning C4244: 'initializing': conversion from 'int64_t' to 'int', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/LegacyTypeDispatch.h(138): warning C4251: 'at::LegacyTypeDispatch::type_registry': class 'std::unique_ptr' needs to have dll-interface to be used by clients of class 'at::LegacyTypeDispatch'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/LegacyTypeDispatch.h(51): note: see declaration of 'std::unique_ptr'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Tensor.h(692): warning C4251: 'at::Tensor::impl_': class 'c10::intrusive_ptr' needs to have dll-interface to be used by clients of class 'at::Tensor'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Tensor.h(44): note: see declaration of 'c10::intrusive_ptr'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Tensor.h(693): warning C4522: 'at::Tensor': multiple assignment operators specified
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Tensor.h(720): warning C4251: 'at::WeakTensor::weak_impl_': class 'c10::weak_intrusive_ptr' needs to have dll-interface to be used by clients of struct 'at::WeakTensor'
with
[
TTarget=at::TensorImpl,
NullType=at::UndefinedTensorImpl
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(163): note: see declaration of 'c10::weak_intrusive_ptr'
with
[
TTarget=at::TensorImpl,
NullType=at::UndefinedTensorImpl
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/LegacyTHDispatch.h(86): warning C4251: 'at::LegacyTHDispatch::dispatcher_registry': class 'std::unique_ptr' needs to have dll-interface to be used by clients of class 'at::LegacyTHDispatch'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/LegacyTHDispatch.h(61): note: see declaration of 'std::unique_ptr'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/Context.h(128): warning C4251: 'at::Context::generator_registry': class 'std::unique_ptr>' needs to have dll-interface to be used by clients of class 'at::Context'
with
[
_Ty=at::Generator
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(104): note: see declaration of 'std::unique_ptr>'
with
[
_Ty=at::Generator
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/Context.h(145): warning C4251: 'at::Context::thc_init': struct 'std::once_flag' needs to have dll-interface to be used by clients of class 'at::Context'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\mutex(452): note: see declaration of 'std::once_flag'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/Context.h(146): warning C4251: 'at::Context::thh_init': struct 'std::once_flag' needs to have dll-interface to be used by clients of class 'at::Context'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\mutex(452): note: see declaration of 'std::once_flag'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/Context.h(147): warning C4251: 'at::Context::complex_init_': struct 'std::once_flag' needs to have dll-interface to be used by clients of class 'at::Context'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\mutex(452): note: see declaration of 'std::once_flag'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/Context.h(151): warning C4251: 'at::Context::next_id': struct 'std::atomic' needs to have dll-interface to be used by clients of class 'at::Context'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xxatomic(180): note: see declaration of 'std::atomic'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/Context.h(152): warning C4251: 'at::Context::thc_state': class 'std::unique_ptr C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/detail/CUDAHooksInterface.h(57): note: see declaration of 'std::unique_ptr C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/Context.h(153): warning C4251: 'at::Context::thh_state': class 'std::unique_ptr C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/detail/HIPHooksInterface.h(33): note: see declaration of 'std::unique_ptr C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/Context.h(161): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdlib.h(1183): note: see declaration of 'getenv'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/Context.h(164): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdlib.h(1183): note: see declaration of 'getenv'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/Stream.h(102): warning C4244: 'argument': conversion from 'unsigned __int64' to 'c10::DeviceIndex', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/Stream.h(102): warning C4244: 'argument': conversion from 'unsigned __int64' to 'c10::StreamId', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/TensorGeometry.h(56): warning C4251: 'at::TensorGeometry::sizes_': class 'std::vector>' needs to have dll-interface to be used by clients of struct 'at::TensorGeometry'
with
[
_Ty=int64_t
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/typeid.h(580): note: see declaration of 'std::vector>'
with
[
_Ty=int64_t
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/TensorGeometry.h(57): warning C4251: 'at::TensorGeometry::strides_': class 'std::vector>' needs to have dll-interface to be used by clients of struct 'at::TensorGeometry'
with
[
_Ty=int64_t
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/typeid.h(580): note: see declaration of 'std::vector>'
with
[
_Ty=int64_t
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/autograd/variable.h(351): warning C4251: 'torch::autograd::Variable::Impl::name': class 'std::basic_string,std::allocator>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Variable::Impl'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xstring(2633): note: see declaration of 'std::basic_string,std::allocator>'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/autograd/variable.h(355): warning C4251: 'torch::autograd::Variable::Impl::grad_fn_': class 'std::shared_ptr' needs to have dll-interface to be used by clients of struct 'torch::autograd::Variable::Impl'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/autograd/edge.h(17): note: see declaration of 'std::shared_ptr'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/autograd/variable.h(356): warning C4251: 'torch::autograd::Variable::Impl::grad_accumulator_': class 'std::weak_ptr' needs to have dll-interface to be used by clients of struct 'torch::autograd::Variable::Impl'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/autograd/variable.h(153): note: see declaration of 'std::weak_ptr'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/autograd/variable.h(358): warning C4251: 'torch::autograd::Variable::Impl::version_counter_': struct 'torch::autograd::VariableVersion' needs to have dll-interface to be used by clients of struct 'torch::autograd::Variable::Impl'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/autograd/variable_version.h(19): note: see declaration of 'torch::autograd::VariableVersion'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/autograd/variable.h(359): warning C4251: 'torch::autograd::Variable::Impl::hooks_': class 'std::vector,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Variable::Impl'
with
[
_Ty=std::shared_ptr
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/autograd/variable.h(245): note: see declaration of 'std::vector,std::allocator<_Ty>>'
with
[
_Ty=std::shared_ptr
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/autograd/variable.h(376): warning C4251: 'torch::autograd::Variable::Impl::mutex_': class 'std::mutex' needs to have dll-interface to be used by clients of struct 'torch::autograd::Variable::Impl'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\mutex(78): note: see declaration of 'std::mutex'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/thread_pool.h(51): warning C4251: 'c10::ThreadPool::tasks_': class 'std::queue>>' needs to have dll-interface to be used by clients of class 'c10::ThreadPool'
with
[
_Ty=c10::ThreadPool::task_element_t
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/thread_pool.h(51): note: see declaration of 'std::queue>>'
with
[
_Ty=c10::ThreadPool::task_element_t
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/thread_pool.h(52): warning C4251: 'c10::ThreadPool::threads_': class 'std::vector>' needs to have dll-interface to be used by clients of class 'c10::ThreadPool'
with
[
_Ty=std::thread
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/thread_pool.h(52): note: see declaration of 'std::vector>'
with
[
_Ty=std::thread
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/thread_pool.h(53): warning C4251: 'c10::ThreadPool::mutex_': class 'std::mutex' needs to have dll-interface to be used by clients of class 'c10::ThreadPool'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\mutex(78): note: see declaration of 'std::mutex'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/thread_pool.h(54): warning C4251: 'c10::ThreadPool::condition_': class 'std::condition_variable' needs to have dll-interface to be used by clients of class 'c10::ThreadPool'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\mutex(536): note: see declaration of 'std::condition_variable'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/thread_pool.h(55): warning C4251: 'c10::ThreadPool::completed_': class 'std::condition_variable' needs to have dll-interface to be used by clients of class 'c10::ThreadPool'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\mutex(536): note: see declaration of 'std::condition_variable'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(24): warning C4251: 'c10::ivalue::ConstantString::str_': class 'std::basic_string,std::allocator>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::ConstantString'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xstring(2633): note: see declaration of 'std::basic_string,std::allocator>'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(43): warning C4251: 'c10::ivalue::List::elements_': class 'std::vector>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::List'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/ArrayRef.h(214): note: see declaration of 'std::vector>'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(65): note: see reference to class template instantiation 'c10::ivalue::List' being compiled
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(43): warning C4251: 'c10::ivalue::List::elements_': class 'std::vector>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::List'
with
[
Elem=c10::IValue,
_Ty=c10::IValue
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(43): note: see declaration of 'std::vector>'
with
[
Elem=c10::IValue,
_Ty=c10::IValue
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(69): note: see reference to class template instantiation 'c10::ivalue::List' being compiled
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(570): warning C4251: 'c10::ivalue::Future::mutex_': class 'std::mutex' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\mutex(78): note: see declaration of 'std::mutex'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(572): warning C4251: 'c10::ivalue::Future::completed_': struct 'std::atomic' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xxatomic(180): note: see declaration of 'std::atomic'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(573): warning C4251: 'c10::ivalue::Future::callbacks': class 'std::vector>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future'
with
[
_Ty=std::function ]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(573): note: see declaration of 'std::vector>'
with
[
_Ty=std::function ]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(43): warning C4251: 'c10::ivalue::List::elements_': class 'std::vector>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::List'
with
[
_Ty=int64_t
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/typeid.h(580): note: see declaration of 'std::vector>'
with
[
_Ty=int64_t
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(622): note: see reference to class template instantiation 'c10::ivalue::List' being compiled
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(43): warning C4251: 'c10::ivalue::List::elements_': class 'std::vector>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::List'
with
[
T=double,
_Ty=double
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/ArrayRef.h(214): note: see declaration of 'std::vector>'
with
[
T=double,
_Ty=double
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(636): note: see reference to class template instantiation 'c10::ivalue::List' being compiled
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(43): warning C4251: 'c10::ivalue::List::elements_': class 'std::vector>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::List'
with
[
_Ty=bool
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(296): note: see declaration of 'std::vector>'
with
[
_Ty=bool
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(643): note: see reference to class template instantiation 'c10::ivalue::List' being compiled
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(43): warning C4251: 'c10::ivalue::List::elements_': class 'std::vector>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::List'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(650): note: see reference to class template instantiation 'c10::ivalue::List' being compiled
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/scope.h(24): warning C4251: 'torch::jit::Scope::parent_': class 'c10::intrusive_ptr>' needs to have dll-interface to be used by clients of struct 'torch::jit::Scope'
with
[
TTarget=torch::jit::Scope
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/scope.h(20): note: see declaration of 'c10::intrusive_ptr>'
with
[
TTarget=torch::jit::Scope
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/constants.h(16): warning C4275: non dll-interface class 'std::runtime_error' used as base for dll-interface struct 'torch::jit::constant_not_supported_error'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\stdexcept(156): note: see declaration of 'std::runtime_error'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/constants.h(16): note: see declaration of 'torch::jit::constant_not_supported_error'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(52): warning C4251: 'std::enable_shared_from_this::_Wptr': class 'std::weak_ptr<_Ty>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_this'
with
[
_Ty=c10::Type
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1161): note: see declaration of 'std::weak_ptr<_Ty>'
with
[
_Ty=c10::Type
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(213): warning C4251: 'c10::SingleElementType::elem': class 'std::shared_ptr' needs to have dll-interface to be used by clients of struct 'c10::SingleElementType'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(50): note: see declaration of 'std::shared_ptr'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(361): warning C4244: 'argument': conversion from 'int64_t' to 'int', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(476): warning C4251: 'c10::CompleteTensorType::sizes_': class 'std::vector>' needs to have dll-interface to be used by clients of struct 'c10::CompleteTensorType'
with
[
_Ty=int64_t
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/typeid.h(580): note: see declaration of 'std::vector>'
with
[
_Ty=int64_t
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(477): warning C4251: 'c10::CompleteTensorType::strides_': class 'std::vector>' needs to have dll-interface to be used by clients of struct 'c10::CompleteTensorType'
with
[
_Ty=int64_t
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/typeid.h(580): note: see declaration of 'std::vector>'
with
[
_Ty=int64_t
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(445): warning C4800: 'std::size_t': forcing value to bool 'true' or 'false' (performance warning)
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(463): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(482): warning C4251: 'c10::SingleElementType::elem': class 'std::shared_ptr' needs to have dll-interface to be used by clients of struct 'c10::SingleElementType'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(50): note: see declaration of 'std::shared_ptr'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(516): warning C4251: 'c10::SingleElementType::elem': class 'std::shared_ptr' needs to have dll-interface to be used by clients of struct 'c10::SingleElementType'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(50): note: see declaration of 'std::shared_ptr'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(622): warning C4251: 'c10::TupleType::elements_': class 'std::vector>' needs to have dll-interface to be used by clients of struct 'c10::TupleType'
with
[
_Ty=c10::TypePtr
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(148): note: see declaration of 'std::vector>'
with
[
_Ty=c10::TypePtr
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/tracing_state.h(29): warning C4251: 'std::enable_shared_from_this::_Wptr': class 'std::weak_ptr<_Ty>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_this'
with
[
_Ty=torch::jit::tracer::TracingState
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1161): note: see declaration of 'std::weak_ptr<_Ty>'
with
[
_Ty=torch::jit::tracer::TracingState
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/tracing_state.h(47): warning C4251: 'torch::jit::tracer::TracingState::value_map': class 'std::unordered_map>>' needs to have dll-interface to be used by clients of struct 'torch::jit::tracer::TracingState'
with
[
_Kty=torch::jit::tracer::TracingState::WeakTensor,
_Ty=torch::jit::Value *
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/tracing_state.h(47): note: see declaration of 'std::unordered_map>>'
with
[
_Kty=torch::jit::tracer::TracingState::WeakTensor,
_Ty=torch::jit::Value *
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/tracing_state.h(48): warning C4251: 'torch::jit::tracer::TracingState::graph': class 'std::shared_ptr' needs to have dll-interface to be used by clients of struct 'torch::jit::tracer::TracingState'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/tracing_state.h(48): note: see declaration of 'std::shared_ptr'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/tracing_state.h(52): warning C4251: 'torch::jit::tracer::TracingState::lookup_var_name_fn': class 'std::function C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/tracing_state.h(51): note: see declaration of 'std::function C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/tracing_state.h(145): warning C4251: 'torch::jit::tracer::NoWarn::state': class 'std::shared_ptr<_Ty>' needs to have dll-interface to be used by clients of struct 'torch::jit::tracer::NoWarn'
with
[
_Ty=torch::jit::tracer::TracingState
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1124): note: see declaration of 'std::shared_ptr<_Ty>'
with
[
_Ty=torch::jit::tracer::TracingState
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/serialize/input-archive.h(78): warning C4251: 'torch::serialize::InputArchive::module_': class 'std::shared_ptr' needs to have dll-interface to be used by clients of class 'torch::serialize::InputArchive'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/serialize/input-archive.h(78): note: see declaration of 'std::shared_ptr'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/serialize/output-archive.h(66): warning C4251: 'torch::serialize::OutputArchive::module_': class 'std::shared_ptr' needs to have dll-interface to be used by clients of class 'torch::serialize::OutputArchive'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/serialize/input-archive.h(78): note: see declaration of 'std::shared_ptr'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/script/lexer.h(384): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/script/lexer.h(458): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/interpreter.h(42): warning C4251: 'torch::jit::Code::pImpl': class 'std::shared_ptr' needs to have dll-interface to be used by clients of struct 'torch::jit::Code'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/interpreter.h(42): note: see declaration of 'std::shared_ptr'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/argument_spec.h(189): warning C4267: 'initializing': conversion from 'size_t' to 'int32_t', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/argument_spec.h(192): warning C4267: 'initializing': conversion from 'size_t' to 'int32_t', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/argument_spec.h(192): warning C4267: 'initializing': conversion from 'size_t' to 'const int32_t', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/argument_spec.h(196): warning C4244: '+=': conversion from 'int64_t' to 'int32_t', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/argument_spec.h(215): warning C4244: '+=': conversion from 'int64_t' to 'int32_t', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/argument_spec.h(276): warning C4800: 'const unsigned int': forcing value to bool 'true' or 'false' (performance warning)
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/argument_spec.h(367): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/graph_executor.h(41): warning C4251: 'torch::jit::GraphExecutor::pImpl': class 'std::shared_ptr' needs to have dll-interface to be used by clients of struct 'torch::jit::GraphExecutor'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/graph_executor.h(41): note: see declaration of 'std::shared_ptr'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/script/module.h(56): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(93): warning C4275: non dll-interface struct 'torch::jit::script::SugaredValue' used as base for dll-interface struct 'torch::jit::script::SimpleValue'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(35): note: see declaration of 'torch::jit::script::SugaredValue'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(93): note: see declaration of 'torch::jit::script::SimpleValue'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(122): warning C4275: non dll-interface struct 'torch::jit::script::SugaredValue' used as base for dll-interface struct 'torch::jit::script::BuiltinFunction'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(35): note: see declaration of 'torch::jit::script::SugaredValue'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(122): note: see declaration of 'torch::jit::script::BuiltinFunction'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(130): warning C4251: 'torch::jit::script::BuiltinFunction::self': class 'c10::optional' needs to have dll-interface to be used by clients of struct 'torch::jit::script::BuiltinFunction'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/script/module.h(479): note: see declaration of 'c10::optional'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(143): warning C4275: non dll-interface struct 'torch::jit::script::SugaredValue' used as base for dll-interface struct 'torch::jit::script::BuiltinModule'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(35): note: see declaration of 'torch::jit::script::SugaredValue'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(143): note: see declaration of 'torch::jit::script::BuiltinModule'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(157): warning C4251: 'torch::jit::script::BuiltinModule::name': class 'std::basic_string,std::allocator>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::BuiltinModule'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xstring(2633): note: see declaration of 'std::basic_string,std::allocator>'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(160): warning C4251: 'torch::jit::script::BuiltinModule::version': class 'c10::optional' needs to have dll-interface to be used by clients of struct 'torch::jit::script::BuiltinModule'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(145): note: see declaration of 'c10::optional'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(167): warning C4275: non dll-interface struct 'torch::jit::script::SugaredValue' used as base for dll-interface struct 'torch::jit::script::ForkValue'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(35): note: see declaration of 'torch::jit::script::SugaredValue'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(167): note: see declaration of 'torch::jit::script::ForkValue'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(173): warning C4275: non dll-interface struct 'torch::jit::script::SugaredValue' used as base for dll-interface struct 'torch::jit::script::AnnotateValue'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(35): note: see declaration of 'torch::jit::script::SugaredValue'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(173): note: see declaration of 'torch::jit::script::AnnotateValue'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/module.h(61): warning C4251: 'std::enable_shared_from_this::_Wptr': class 'std::weak_ptr<_Ty>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_this'
with
[
_Ty=torch::nn::Module
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1161): note: see declaration of 'std::weak_ptr<_Ty>'
with
[
_Ty=torch::nn::Module
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/module.h(483): warning C4251: 'torch::nn::Module::parameters_': class 'torch::OrderedDict' needs to have dll-interface to be used by clients of class 'torch::nn::Module'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/module.h(209): note: see declaration of 'torch::OrderedDict'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/module.h(486): warning C4251: 'torch::nn::Module::buffers_': class 'torch::OrderedDict' needs to have dll-interface to be used by clients of class 'torch::nn::Module'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/module.h(209): note: see declaration of 'torch::OrderedDict'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/module.h(489): warning C4251: 'torch::nn::Module::children_': class 'torch::OrderedDict>' needs to have dll-interface to be used by clients of class 'torch::nn::Module'
with
[
_Ty=torch::nn::Module
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/module.h(245): note: see declaration of 'torch::OrderedDict>'
with
[
_Ty=torch::nn::Module
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/module.h(492): warning C4251: 'torch::nn::Module::name_': class 'c10::optional' needs to have dll-interface to be used by clients of class 'torch::nn::Module'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/named_value.h(70): note: see declaration of 'c10::optional'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/pimpl.h(123): error C2872: 'std': ambiguous symbol
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/argument_spec.h(380): note: could be 'std'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/pimpl.h(123): note: or 'std'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/batchnorm.h(92): note: see reference to class template instantiation 'torch::nn::ModuleHolder' being compiled
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/stack.h(30): note: see reference to class template instantiation 'c10::ArrayRef' being compiled
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/pimpl.h(129): error C2872: 'std': ambiguous symbol
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch/csrc/jit/argument_spec.h(380): note: could be 'std'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/pimpl.h(129): note: or 'std'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/conv.h(106): warning C4251: 'torch::nn::ConvImpl<1,torch::nn::Conv1dImpl>::options': struct 'torch::nn::ConvOptions<1>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvImpl<1,torch::nn::Conv1dImpl>'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/conv.h(87): note: see declaration of 'torch::nn::ConvOptions<1>'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/conv.h(126): warning C4251: 'torch::nn::ConvImpl<2,torch::nn::Conv2dImpl>::options': struct 'torch::nn::ConvOptions<2>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvImpl<2,torch::nn::Conv2dImpl>'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/conv.h(87): note: see declaration of 'torch::nn::ConvOptions<2>'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/conv.h(146): warning C4251: 'torch::nn::ConvImpl<3,torch::nn::Conv3dImpl>::options': struct 'torch::nn::ConvOptions<3>' needs to have dll-interface to be used by clients of class 'torch::nn::ConvImpl<3,torch::nn::Conv3dImpl>'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/conv.h(87): note: see declaration of 'torch::nn::ConvOptions<3>'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/functional.h(89): warning C4251: 'torch::nn::FunctionalImpl::function_': class 'std::function C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/data/transforms/tensor.h(39): note: see declaration of 'std::function C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/rnn.h(174): warning C4251: 'torch::nn::detail::RNNImplBase::w_ih': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/rnn.h(174): warning C4251: 'torch::nn::detail::RNNImplBase::w_hh': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/rnn.h(174): warning C4251: 'torch::nn::detail::RNNImplBase::b_ih': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/rnn.h(174): warning C4251: 'torch::nn::detail::RNNImplBase::b_hh': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/rnn.h(174): warning C4251: 'torch::nn::detail::RNNImplBase::cudnn_mode_': class 'c10::optional::CuDNNMode>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/rnn.h(64): note: see declaration of 'c10::optional::CuDNNMode>'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/rnn.h(174): warning C4251: 'torch::nn::detail::RNNImplBase::flat_weights_': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/rnn.h(202): warning C4251: 'torch::nn::detail::RNNImplBase::w_ih': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/rnn.h(202): warning C4251: 'torch::nn::detail::RNNImplBase::w_hh': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/rnn.h(202): warning C4251: 'torch::nn::detail::RNNImplBase::b_ih': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/rnn.h(202): warning C4251: 'torch::nn::detail::RNNImplBase::b_hh': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/rnn.h(202): warning C4251: 'torch::nn::detail::RNNImplBase::cudnn_mode_': class 'c10::optional::CuDNNMode>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/rnn.h(64): note: see declaration of 'c10::optional::CuDNNMode>'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/rnn.h(202): warning C4251: 'torch::nn::detail::RNNImplBase::flat_weights_': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/rnn.h(228): warning C4251: 'torch::nn::detail::RNNImplBase::w_ih': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/rnn.h(228): warning C4251: 'torch::nn::detail::RNNImplBase::w_hh': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/rnn.h(228): warning C4251: 'torch::nn::detail::RNNImplBase::b_ih': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/rnn.h(228): warning C4251: 'torch::nn::detail::RNNImplBase::b_hh': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/rnn.h(228): warning C4251: 'torch::nn::detail::RNNImplBase::cudnn_mode_': class 'c10::optional::CuDNNMode>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/rnn.h(64): note: see declaration of 'c10::optional::CuDNNMode>'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/nn/modules/rnn.h(228): warning C4251: 'torch::nn::detail::RNNImplBase::flat_weights_': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBase'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/optimizer.h(80): warning C4251: 'torch::optim::detail::OptimizerBase::parameters_': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::optim::detail::OptimizerBase'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/adagrad.h(28): warning C4275: non dll-interface class 'torch::optim::Optimizer' used as base for dll-interface class 'torch::optim::Adagrad'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/optimizer.h(97): note: see declaration of 'torch::optim::Optimizer'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/adagrad.h(28): note: see declaration of 'torch::optim::Adagrad'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/adagrad.h(44): warning C4251: 'torch::optim::Adagrad::sum_buffers': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::optim::Adagrad'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/adagrad.h(45): warning C4251: 'torch::optim::Adagrad::step_buffers': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::optim::Adagrad'
with
[
_Ty=int64_t
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/typeid.h(580): note: see declaration of 'std::vector>'
with
[
_Ty=int64_t
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/adam.h(31): warning C4275: non dll-interface class 'torch::optim::Optimizer' used as base for dll-interface class 'torch::optim::Adam'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/optimizer.h(97): note: see declaration of 'torch::optim::Optimizer'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/adam.h(31): note: see declaration of 'torch::optim::Adam'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/adam.h(45): warning C4251: 'torch::optim::Adam::step_buffers': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam'
with
[
_Ty=int64_t
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\c10/util/typeid.h(580): note: see declaration of 'std::vector>'
with
[
_Ty=int64_t
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/adam.h(46): warning C4251: 'torch::optim::Adam::exp_average_buffers': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/adam.h(47): warning C4251: 'torch::optim::Adam::exp_average_sq_buffers': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/adam.h(48): warning C4251: 'torch::optim::Adam::max_exp_average_sq_buffers': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/lbfgs.h(22): warning C4305: 'initializing': truncation from 'double' to 'float'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/lbfgs.h(23): warning C4305: 'initializing': truncation from 'double' to 'float'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/lbfgs.h(27): warning C4275: non dll-interface class 'torch::optim::LossClosureOptimizer' used as base for dll-interface class 'torch::optim::LBFGS'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/optimizer.h(107): note: see declaration of 'torch::optim::LossClosureOptimizer'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/lbfgs.h(27): note: see declaration of 'torch::optim::LBFGS'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/lbfgs.h(48): warning C4251: 'torch::optim::LBFGS::ro': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/lbfgs.h(49): warning C4251: 'torch::optim::LBFGS::al': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/lbfgs.h(50): warning C4251: 'torch::optim::LBFGS::old_dirs': class 'std::deque>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/lbfgs.h(50): note: see declaration of 'std::deque>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/lbfgs.h(51): warning C4251: 'torch::optim::LBFGS::old_stps': class 'std::deque>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/lbfgs.h(50): note: see declaration of 'std::deque>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/rmsprop.h(34): warning C4275: non dll-interface class 'torch::optim::Optimizer' used as base for dll-interface class 'torch::optim::RMSprop'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/optimizer.h(97): note: see declaration of 'torch::optim::Optimizer'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/rmsprop.h(34): note: see declaration of 'torch::optim::RMSprop'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/rmsprop.h(50): warning C4251: 'torch::optim::RMSprop::square_average_buffers': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::optim::RMSprop'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/rmsprop.h(51): warning C4251: 'torch::optim::RMSprop::momentum_buffers': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::optim::RMSprop'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/rmsprop.h(52): warning C4251: 'torch::optim::RMSprop::grad_average_buffers': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::optim::RMSprop'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/sgd.h(31): warning C4275: non dll-interface class 'torch::optim::Optimizer' used as base for dll-interface class 'torch::optim::SGD'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/optimizer.h(97): note: see declaration of 'torch::optim::Optimizer'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/sgd.h(31): note: see declaration of 'torch::optim::SGD'
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\torch\csrcapi\include\torch/optim/sgd.h(45): warning C4251: 'torch::optim::SGD::momentum_buffers': class 'std::vector>' needs to have dll-interface to be used by clients of class 'torch::optim::SGD'
with
[
_Ty=at::Tensor
]
C:\ProgramData\Anaconda3\envs\python36\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector>'
with
[
_Ty=at::Tensor
]
error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2

I have the same bug when run setup.py as freesunshine's bug report.

win10+anaconda+py3.6+pytorch1.0_stable+cuda9.0+cudnn7

@Maosef and all: I unfortunately don't have a Windows machine to try out and see what the problems are.

But from @Maosef first question, the solution might be easy:
The errors seems to come from this line and this line.
A quick workaround:

  • define a function ceil_div which is
int ceil_div(int a, int b):
    return (a + b - 1) / b;
  • replace the long with int
dim3 grid(std::min(ceil_div((int)grad.numel(), 512), 4096));

@Maosef
Could you tell me how can you rebuild it? I have installed the vs2017 completely. And setting the environment path as https://github.com/pytorch/pytorch

@BG2CRW I had accidentally rebuilt it in WSL, which works but doesn't use GPU. Back to here!

@fmassa I'm not sure how to use your code. Just putting it in the file you mentioned (ROIAlign.cu) just results in more errors, since ceil_div isn't defined. It looks like python syntax; am I supposed to put it somewhere else?

@Maosef my snippet was indeed pseudo-code that was a mixture of python and c :-D
The idea is to replace the THCCeilDiv occurences by the function I sent, and make it use int instead of long in the call sites. I'm not sure this will be all to fix the Windows problems, but that's what I would try first.

@fmassa Thanks for the clarification. After adding the changes to this file (and ROIPool_cuda.cu, same things), I got this new error:

C:\Program Files (x86)\Microsoft Visual Studio2017\Community\VC\Tools\MSVC\14.16.27023bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Users\pazzu\Anaconda3\envs\maskrcnn_benchmark\lib\site-packages\torch\lib "/LIBPATH:C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA\v10.0\lib/x64" /LIBPATH:C:\Users\pazzu\Anaconda3\envs\maskrcnn_benchmark\libs /LIBPATH:C:\Users\pazzu\Anaconda3\envs\maskrcnn_benchmark\PCbuildamd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio2017\Community\VC\Tools\MSVC\14.16.27023\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x64" cudart.lib c10.lib caffe2.lib torch.lib torch_python.lib caffe2_gpu.lib _C.lib /EXPORT:PyInit__C build\temp.win-amd64-3.7\Release\Users\pazzu\Documents\Github\maskrcnn-benchmark\maskrcnn_benchmark\csrc\vision.obj build\temp.win-amd64-3.7\Release\Users\pazzu\Documents\Github\maskrcnn-benchmark\maskrcnn_benchmark\csrc\cpunms_cpu.obj build\temp.win-amd64-3.7\Release\Users\pazzu\Documents\Github\maskrcnn-benchmark\maskrcnn_benchmark\csrc\cpu\ROIAlign_cpu.obj build\temp.win-amd64-3.7\Release\Users\pazzu\Documents\Github\maskrcnn-benchmark\maskrcnn_benchmark\csrc\cudanms.obj build\temp.win-amd64-3.7\Release\Users\pazzu\Documents\Github\maskrcnn-benchmark\maskrcnn_benchmark\csrc\cuda\ROIAlign_cuda.obj build\temp.win-amd64-3.7\Release\Users\pazzu\Documents\Github\maskrcnn-benchmark\maskrcnn_benchmark\csrc\cuda\ROIPool_cuda.obj /OUT:build\lib.win-amd64-3.7\maskrcnn_benchmark_C.cp37-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.7\Release\Users\pazzu\Documents\Github\maskrcnn-benchmark\maskrcnn_benchmark\csrc_C.cp37-win_amd64.lib
ROIPool_cuda.obj : error LNK2005: "int __cdecl ceil_div(int,int)" (?ceil_div@@YAHHH@Z) already defined in ROIAlign_cuda.obj
Creating library build\temp.win-amd64-3.7\Release\Users\pazzu\Documents\Github\maskrcnn-benchmark\maskrcnn_benchmark\csrc_C.cp37-win_amd64.lib and object build\temp.win-amd64-3.7\Release\Users\pazzu\Documents\Github\maskrcnn-benchmark\maskrcnn_benchmark\csrc_C.cp37-win_amd64.exp
build\lib.win-amd64-3.7\maskrcnn_benchmark_C.cp37-win_amd64.pyd : fatal error LNK1169: one or more multiply defined symbols found
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\link.exe' failed with exit status 1169

the error happened because of double definition of the same function.

You can solve this issue by renaming ceil_div in ROIPool with ceil_div_2

Looks like the build worked, but another error resulted from develop.

Generating code
Finished generating code
running develop
running egg_info
writing maskrcnn_benchmark.egg-info\PKG-INFO
writing dependency_links to maskrcnn_benchmark.egg-info\dependency_links.txt
writing top-level names to maskrcnn_benchmark.egg-info\top_level.txt
reading manifest file 'maskrcnn_benchmark.egg-info\SOURCES.txt'
Traceback (most recent call last):
File "setup.py", line 68, in
cmdclass={"build_ext": torch.utils.cpp_extension.BuildExtension},
File "C:\Users\pazzu\Anaconda3\envs\maskrcnn_benchmark\lib\site-packages\setuptools__init__.py", line 143, in setup
return distutils.core.setup(**attrs)
File "C:\Users\pazzu\Anaconda3\envs\maskrcnn_benchmark\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\pazzu\Anaconda3\envs\maskrcnn_benchmark\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Users\pazzu\Anaconda3\envs\maskrcnn_benchmark\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\pazzu\Anaconda3\envs\maskrcnn_benchmark\lib\site-packages\setuptools\commanddevelop.py", line 38, in run
self.install_for_development()
File "C:\Users\pazzu\Anaconda3\envs\maskrcnn_benchmark\lib\site-packages\setuptools\commanddevelop.py", line 134, in install_for_development
self.run_command('egg_info')
File "C:\Users\pazzu\Anaconda3\envs\maskrcnn_benchmark\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\pazzu\Anaconda3\envs\maskrcnn_benchmark\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\pazzu\Anaconda3\envs\maskrcnn_benchmark\lib\site-packages\setuptools\command\egg_info.py", line 296, in run
self.find_sources()
File "C:\Users\pazzu\Anaconda3\envs\maskrcnn_benchmark\lib\site-packages\setuptools\command\egg_info.py", line 303, in find_sources
mm.run()
File "C:\Users\pazzu\Anaconda3\envs\maskrcnn_benchmark\lib\site-packages\setuptools\command\egg_info.py", line 534, in run
self.add_defaults()
File "C:\Users\pazzu\Anaconda3\envs\maskrcnn_benchmark\lib\site-packages\setuptools\command\egg_info.py", line 577, in add_defaults
self.read_manifest()
File "C:\Users\pazzu\Anaconda3\envs\maskrcnn_benchmark\lib\site-packages\setuptools\command\sdist.py", line 199, in read_manifest
self.filelist.append(line)
File "C:\Users\pazzu\Anaconda3\envs\maskrcnn_benchmark\lib\site-packages\setuptools\command\egg_info.py", line 476, in append
path = convert_path(item)
File "C:\Users\pazzu\Anaconda3\envs\maskrcnn_benchmark\lib\distutils\util.py", line 110, in convert_path
raise ValueError("path '%s' cannot be absolute" % pathname)
ValueError: path '/mnt/c/Users/pazzu/Documents/Github/maskrcnn-benchmark/maskrcnn_benchmark/csrc/vision.cpp' cannot be absolute

It's weird how the path is the Unix path, rather than the Windows one. Looking into the docs, that's why the error was raised. Is there any way to edit the path without altering setuptools?

After deleting the build and egg-info files, then rebuilding, it works! Thank you!

@Maosef could you please send a PR with the fixes that you did so that it builds properly on Windows? It would be awesome and a great contribution!

Thanks!

Created!

@Maosef So,do you build it in WSL

@BG2CRW built in Anaconda prompt, provided you want GPU utilization.

@Maosef have you ever meet this problem?

nms.obj : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MT_StaticRelease”(vision.obj 中)
ROIAlign_cuda.obj : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MT_StaticRelease”(vision.obj 中)
ROIPool_cuda.obj : error LNK2038: 检测到“RuntimeLibrary”的不匹配项: 值“MD_DynamicRelease”不匹配值“MT_StaticRelease”(vision.obj 中)
正在创建库 build\temp.win-amd64-3.6\Release\pytorch_ws\maskrcnn-benchmark\maskrcnn_benchmark\csrc_C.cp36-win_amd64.lib 和对象 build\temp.win-amd64-3.6\Release\pytorch_ws\maskrcnn-benchmark\maskrcnn_benchmark\csrc_C.cp36-win_amd64.exp
LINK : warning LNK4098: 默认库“MSVCRT”与其他库的使用冲突;请使用 /NODEFAULTLIB:library
build\lib.win-amd64-3.6\maskrcnn_benchmark_C.cp36-win_amd64.pyd : fatal error LNK1319: 检测到 3 个不匹配项
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\link.exe' failed with exit status 1319

how could I deal with it?

@Maosef Could you tell me which version cl.exe you used and can you share me the install package.

@BG2CRW I haven't seen that issue before, sorry.

The path to my cl.exe is C:\Program Files (x86)\Microsoft Visual Studio2017\BuildTools\VC\Tools\MSVC\14.16.27023bin\Hostx64\x64

Did you install Desktop Development with C++?

@Maosef Yes, I have installed the vs2017 fully, The path to my cl.exe is C:\Program Files (x86)\Microsoft Visual Studio2017\Community\VC\Tools\MSVC\14.16.27023bin\Hostx64\x64, it is the same with you. My error was occurred in linking not compiling. It tell me I need to change the runtime library in VS IDE's props.
BUT, I dont't know how to change it in cmd.
I guess if I install your 'Desktop Development with C++' package, it will be repaired. So I want to get your install package.
And, I want to know, if you have configured somewhat environment path.

@freesunshine I got the same problem, did you solve it? Any suggestion?

@Darknesszlx, you can install the complete VS2017 and cuda10

@freesunshine I got the same problem, did you solve it? Any suggestion?

Still not.I will try VS2017.

@Darknesszlx, you can install the complete VS2017 and cuda10

Is Cuda10 necessary?

@Maosef @fmassa I have solve that problem.

in setup.py
We need to add
extra_compile_args = {"cxx": ['/MD']}
extra_link_args = ['/NODEFAULTLIB:LIBCMT.LIB']

and change the ext_modules as
ext_modules = [
extension(
"maskrcnn_benchmark._C",
sources,
include_dirs=include_dirs,
define_macros=define_macros,
extra_compile_args=extra_compile_args,
extra_link_args = extra_link_args
)
]

@BG2CRW I got the following error.

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DWITH_CUDA -IC:\Users\yuanp\OneDrive\\u684c\u9762\maskrcnn-benchmark-master\maskrcnn_benchmark\csrc -IC:\Users\yuanp\Anaconda3\lib\site-packages\torch\lib\include -IC:\Users\yuanp\Anaconda3\lib\site-packages\torch\lib\include\torch\csrc\api\include -IC:\Users\yuanp\Anaconda3\lib\site-packages\torch\lib\include\TH -IC:\Users\yuanp\Anaconda3\lib\site-packages\torch\lib\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" -IC:\Users\yuanp\Anaconda3\include -IC:\Users\yuanp\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" /EHsc /TpC:\Users\yuanp\OneDrive\\u684c\u9762\maskrcnn-benchmark-master\maskrcnn_benchmark\csrc\vision.cpp /Fobuild\temp.win-amd64-3.5\Release\Users\yuanp\OneDrive\\u684c\u9762\maskrcnn-benchmark-master\maskrcnn_benchmark\csrc\vision.obj /MD -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 Traceback (most recent call last): File "setup.py", line 82, in <module> cmdclass={"build_ext": torch.utils.cpp_extension.BuildExtension}, File "C:\Users\yuanp\Anaconda3\lib\site-packages\setuptools\__init__.py", line 140, in setup return distutils.core.setup(**attrs) File "C:\Users\yuanp\Anaconda3\lib\distutils\core.py", line 148, in setup dist.run_commands() File "C:\Users\yuanp\Anaconda3\lib\distutils\dist.py", line 955, in run_commands self.run_command(cmd) File "C:\Users\yuanp\Anaconda3\lib\distutils\dist.py", line 974, in run_command cmd_obj.run() File "C:\Users\yuanp\Anaconda3\lib\distutils\command\build.py", line 135, in run self.run_command(cmd_name) File "C:\Users\yuanp\Anaconda3\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\yuanp\Anaconda3\lib\distutils\dist.py", line 974, in run_command cmd_obj.run() File "C:\Users\yuanp\Anaconda3\lib\site-packages\setuptools\command\build_ext.py", line 78, in run _build_ext.run(self) File "C:\Users\yuanp\Anaconda3\lib\site-packages\Cython\Distutils\old_build_ext.py", line 186, in run _build_ext.build_ext.run(self) File "C:\Users\yuanp\Anaconda3\lib\distutils\command\build_ext.py", line 339, in run self.build_extensions() File "C:\Users\yuanp\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 343, in build_extensions build_ext.build_extensions(self) File "C:\Users\yuanp\Anaconda3\lib\site-packages\Cython\Distutils\old_build_ext.py", line 194, in build_extensions self.build_extension(ext) File "C:\Users\yuanp\Anaconda3\lib\site-packages\setuptools\command\build_ext.py", line 199, in build_extension _build_ext.build_extension(self, ext) File "C:\Users\yuanp\Anaconda3\lib\distutils\command\build_ext.py", line 533, in build_extension depends=ext.depends) File "C:\Users\yuanp\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 333, in win_wrap_compile extra_postargs, depends) File "C:\Users\yuanp\Anaconda3\lib\distutils\_msvccompiler.py", line 382, in compile self.spawn(args) File "C:\Users\yuanp\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 327, in spawn return original_spawn(cmd) File "C:\Users\yuanp\Anaconda3\lib\distutils\_msvccompiler.py", line 501, in spawn return super().spawn(cmd) File "C:\Users\yuanp\Anaconda3\lib\distutils\ccompiler.py", line 909, in spawn spawn(cmd, dry_run=self.dry_run) File "C:\Users\yuanp\Anaconda3\lib\distutils\spawn.py", line 38, in spawn _spawn_nt(cmd, search_path, dry_run=dry_run) File "C:\Users\yuanp\Anaconda3\lib\distutils\spawn.py", line 69, in _spawn_nt rc = os.spawnv(os.P_WAIT, executable, cmd) TypeError: spawnv() arg 2 must contain only strings

@freesunshine @Darknesszlx I got the same problem with Win10 + VS2017 + cuda9.0 , did you solve it?

@danpe1327 was the changes in your document enough to build on Windows?
If yes, I'll look into properly fixing the compilation errors that required that (workaround) change

Unfortunatly I still got errors after applying the solutions discussed here.

My setup: Windows 10, CUDA V10.0.130, cudNN 7.4.2, VS 2017 15.9.5 x64, PyTorch nightly (conda 1.0.0.dev20190108 py3.6_cuda100_cudnn7_0 [cuda100])

I have applied the Pull Request (#271) from @Maosef.
It did solve the compilation error with 'THCCeilDiv'.

After that I got the following compilation error:

C:\Program Files (x86)\Microsoft Visual Studio2017\Community\VC\Tools\MSVC\14.16.27023bin\HostX64\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /nodefaultlib:libucrt.lib ucrt.lib /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Users\kdo\AppData\Local\conda\conda\envs\maskrcnn_benchmark\lib\site-packages\torch\lib "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\lib/x64" /LIBPATH:C:\Users\kdo\AppData\Local\conda\conda\envs\maskrcnn_benchmark\libs /LIBPATH:C:\Users\kdo\AppData\Local\conda\conda\envs\maskrcnn_benchmark\PCbuildamd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio2017\Community\VC\Tools\MSVC\14.16.27023\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x64" cudart.lib c10.lib caffe2.lib torch.lib torch_python.lib caffe2_gpu.lib _C.lib /EXPORT:PyInit__C build\temp.win-amd64-3.6\Release\Users\kdo\Documents\python\pytorch\maskrcnn-benchmark\maskrcnn_benchmark\csrc\vision.obj build\temp.win-amd64-3.6\Release\Users\kdo\Documents\python\pytorch\maskrcnn-benchmark\maskrcnn_benchmark\csrc\cpunms_cpu.obj build\temp.win-amd64-3.6\Release\Users\kdo\Documents\python\pytorch\maskrcnn-benchmark\maskrcnn_benchmark\csrc\cpu\ROIAlign_cpu.obj build\temp.win-amd64-3.6\Release\Users\kdo\Documents\python\pytorch\maskrcnn-benchmark\maskrcnn_benchmark\csrc\cudanms.obj build\temp.win-amd64-3.6\Release\Users\kdo\Documents\python\pytorch\maskrcnn-benchmark\maskrcnn_benchmark\csrc\cuda\ROIAlign_cuda.obj build\temp.win-amd64-3.6\Release\Users\kdo\Documents\python\pytorch\maskrcnn-benchmark\maskrcnn_benchmark\csrc\cudaROIPool_cuda.obj /OUT:build\lib.win-amd64-3.6\maskrcnn_benchmark_C.cp36-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.6\Release\Users\kdo\Documents\python\pytorch\maskrcnn-benchmark\maskrcnn_benchmark\csrc_C.cp36-win_amd64.lib /NODEFAULTLIB:LIBCMT.LIB
Création de la bibliothèque build\temp.win-amd64-3.6\Release\Users\kdo\Documents\python\pytorch\maskrcnn-benchmark\maskrcnn_benchmark\csrc_C.cp36-win_amd64.lib et de l'objet build\temp.win-amd64-3.6\Release\Users\kdo\Documents\python\pytorch\maskrcnn-benchmark\maskrcnn_benchmark\csrc_C.cp36-win_amd64.exp

ROIAlign_cuda.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl c10::cuda::CUDAStream::operator struct CUstream_st *(void)const " (__imp_??BCUDAStream@cuda@c10@@QEBAPEAUCUstream_st@@XZ)
ROIPool_cuda.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl c10::cuda::CUDAStream::operator struct CUstream_st *(void)const " (__imp_??BCUDAStream@cuda@c10@@QEBAPEAUCUstream_st@@XZ)
ROIAlign_cuda.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class c10::cuda::CUDAStream __cdecl c10::cuda::getCurrentCUDAStream(short)" (__imp_?getCurrentCUDAStream@cuda@c10@@YA?AVCUDAStream@12@F@Z)
ROIPool_cuda.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) class c10::cuda::CUDAStream __cdecl c10::cuda::getCurrentCUDAStream(short)" (__imp_?getCurrentCUDAStream@cuda@c10@@YA?AVCUDAStream@12@F@Z)
build\lib.win-amd64-3.6\maskrcnn_benchmark_C.cp36-win_amd64.pyd : fatal error LNK1120: 2 Undefined Externals
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\link.exe' failed with exit status 1120

Do you have any idea about what could cause this error ?

@doikovski change setup.py like above

@doikovski And this repo has adapted to pytorch1.0 while it can't adapted pytorch nightly.

@BG2CRW Thanks for your propositions.
I got the same errors after making the changes in setup.py (on pytorch nightly).

Using pytorch 1.0 release instead of pytorch nightly (which was suggested in the installation guide) solved the problem !

Thank you !

@fmassa I completed the solutions, and it is enough to build on windows now.

Thanks for the help. I should investigate if the nightly is failing to compile on linux as well.

On my side, it seems that a type-cast into longs is actually sufficient to compile on Windows.

Cuda: 9.0
cudnn:7.1.4
Pytorch 1.0 release
anaconda3 + python 3.6

Also fails on Windows10 with error below:

"error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2"

Could somebody help?

Cuda: 9.0
cudnn:7.1.4
Pytorch 1.0 release
anaconda3 + python 3.6

Also fails on Windows10 with error below:

"error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2"

Could somebody help?

i have met the same issue,have you got any solution?

Cuda: 9.0
cudnn:7.1.4
Pytorch 1.0 release
anaconda3 + python 3.6
Also fails on Windows10 with error below:
"error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2"
Could somebody help?

Cuda: 9.0
cudnn:7.1.4
Pytorch 1.0 release
anaconda3 + python 3.6
Also fails on Windows10 with error below:
"error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2"
Could somebody help?

i have met the same issue,have you got any solution?

gave up trying pytorch on windows. I switched to Tensorflow

i switched to ubuntu. haha

------------------ Original ------------------
From: "Yuanpu Xie"notifications@github.com;
Date: Sat, Mar 16, 2019 04:48 AM
To: "facebookresearch/maskrcnn-benchmark"maskrcnn-benchmark@noreply.github.com;
Cc: "甘昊林"390820652@qq.com; "Comment"comment@noreply.github.com;
Subject: Re: [facebookresearch/maskrcnn-benchmark] python setup.py builddevelop fails on Windows 10 (#254)

Cuda: 9.0
cudnn:7.1.4
Pytorch 1.0 release
anaconda3 + python 3.6
Also fails on Windows10 with error below:
"error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2"
Could somebody help?

Cuda: 9.0
cudnn:7.1.4
Pytorch 1.0 release
anaconda3 + python 3.6
Also fails on Windows10 with error below:
"error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2"
Could somebody help?

i have met the same issue,have you got any solution?

gave up trying pytorch on windows. I switched to Tensorflow


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@freesunshine I met the same error. Have you solved this?

@BG2CRW Have you fixed the error "error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2", I met the same issue

@fmassa Do you have any idea about the error
"error: command C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2"

@BG2CRW @Maosef @fmassa I tried the edits in the logs above, no avail. Im using CUDA 10.1, Windows 10, VS 2019 (the 15,17 and 19 come in one package now), and am not quite sure how to make it pick the correct one. Im trying to build detectron2 via setup_py, and recieve the initial error mentioned:

_1 error detected in the compilation of "C:/Users/aesnj/AppData/Local/Temp/tmpxft_00007274_00000000-10_deform_conv_cuda.cpp1.ii".
error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc.exe' failed with exit status 1_

When opennig the tmp file referenced I see:

C:\Usersaesnj\AppData\Local\Temp\pip-req-build-1ys_emb3>call "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/bin/HostX64/x64/../../../../../../../VC/Auxiliary/Build/vcvars64.bat"


* Visual Studio 2019 Developer Command Prompt v16.3.1
*
Copyright (c) 2019 Microsoft Corporation


[vcvarsall.bat] Environment initialized for: 'x64'
upper nvcc reference in Log :

_C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1binnvcc.exe -c C:\projects\pytorch\pytorch\detectron2\detectron2\layers\csrc\deformable\deform_conv_cuda.cu -o build\temp.win-amd64-3.7\Release\projects\pytorch\pytorch\detectron2\detectron2\layers\csrc\deformable\deform_conv_cuda.obj -IC:\projects\pytorch\pytorch\detectron2\detectron2\layers\csrc -IC:\Usersaesnj\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include -IC:\Usersaesnj\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\torch\csrcapi\include -IC:\Usersaesnj\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\TH -IC:\Usersaesnj\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Usersaesnj\AppData\Local\Programs\Python\Python37\include -IC:\Usersaesnj\AppData\Local\Programs\Python\Python37\include "-IC:\Program Files (x86)\Microsoft Visual Studio2019\Community\VC\Tools\MSVC\14.23.28105\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio2019\Community\VC\Tools\MSVC\14.23.28105\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" "-IC:\Program Files (x86)\Microsoft Visual Studio2019\Community\VC\Tools\MSVC\14.23.28105\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio2019\Community\VC\Tools\MSVC\14.23.28105\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -Xcompiler /EHsc -Xcompiler /wd4819 -Xcompiler /MD -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -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_75,code=sm_75
deform_conv_cuda.cu_

after which (and prior to fatal error) I get alot of warnings:

_C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/Exception.h(29): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/Exception.h(30): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/Exception.h(35): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/Exception.h(36): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/core/Allocator.h(21): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/core/Allocator.h(183): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(458): warning: dllexport/dllimport conflict with "caffe2::TypeMeta::_typeMetaDataInstance [with T=caffe2::detail::_Uninitialized]"
(454): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(579): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=uint8_t]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(580): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=int8_t]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(581): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=int16_t]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(582): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=int]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(583): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=int64_t]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(584): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=c10::Half]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(585): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=float]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(586): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=double]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(587): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=c10::ComplexHalf]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(588): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::complex]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(589): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::complex]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(592): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::string]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(593): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=__nv_bool]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(594): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=uint16_t]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(595): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=char]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(596): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::unique_ptr>]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(597): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::unique_ptr, std::default_delete>>]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(598): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::vector>]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(599): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::vector>]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(600): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=std::vector>]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(601): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=__nv_bool *]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(602): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=char *]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(603): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=int *]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(623): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=caffe2::detail::_guard_long_unique]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(624): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=caffe2::detail::_guard_long_unique>>]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(629): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=float *]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(630): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=c10::Half *]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(631): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=c10::qint8]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(632): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=c10::quint8]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(633): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=c10::qint32]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(634): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=c10::BFloat16]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/typeid.h(635): warning: dllexport/dllimport conflict with "caffe2::TypeIdentifier::Get [with T=caffe2::_CaffeHighestPreallocatedTypeId]"
(83): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/intrusive_ptr.h(63): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/intrusive_ptr.h(64): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/core/Storage.h(182): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/core/TensorTypeSet.h(44): warning: integer conversion resulted in a change of sign

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/util/logging_is_not_google_glog.h(47): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/core/TensorImpl.h(202): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/core/TensorImpl.h(1575): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/core/TensorImpl.h(1578): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/core/TensorImpl.h(1600): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/core/TensorImpl.h(1601): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/core/TensorImpl.h(1626): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\c10/core/TensorImpl.h(1629): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/Generator.h(75): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/NamedTensor.h(53): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/TensorBody.h(999): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(370): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(603): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(604): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(607): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(619): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(734): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(783): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(855): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(857): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(1516): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(1517): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(1519): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(1523): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(1526): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/jit_type.h(1573): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(118): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(138): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(139): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(183): warning: base class dllexport/dllimport specification differs from that of the derived class

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(195): warning: base class dllexport/dllimport specification differs from that of the derived class

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(205): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(296): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(297): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(298): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(301): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(302): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(308): warning: base class dllexport/dllimport specification differs from that of the derived class

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(370): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(371): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ATenDispatch.h(120): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ATenDispatch.h(144): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/ATenDispatch.h(145): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/boxing/KernelFunction.h(375): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/boxing/KernelFunction.h(376): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/dispatch/Dispatcher.h(116): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/dispatch/Dispatcher.h(117): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/dispatch/Dispatcher.h(118): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/dispatch/Dispatcher.h(119): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/dispatch/Dispatcher.h(147): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/core/dispatch/Dispatcher.h(162): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/CPUGenerator.h(32): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/CPUGenerator.h(33): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/CPUGenerator.h(34): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/Context.h(124): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/Context.h(125): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/Context.h(130): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/Context.h(131): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/Context.h(132): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/TensorGeometry.h(56): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\ATen/TensorGeometry.h(57): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/variable.h(353): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/variable.h(356): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/variable.h(357): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/variable.h(359): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/variable.h(360): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/variable.h(376): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/tracer.h(49): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/tracer.h(52): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/tracer.h(85): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/tracer.h(181): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/tracer.h(307): warning: dllexport/dllimport conflict with "torch::jit::tracer::addInputs"
(295): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/tracer.h(311): warning: dllexport/dllimport conflict with "torch::jit::tracer::addInputs"
(301): here; dllexport assumed

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/attributes.h(87): warning: base class dllexport/dllimport specification differs from that of the derived class

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/attributes.h(101): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/attributes.h(104): warning: base class dllexport/dllimport specification differs from that of the derived class

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/attributes.h(118): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/scope.h(22): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/source_range.h(163): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/constants.h(20): warning: base class dllexport/dllimport specification differs from that of the derived class

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/operator.h(154): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/operator.h(158): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/operator.h(162): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/operator.h(164): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/operator.h(165): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/ir.h(245): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/ir.h(246): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/ir.h(248): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/ir.h(251): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/ir.h(252): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/ir.h(768): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/data/samplers/distributed.h(96): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/data/samplers/distributed.h(129): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/argument_spec.h(190): error: member "torch::jit::ArgumentSpecCreator::DEPTH_LIMIT" may not be initialized

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/argument_spec.h(198): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/interpreter.h(52): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/graph_executor.h(51): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/script/slot.h(57): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/function.h(108): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/function.h(110): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/function.h(115): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/function.h(123): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/function.h(130): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/function.h(135): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/script/compilation_unit.h(247): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/script/compilation_unit.h(249): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/script/compilation_unit.h(250): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/script/compilation_unit.h(257): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/script/module.h(102): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/script/module.h(455): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/script/module.h(494): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/script/module.h(553): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/jit/script/module.h(556): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/serialize/output-archive.h(74): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/module.h(554): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/module.h(557): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/module.h(560): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/module.h(563): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/container/functional.h(94): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/conv.h(35): warning: field of class type without a DLL interface used in a class with a DLL interface
detected during instantiation of class "torch::nn::ConvImpl [with D=1ULL, Derived=torch::nn::Conv1dImpl]"
(49): here

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/conv.h(35): warning: field of class type without a DLL interface used in a class with a DLL interface
detected during instantiation of class "torch::nn::ConvImpl [with D=2ULL, Derived=torch::nn::Conv2dImpl]"
(66): here

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/conv.h(35): warning: field of class type without a DLL interface used in a class with a DLL interface
detected during instantiation of class "torch::nn::ConvImpl [with D=3ULL, Derived=torch::nn::Conv3dImpl]"
(83): here

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/options/fold.h(20): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/options/fold.h(23): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/options/fold.h(27): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/options/fold.h(31): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/options/fold.h(34): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/pooling.h(27): warning: field of class type without a DLL interface used in a class with a DLL interface
detected during instantiation of class "torch::nn::AvgPoolImpl [with D=1ULL, Derived=torch::nn::AvgPool1dImpl]"
(35): here

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/pooling.h(27): warning: field of class type without a DLL interface used in a class with a DLL interface
detected during instantiation of class "torch::nn::AvgPoolImpl [with D=2ULL, Derived=torch::nn::AvgPool2dImpl]"
(52): here

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/pooling.h(27): warning: field of class type without a DLL interface used in a class with a DLL interface
detected during instantiation of class "torch::nn::AvgPoolImpl [with D=3ULL, Derived=torch::nn::AvgPool3dImpl]"
(69): here

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/pooling.h(97): warning: field of class type without a DLL interface used in a class with a DLL interface
detected during instantiation of class "torch::nn::MaxPoolImpl [with D=1ULL, Derived=torch::nn::MaxPool1dImpl]"
(105): here

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/pooling.h(97): warning: field of class type without a DLL interface used in a class with a DLL interface
detected during instantiation of class "torch::nn::MaxPoolImpl [with D=2ULL, Derived=torch::nn::MaxPool2dImpl]"
(126): here

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/pooling.h(97): warning: field of class type without a DLL interface used in a class with a DLL interface
detected during instantiation of class "torch::nn::MaxPoolImpl [with D=3ULL, Derived=torch::nn::MaxPool3dImpl]"
(147): here

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/pooling.h(179): warning: field of class type without a DLL interface used in a class with a DLL interface
detected during instantiation of class "torch::nn::AdaptiveMaxPoolImpl [with D=1ULL, Derived=torch::nn::AdaptiveMaxPool1dImpl]"
(188): here

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/pooling.h(179): warning: field of class type without a DLL interface used in a class with a DLL interface
detected during instantiation of class "torch::nn::AdaptiveMaxPoolImpl [with D=2ULL, Derived=torch::nn::AdaptiveMaxPool2dImpl]"
(211): here

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/pooling.h(179): warning: field of class type without a DLL interface used in a class with a DLL interface
detected during instantiation of class "torch::nn::AdaptiveMaxPoolImpl [with D=3ULL, Derived=torch::nn::AdaptiveMaxPool3dImpl]"
(234): here

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/rnn.h(71): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/rnn.h(73): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/rnn.h(75): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/rnn.h(77): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/rnn.h(113): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/rnn.h(110): warning: field of class type without a DLL interface used in a class with a DLL interface
detected during instantiation of class "torch::nn::detail::RNNImplBase [with Derived=torch::nn::RNNImpl]"
(122): here

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/rnn.h(110): warning: field of class type without a DLL interface used in a class with a DLL interface
detected during instantiation of class "torch::nn::detail::RNNImplBase [with Derived=torch::nn::LSTMImpl]"
(151): here

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/nn/modules/rnn.h(110): warning: field of class type without a DLL interface used in a class with a DLL interface
detected during instantiation of class "torch::nn::detail::RNNImplBase [with Derived=torch::nn::GRUImpl]"
(175): here

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/optimizer.h(83): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/adagrad.h(28): warning: base class dllexport/dllimport specification differs from that of the derived class

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/adagrad.h(44): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/adagrad.h(45): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/adam.h(31): warning: base class dllexport/dllimport specification differs from that of the derived class

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/adam.h(45): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/adam.h(46): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/adam.h(47): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/adam.h(48): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/lbfgs.h(27): warning: base class dllexport/dllimport specification differs from that of the derived class

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/lbfgs.h(48): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/lbfgs.h(49): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/lbfgs.h(50): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/lbfgs.h(51): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/rmsprop.h(34): warning: base class dllexport/dllimport specification differs from that of the derived class

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/rmsprop.h(50): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/rmsprop.h(51): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/rmsprop.h(52): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/sgd.h(31): warning: base class dllexport/dllimport specification differs from that of the derived class

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include/torch/csrc/api/include\torch/optim/sgd.h(46): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/record_function.h(25): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/record_function.h(90): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/profiler.h(97): warning: modifier is ignored on an enum specifier

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/profiler.h(112): warning: modifier is ignored on an enum specifier

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/profiler.h(169): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/profiler.h(245): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/saved_variable.h(46): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/saved_variable.h(49): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/saved_variable.h(50): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/function.h(353): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/function.h(355): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/function.h(356): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/function.h(357): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/function.h(358): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/custom_function.h(84): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/custom_function.h(105): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/custom_function.h(106): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/custom_function.h(107): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/custom_function.h(108): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/custom_function.h(113): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Users/aesnj/AppData/Local/Programs/Python/Python37/lib/site-packages/torch/include\torch/csrc/autograd/custom_function.h(129): warning: field of class type without a DLL interface used in a class with a DLL interface_

@fmassa Do you have any idea about the error
"error: command C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2"

Have you resolved this error?

can you tell me what version of visual studio you exploit? and please share your experience how to solve it step by step, please.

After deleting the build and egg-info files, then rebuilding, it works! Thank you!

I move this repo from Mac, and I got the same issue, delete Build and egg works for me, thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

adityaarun1 picture adityaarun1  ·  3Comments

krumo picture krumo  ·  3Comments

jbitton picture jbitton  ·  4Comments

nanyoullm picture nanyoullm  ·  3Comments

hadim picture hadim  ·  4Comments