Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python setup.py install --user error #26

Open
danielroth88 opened this issue May 21, 2020 · 4 comments
Open

python setup.py install --user error #26

danielroth88 opened this issue May 21, 2020 · 4 comments

Comments

@danielroth88
Copy link

I have GPU 1070 with CUDA 10.2 installed and pytorch 1.5.
I modified the setup.py file to only include sm=61 (my compute capability)
I get the followin error:
running install
running bdist_egg
running egg_info
writing resample2d_cuda.egg-info\PKG-INFO
writing dependency_links to resample2d_cuda.egg-info\dependency_links.txt
writing top-level names to resample2d_cuda.egg-info\top_level.txt
reading manifest file 'resample2d_cuda.egg-info\SOURCES.txt'
writing manifest file 'resample2d_cuda.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_ext
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\utils\cpp_extension.py:237: UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified
warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error))
building 'resample2d_cuda' extension
Emitting ninja build file C:\Users\daniel.roth\StructureFlow\resample2d_package\build\temp.win-amd64-3.6\Release\build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/2] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /EHsc -IC:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\include -IC:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\include\TH -IC:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\include -IC:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.22.27905\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.22.27905\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.7.2\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" -c C:\Users\daniel.roth\StructureFlow\resample2d_package\resample2d_cuda.cc /FoC:\Users\daniel.roth\StructureFlow\resample2d_package\build\temp.win-amd64-3.6\Release\resample2d_cuda.obj -std=c++13 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=resample2d_cuda -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
FAILED: C:/Users/daniel.roth/StructureFlow/resample2d_package/build/temp.win-amd64-3.6/Release/resample2d_cuda.obj
cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /EHsc -IC:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\include -IC:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\include\TH -IC:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\include -IC:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.22.27905\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.22.27905\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.7.2\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" -c C:\Users\daniel.roth\StructureFlow\resample2d_package\resample2d_cuda.cc /FoC:\Users\daniel.roth\StructureFlow\resample2d_package\build\temp.win-amd64-3.6\Release\resample2d_cuda.obj -std=c++13 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=resample2d_cuda -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
CreateProcess failed: The system cannot find the file specified.
ninja: fatal: ReadFile: The handle is invalid.

Traceback (most recent call last):
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\utils\cpp_extension.py", line 1400, in _run_ninja_build
check=True)
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "setup.py", line 28, in
'build_ext': BuildExtension
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\setuptools_init_.py", line 144, in setup
return distutils.core.setup(**attrs)
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\distutils\dist.py", line 955, in run_commands
self.run_command(cmd)
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\setuptools\command\install.py", line 67, in run
self.do_egg_install()
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\setuptools\command\install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\setuptools\command\bdist_egg.py", line 173, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\setuptools\command\bdist_egg.py", line 159, in call_command
self.run_command(cmdname)
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\setuptools\command\install_lib.py", line 11, in run
self.build()
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\distutils\command\install_lib.py", line 107, in build
self.run_command('build_ext')
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\setuptools\command\build_ext.py", line 87, in run
_build_ext.run(self)
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\distutils\command\build_ext.py", line 339, in run
self.build_extensions()
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\utils\cpp_extension.py", line 580, in build_extensions
build_ext.build_extensions(self)
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\distutils\command\build_ext.py", line 448, in build_extensions
self._build_extensions_serial()
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\distutils\command\build_ext.py", line 473, in _build_extensions_serial
self.build_extension(ext)
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\setuptools\command\build_ext.py", line 208, in build_extension
_build_ext.build_extension(self, ext)
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\distutils\command\build_ext.py", line 533, in build_extension
depends=ext.depends)
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\utils\cpp_extension.py", line 562, in win_wrap_ninja_compile
with_cuda=with_cuda)
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\utils\cpp_extension.py", line 1140, in _write_ninja_file_and_compile_objects
error_prefix='Error compiling objects for extension')
File "C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\utils\cpp_extension.py", line 1413, in _run_ninja_build
raise RuntimeError(message)
RuntimeError: Error compiling objects for extension

@RenYurui
Copy link
Owner

Hi!
we run our model with pytorch: 1.0.0. Please try to use this version.

@danielroth88
Copy link
Author

Hi! thanks for replying!
I odwngraded to pytorch 1.0.0, still no good - getting a different error now (maybe it has to do with C++ version?)
error:
running install
running bdist_egg
running egg_info
writing resample2d_cuda.egg-info\PKG-INFO
writing dependency_links to resample2d_cuda.egg-info\dependency_links.txt
writing top-level names to resample2d_cuda.egg-info\top_level.txt
reading manifest file 'resample2d_cuda.egg-info\SOURCES.txt'
writing manifest file 'resample2d_cuda.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_ext
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\utils\cpp_extension.py:184: UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified
warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error))
building 'resample2d_cuda' extension
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.22.27905\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include -IC:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include -IC:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\TH -IC:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -IC:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\include -IC:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.22.27905\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.22.27905\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.7.2\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" /EHsc /Tpresample2d_cuda.cc /Fobuild\temp.win-amd64-3.6\Release\resample2d_cuda.obj -std=c++11 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=resample2d_cuda -D_GLIBCXX_USE_CXX11_ABI=0
cl : Command line warning D9002 : ignoring unknown option '-std=c++11'
resample2d_cuda.cc
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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\2019\Professional\VC\Tools\MSVC\14.22.27905\include\vcruntime_exception.h(44): note: see declaration of 'std::exception'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/Exception.h(27): note: see declaration of 'c10::Error'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/Exception.h(28): warning C4251: 'c10::Error::msg_stack_': class 'std::vector<std::string,std::allocator<Ty>>' needs to have dll-interface to be used by clients of class 'c10::Error'
with
[
Ty=std::string
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/Exception.h(28): note: see declaration of 'std::vector<std::string,std::allocator<Ty>>'
with
[
Ty=std::string
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/Exception.h(29): warning C4251: 'c10::Error::backtrace
': class 'std::basic_string<char,std::char_traits,std::allocator>' needs to have dll-interface to be used by clients of class 'c10::Error'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.22.27905\include\xstring(4343): note: see declaration of 'std::basic_string<char,std::char_traits,std::allocator>'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/Exception.h(34): warning C4251: 'c10::Error::msg
': class 'std::basic_string<char,std::char_traits,std::allocator>' needs to have dll-interface to be used by clients of class 'c10::Error'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.22.27905\include\xstring(4343): note: see declaration of 'std::basic_string<char,std::char_traits,std::allocator>'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/Exception.h(35): warning C4251: 'c10::Error::msg_without_backtrace
': class 'std::basic_string<char,std::char_traits,std::allocator>' needs to have dll-interface to be used by clients of class 'c10::Error'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.22.27905\include\xstring(4343): note: see declaration of 'std::basic_string<char,std::char_traits,std::allocator>'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/core/Allocator.h(126): warning C4251: 'c10::InefficientStdFunctionContext::ptr': class 'std::unique_ptr<void,std::function<void (void *)>>' needs to have dll-interface to be used by clients of struct 'c10::InefficientStdFunctionContext'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/core/Allocator.h(126): note: see declaration of 'std::unique_ptr<void,std::function<void (void *)>>'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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\2019\Professional\VC\Tools\MSVC\14.22.27905\include\atomic(1887): note: see declaration of 'std::atomic'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/core/TensorTypeIdRegistration.h(45): warning C4251: 'c10::TensorTypeIdRegistry::registeredTypeIds_': class 'std::unordered_set<c10::TensorTypeId,std::hashc10::TensorTypeId,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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/core/TensorTypeIdRegistration.h(45): note: see declaration of 'std::unordered_set<c10::TensorTypeId,std::hashc10::TensorTypeId,std::equal_to<Kty>,std::allocator<Kty>>'
with
[
Kty=c10::TensorTypeId
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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\2019\Professional\VC\Tools\MSVC\14.22.27905\include\mutex(82): note: see declaration of 'std::mutex'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/Half-inl.h(168): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/Half-inl.h(171): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/Half-inl.h(174): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/Half-inl.h(177): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/Half-inl.h(181): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/Half-inl.h(184): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/Half-inl.h(187): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/Half-inl.h(190): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/typeid.h(433): warning C4068: unknown pragma
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/typeid.h(434): warning C4068: unknown pragma
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/typeid.h(435): warning C4068: unknown pragma
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/typeid.h(436): warning C4068: unknown pragma
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/typeid.h(438): warning C4068: unknown pragma
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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\2019\Professional\VC\Tools\MSVC\14.22.27905\include\atomic(1895): note: see declaration of 'std::atomic'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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\2019\Professional\VC\Tools\MSVC\14.22.27905\include\atomic(1895): note: see declaration of 'std::atomic'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(75): warning C4068: unknown pragma
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(76): warning C4068: unknown pragma
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(77): warning C4068: unknown pragma
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(78): warning C4068: unknown pragma
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(79): warning C4068: unknown pragma
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(86): warning C4068: unknown pragma
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/core/Allocator.h(19): note: see declaration of 'c10::DataPtr'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/core/Storage.h(184): warning C4251: 'c10::Storage::storage_impl': class 'c10::intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_type>' needs to have dll-interface to be used by clients of struct 'c10::Storage'
with
[
TTarget=c10::StorageImpl
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/core/Storage.h(10): note: see declaration of 'c10::intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_type>'
with
[
TTarget=c10::StorageImpl
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/logging_is_not_google_glog.h(47): warning C4251: 'c10::MessageLogger::stream': class 'std::basic_stringstream<char,std::char_traits,std::allocator>' needs to have dll-interface to be used by clients of class 'c10::MessageLogger'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.22.27905\include\iosfwd(221): note: see declaration of 'std::basic_stringstream<char,std::char_traits,std::allocator>'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/core/Allocator.h(19): note: see declaration of 'c10::DataPtr'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/TensorImpl.h(1434): warning C4251: 'at::TensorImpl::sizes_': class 'c10::SmallVector<int64_t,5>' needs to have dll-interface to be used by clients of struct 'at::TensorImpl'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/TensorImpl.h(1434): note: see declaration of 'c10::SmallVector<int64_t,5>'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/TensorImpl.h(1435): warning C4251: 'at::TensorImpl::strides_': class 'c10::SmallVector<int64_t,5>' needs to have dll-interface to be used by clients of struct 'at::TensorImpl'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/TensorImpl.h(1434): note: see declaration of 'c10::SmallVector<int64_t,5>'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/TensorImpl.h(1006): warning C4244: 'argument': conversion from 'float' to 'const Ty', possible loss of data
with
[
Ty=size_t
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/LegacyTypeDispatch.h(138): warning C4251: 'at::LegacyTypeDispatch::type_registry': class 'std::unique_ptrat::Type,at::LegacyTypeDeleter' needs to have dll-interface to be used by clients of class 'at::LegacyTypeDispatch'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/LegacyTypeDispatch.h(51): note: see declaration of 'std::unique_ptrat::Type,at::LegacyTypeDeleter'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Tensor.h(692): warning C4251: 'at::Tensor::impl
': class 'c10::intrusive_ptrat::TensorImpl,at::UndefinedTensorImpl' needs to have dll-interface to be used by clients of class 'at::Tensor'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Tensor.h(44): note: see declaration of 'c10::intrusive_ptrat::TensorImpl,at::UndefinedTensorImpl'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Tensor.h(693): warning C4522: 'at::Tensor': multiple assignment operators specified
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Tensor.h(720): warning C4251: 'at::WeakTensor::weak_impl
': class 'c10::weak_intrusive_ptr<TTarget,NullType>' needs to have dll-interface to be used by clients of struct 'at::WeakTensor'
with
[
TTarget=at::TensorImpl,
NullType=at::UndefinedTensorImpl
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(163): note: see declaration of 'c10::weak_intrusive_ptr<TTarget,NullType>'
with
[
TTarget=at::TensorImpl,
NullType=at::UndefinedTensorImpl
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/LegacyTHDispatch.h(86): warning C4251: 'at::LegacyTHDispatch::dispatcher_registry': class 'std::unique_ptrat::LegacyTHDispatcher,at::LegacyTHDispatcherDeleter' needs to have dll-interface to be used by clients of class 'at::LegacyTHDispatch'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/LegacyTHDispatch.h(61): note: see declaration of 'std::unique_ptrat::LegacyTHDispatcher,at::LegacyTHDispatcherDeleter'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/Context.h(128): warning C4251: 'at::Context::generator_registry': class 'std::unique_ptr<at::Generator,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'at::Context'
with
[
_Ty=at::Generator
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(104): note: see declaration of 'std::unique_ptr<at::Generator,std::default_delete<_Ty>>'
with
[
Ty=at::Generator
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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\2019\Professional\VC\Tools\MSVC\14.22.27905\include\xcall_once.h(18): note: see declaration of 'std::once_flag'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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\2019\Professional\VC\Tools\MSVC\14.22.27905\include\xcall_once.h(18): note: see declaration of 'std::once_flag'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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\2019\Professional\VC\Tools\MSVC\14.22.27905\include\xcall_once.h(18): note: see declaration of 'std::once_flag'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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\2019\Professional\VC\Tools\MSVC\14.22.27905\include\atomic(1895): note: see declaration of 'std::atomic'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/Context.h(152): warning C4251: 'at::Context::thc_state': class 'std::unique_ptr<THCState,void (__cdecl *)(THCState *)>' needs to have dll-interface to be used by clients of class 'at::Context'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/detail/CUDAHooksInterface.h(57): note: see declaration of 'std::unique_ptr<THCState,void (__cdecl *)(THCState *)>'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/Context.h(153): warning C4251: 'at::Context::thh_state': class 'std::unique_ptr<THHState,void (__cdecl *)(THHState *)>' needs to have dll-interface to be used by clients of class 'at::Context'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/detail/HIPHooksInterface.h(33): note: see declaration of 'std::unique_ptr<THHState,void (__cdecl *)(THHState *)>'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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.18362.0\ucrt\stdlib.h(1191): note: see declaration of 'getenv'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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.18362.0\ucrt\stdlib.h(1191): note: see declaration of 'getenv'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/TensorGeometry.h(56): warning C4251: 'at::TensorGeometry::sizes
': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'at::TensorGeometry'
with
[
_Ty=int64_t
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/typeid.h(580): note: see declaration of 'std::vector<int64_t,std::allocator<_Ty>>'
with
[
Ty=int64_t
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/TensorGeometry.h(57): warning C4251: 'at::TensorGeometry::strides
': class 'std::vector<int64_t,std::allocator<Ty>>' needs to have dll-interface to be used by clients of struct 'at::TensorGeometry'
with
[
Ty=int64_t
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/typeid.h(580): note: see declaration of 'std::vector<int64_t,std::allocator<Ty>>'
with
[
Ty=int64_t
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/autograd/variable.h(351): warning C4251: 'torch::autograd::Variable::Impl::name': class 'std::basic_string<char,std::char_traits,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\2019\Professional\VC\Tools\MSVC\14.22.27905\include\xstring(4343): note: see declaration of 'std::basic_string<char,std::char_traits,std::allocator>'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/autograd/variable.h(355): warning C4251: 'torch::autograd::Variable::Impl::grad_fn
': class 'std::shared_ptrtorch::autograd::Function' needs to have dll-interface to be used by clients of struct 'torch::autograd::Variable::Impl'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/autograd/edge.h(17): note: see declaration of 'std::shared_ptrtorch::autograd::Function'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/autograd/variable.h(356): warning C4251: 'torch::autograd::Variable::Impl::grad_accumulator
': class 'std::weak_ptrtorch::autograd::Function' needs to have dll-interface to be used by clients of struct 'torch::autograd::Variable::Impl'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/autograd/variable.h(153): note: see declaration of 'std::weak_ptrtorch::autograd::Function'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/autograd/variable_version.h(19): note: see declaration of 'torch::autograd::VariableVersion'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/autograd/variable.h(359): warning C4251: 'torch::autograd::Variable::Impl::hooks
': class 'std::vector<std::shared_ptrtorch::autograd::FunctionPreHook,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'torch::autograd::Variable::Impl'
with
[
_Ty=std::shared_ptrtorch::autograd::FunctionPreHook
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/autograd/variable.h(245): note: see declaration of 'std::vector<std::shared_ptrtorch::autograd::FunctionPreHook,std::allocator<Ty>>'
with
[
Ty=std::shared_ptrtorch::autograd::FunctionPreHook
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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\2019\Professional\VC\Tools\MSVC\14.22.27905\include\mutex(82): note: see declaration of 'std::mutex'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/thread_pool.h(51): warning C4251: 'c10::ThreadPool::tasks
': class 'std::queue<c10::ThreadPool::task_element_t,std::deque<_Ty,std::allocator<_Ty>>>' needs to have dll-interface to be used by clients of class 'c10::ThreadPool'
with
[
_Ty=c10::ThreadPool::task_element_t
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/thread_pool.h(51): note: see declaration of 'std::queue<c10::ThreadPool::task_element_t,std::deque<_Ty,std::allocator<Ty>>>'
with
[
Ty=c10::ThreadPool::task_element_t
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/thread_pool.h(52): warning C4251: 'c10::ThreadPool::threads
': class 'std::vector<std::thread,std::allocator<Ty>>' needs to have dll-interface to be used by clients of class 'c10::ThreadPool'
with
[
Ty=std::thread
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/thread_pool.h(52): note: see declaration of 'std::vector<std::thread,std::allocator<Ty>>'
with
[
Ty=std::thread
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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\2019\Professional\VC\Tools\MSVC\14.22.27905\include\mutex(82): note: see declaration of 'std::mutex'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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\2019\Professional\VC\Tools\MSVC\14.22.27905\include\mutex(578): note: see declaration of 'std::condition_variable'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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\2019\Professional\VC\Tools\MSVC\14.22.27905\include\mutex(578): note: see declaration of 'std::condition_variable'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(24): warning C4251: 'c10::ivalue::ConstantString::str
': class 'std::basic_string<char,std::char_traits,std::allocator>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::ConstantString'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.22.27905\include\xstring(4343): note: see declaration of 'std::basic_string<char,std::char_traits,std::allocator>'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(43): warning C4251: 'c10::ivalue::List::elements': class 'std::vector<T,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::List'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/ArrayRef.h(214): note: see declaration of 'std::vector<T,std::allocator<Ty>>'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(65): note: see reference to class template instantiation 'c10::ivalue::List' being compiled
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(43): warning C4251: 'c10::ivalue::Listc10::IValue::elements
': class 'std::vector<Elem,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Listc10::IValue'
with
[
Elem=c10::IValue,
_Ty=c10::IValue
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(43): note: see declaration of 'std::vector<Elem,std::allocator<Ty>>'
with
[
Elem=c10::IValue,
Ty=c10::IValue
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(69): note: see reference to class template instantiation 'c10::ivalue::Listc10::IValue' being compiled
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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\2019\Professional\VC\Tools\MSVC\14.22.27905\include\mutex(82): note: see declaration of 'std::mutex'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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\2019\Professional\VC\Tools\MSVC\14.22.27905\include\atomic(1883): note: see declaration of 'std::atomic'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(573): warning C4251: 'c10::ivalue::Future::callbacks': class 'std::vector<std::function<void (void)>,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Future'
with
[
_Ty=std::function<void (void)>
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(573): note: see declaration of 'std::vector<std::function<void (void)>,std::allocator<_Ty>>'
with
[
Ty=std::function<void (void)>
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(43): warning C4251: 'c10::ivalue::List<int64_t>::elements
': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::List<int64_t>'
with
[
_Ty=int64_t
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/typeid.h(580): note: see declaration of 'std::vector<int64_t,std::allocator<_Ty>>'
with
[
Ty=int64_t
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(622): note: see reference to class template instantiation 'c10::ivalue::List<int64_t>' being compiled
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(43): warning C4251: 'c10::ivalue::List::elements
': class 'std::vector<T,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::List'
with
[
T=double,
_Ty=double
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/ArrayRef.h(214): note: see declaration of 'std::vector<T,std::allocator<_Ty>>'
with
[
T=double,
Ty=double
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(636): note: see reference to class template instantiation 'c10::ivalue::List' being compiled
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(43): warning C4251: 'c10::ivalue::List::elements
': class 'std::vector<bool,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::List'
with
[
_Ty=bool
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(296): note: see declaration of 'std::vector<bool,std::allocator<_Ty>>'
with
[
Ty=bool
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(643): note: see reference to class template instantiation 'c10::ivalue::List' being compiled
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(43): warning C4251: 'c10::ivalue::Listat::Tensor::elements
': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::ivalue::Listat::Tensor'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
with
[
Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/ivalue.h(650): note: see reference to class template instantiation 'c10::ivalue::Listat::Tensor' being compiled
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/scope.h(24): warning C4251: 'torch::jit::Scope::parent
': class 'c10::intrusive_ptr<torch::jit::Scope,c10::detail::intrusive_target_default_null_type>' needs to have dll-interface to be used by clients of struct 'torch::jit::Scope'
with
[
TTarget=torch::jit::Scope
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/scope.h(20): note: see declaration of 'c10::intrusive_ptr<torch::jit::Scope,c10::detail::intrusive_target_default_null_type>'
with
[
TTarget=torch::jit::Scope
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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\2019\Professional\VC\Tools\MSVC\14.22.27905\include\stdexcept(122): note: see declaration of 'std::runtime_error'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/constants.h(16): note: see declaration of 'torch::jit::constant_not_supported_error'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(52): warning C4251: 'std::enable_shared_from_thisc10::Type::_Wptr': class 'std::weak_ptr<_Ty>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_thisc10::Type'
with
[
_Ty=c10::Type
]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.22.27905\include\memory(1730): note: see declaration of 'std::weak_ptr<_Ty>'
with
[
Ty=c10::Type
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(213): warning C4251: 'c10::SingleElementTypec10::TypeKind::OptionalType,c10::OptionalType::elem': class 'std::shared_ptrc10::Type' needs to have dll-interface to be used by clients of struct 'c10::SingleElementTypec10::TypeKind::OptionalType,c10::OptionalType'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(50): note: see declaration of 'std::shared_ptrc10::Type'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(359): warning C4244: 'argument': conversion from 'int64_t' to 'int', possible loss of data
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(476): warning C4251: 'c10::CompleteTensorType::sizes
': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::CompleteTensorType'
with
[
_Ty=int64_t
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/typeid.h(580): note: see declaration of 'std::vector<int64_t,std::allocator<_Ty>>'
with
[
Ty=int64_t
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(477): warning C4251: 'c10::CompleteTensorType::strides
': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::CompleteTensorType'
with
[
_Ty=int64_t
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/typeid.h(580): note: see declaration of 'std::vector<int64_t,std::allocator<_Ty>>'
with
[
Ty=int64_t
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(482): warning C4251: 'c10::SingleElementTypec10::TypeKind::ListType,c10::ListType::elem': class 'std::shared_ptrc10::Type' needs to have dll-interface to be used by clients of struct 'c10::SingleElementTypec10::TypeKind::ListType,c10::ListType'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(50): note: see declaration of 'std::shared_ptrc10::Type'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(516): warning C4251: 'c10::SingleElementTypec10::TypeKind::FutureType,c10::FutureType::elem': class 'std::shared_ptrc10::Type' needs to have dll-interface to be used by clients of struct 'c10::SingleElementTypec10::TypeKind::FutureType,c10::FutureType'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(50): note: see declaration of 'std::shared_ptrc10::Type'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(622): warning C4251: 'c10::TupleType::elements
': class 'std::vector<c10::TypePtr,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of struct 'c10::TupleType'
with
[
_Ty=c10::TypePtr
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/jit_type.h(148): note: see declaration of 'std::vector<c10::TypePtr,std::allocator<_Ty>>'
with
[
_Ty=c10::TypePtr
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/tracing_state.h(29): warning C4251: 'std::enable_shared_from_thistorch::jit::tracer::TracingState::_Wptr': class 'std::weak_ptr<_Ty>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_thistorch::jit::tracer::TracingState'
with
[
_Ty=torch::jit::tracer::TracingState
]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.22.27905\include\memory(1730): note: see declaration of 'std::weak_ptr<_Ty>'
with
[
_Ty=torch::jit::tracer::TracingState
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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<torch::jit::tracer::TracingState::WeakTensor,torch::jit::Value *,torch::jit::tracer::TracingState::WeakTensorHasher,torch::jit::tracer::TracingState::WeakTensorEq,std::allocator<std::pair<const _Kty,_Ty>>>' 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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/tracing_state.h(47): note: see declaration of 'std::unordered_map<torch::jit::tracer::TracingState::WeakTensor,torch::jit::Value *,torch::jit::tracer::TracingState::WeakTensorHasher,torch::jit::tracer::TracingState::WeakTensorEq,std::allocator<std::pair<const _Kty,_Ty>>>'
with
[
_Kty=torch::jit::tracer::TracingState::WeakTensor,
_Ty=torch::jit::Value *
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/tracing_state.h(48): warning C4251: 'torch::jit::tracer::TracingState::graph': class 'std::shared_ptrtorch::jit::Graph' needs to have dll-interface to be used by clients of struct 'torch::jit::tracer::TracingState'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/tracing_state.h(48): note: see declaration of 'std::shared_ptrtorch::jit::Graph'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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<std::string (const torch::autograd::Variable &)>' needs to have dll-interface to be used by clients of struct 'torch::jit::tracer::TracingState'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/tracing_state.h(51): note: see declaration of 'std::function<std::string (const torch::autograd::Variable &)>'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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\2019\Professional\VC\Tools\MSVC\14.22.27905\include\memory(1722): note: see declaration of 'std::shared_ptr<Ty>'
with
[
Ty=torch::jit::tracer::TracingState
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/serialize/input-archive.h(78): warning C4251: 'torch::serialize::InputArchive::module
': class 'std::shared_ptrtorch::jit::script::Module' needs to have dll-interface to be used by clients of class 'torch::serialize::InputArchive'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/serialize/input-archive.h(78): note: see declaration of 'std::shared_ptrtorch::jit::script::Module'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/serialize/output-archive.h(66): warning C4251: 'torch::serialize::OutputArchive::module
': class 'std::shared_ptrtorch::jit::script::Module' needs to have dll-interface to be used by clients of class 'torch::serialize::OutputArchive'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/serialize/input-archive.h(78): note: see declaration of 'std::shared_ptrtorch::jit::script::Module'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/script/lexer.h(384): warning C4267: 'argument': conversion from 'size_t' to '_Ty', possible loss of data
with
[
_Ty=int32_t
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/interpreter.h(42): warning C4251: 'torch::jit::Code::pImpl': class 'std::shared_ptrtorch::jit::CodeImpl' needs to have dll-interface to be used by clients of struct 'torch::jit::Code'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/interpreter.h(42): note: see declaration of 'std::shared_ptrtorch::jit::CodeImpl'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/graph_executor.h(41): warning C4251: 'torch::jit::GraphExecutor::pImpl': class 'std::shared_ptrtorch::jit::GraphExecutorImpl' needs to have dll-interface to be used by clients of struct 'torch::jit::GraphExecutor'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/graph_executor.h(41): note: see declaration of 'std::shared_ptrtorch::jit::GraphExecutorImpl'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(35): note: see declaration of 'torch::jit::script::SugaredValue'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(93): note: see declaration of 'torch::jit::script::SimpleValue'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(35): note: see declaration of 'torch::jit::script::SugaredValue'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(122): note: see declaration of 'torch::jit::script::BuiltinFunction'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(130): warning C4251: 'torch::jit::script::BuiltinFunction::self': class 'c10::optionaltorch::jit::NamedValue' needs to have dll-interface to be used by clients of struct 'torch::jit::script::BuiltinFunction'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/script/module.h(479): note: see declaration of 'c10::optionaltorch::jit::NamedValue'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(35): note: see declaration of 'torch::jit::script::SugaredValue'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(143): note: see declaration of 'torch::jit::script::BuiltinModule'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(157): warning C4251: 'torch::jit::script::BuiltinModule::name': class 'std::basic_string<char,std::char_traits,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\2019\Professional\VC\Tools\MSVC\14.22.27905\include\xstring(4343): note: see declaration of 'std::basic_string<char,std::char_traits,std::allocator>'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(160): warning C4251: 'torch::jit::script::BuiltinModule::version': class 'c10::optional<int64_t>' needs to have dll-interface to be used by clients of struct 'torch::jit::script::BuiltinModule'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(145): note: see declaration of 'c10::optional<int64_t>'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(35): note: see declaration of 'torch::jit::script::SugaredValue'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(167): note: see declaration of 'torch::jit::script::ForkValue'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(35): note: see declaration of 'torch::jit::script::SugaredValue'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(173): note: see declaration of 'torch::jit::script::AnnotateValue'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/module.h(61): warning C4251: 'std::enable_shared_from_thistorch::nn::Module::_Wptr': class 'std::weak_ptr<_Ty>' needs to have dll-interface to be used by clients of class 'std::enable_shared_from_thistorch::nn::Module'
with
[
Ty=torch::nn::Module
]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.22.27905\include\memory(1730): note: see declaration of 'std::weak_ptr<Ty>'
with
[
Ty=torch::nn::Module
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/module.h(483): warning C4251: 'torch::nn::Module::parameters
': class 'torch::OrderedDictstd::string,at::Tensor' needs to have dll-interface to be used by clients of class 'torch::nn::Module'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/module.h(209): note: see declaration of 'torch::OrderedDictstd::string,at::Tensor'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/module.h(486): warning C4251: 'torch::nn::Module::buffers
': class 'torch::OrderedDictstd::string,at::Tensor' needs to have dll-interface to be used by clients of class 'torch::nn::Module'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/module.h(209): note: see declaration of 'torch::OrderedDictstd::string,at::Tensor'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/module.h(489): warning C4251: 'torch::nn::Module::children
': class 'torch::OrderedDict<std::string,std::shared_ptr<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::Module'
with
[
_Ty=torch::nn::Module
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/module.h(245): note: see declaration of 'torch::OrderedDict<std::string,std::shared_ptr<Ty>>'
with
[
Ty=torch::nn::Module
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/module.h(492): warning C4251: 'torch::nn::Module::name
': class 'c10::optionalstd::string' needs to have dll-interface to be used by clients of class 'torch::nn::Module'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch/csrc/jit/named_value.h(70): note: see declaration of 'c10::optionalstd::string'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/conv.h(87): note: see declaration of 'torch::nn::ConvOptions<1>'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/conv.h(87): note: see declaration of 'torch::nn::ConvOptions<2>'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/conv.h(87): note: see declaration of 'torch::nn::ConvOptions<3>'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/functional.h(89): warning C4251: 'torch::nn::FunctionalImpl::function
': class 'std::function<at::Tensor (at::Tensor)>' needs to have dll-interface to be used by clients of class 'torch::nn::FunctionalImpl'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/data/transforms/tensor.h(39): note: see declaration of 'std::function<at::Tensor (at::Tensor)>'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/rnn.h(174): warning C4251: 'torch::nn::detail::RNNImplBasetorch::nn::RNNImpl::w_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBasetorch::nn::RNNImpl'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/rnn.h(174): warning C4251: 'torch::nn::detail::RNNImplBasetorch::nn::RNNImpl::w_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBasetorch::nn::RNNImpl'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/rnn.h(174): warning C4251: 'torch::nn::detail::RNNImplBasetorch::nn::RNNImpl::b_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBasetorch::nn::RNNImpl'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/rnn.h(174): warning C4251: 'torch::nn::detail::RNNImplBasetorch::nn::RNNImpl::b_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBasetorch::nn::RNNImpl'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<Ty>>'
with
[
Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/rnn.h(174): warning C4251: 'torch::nn::detail::RNNImplBasetorch::nn::RNNImpl::cudnn_mode
': class 'c10::optional<torch::nn::detail::RNNImplBasetorch::nn::RNNImpl::CuDNNMode>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBasetorch::nn::RNNImpl'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/rnn.h(64): note: see declaration of 'c10::optional<torch::nn::detail::RNNImplBasetorch::nn::RNNImpl::CuDNNMode>'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/rnn.h(174): warning C4251: 'torch::nn::detail::RNNImplBasetorch::nn::RNNImpl::flat_weights
': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBasetorch::nn::RNNImpl'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/rnn.h(202): warning C4251: 'torch::nn::detail::RNNImplBasetorch::nn::LSTMImpl::w_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBasetorch::nn::LSTMImpl'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/rnn.h(202): warning C4251: 'torch::nn::detail::RNNImplBasetorch::nn::LSTMImpl::w_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBasetorch::nn::LSTMImpl'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/rnn.h(202): warning C4251: 'torch::nn::detail::RNNImplBasetorch::nn::LSTMImpl::b_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBasetorch::nn::LSTMImpl'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/rnn.h(202): warning C4251: 'torch::nn::detail::RNNImplBasetorch::nn::LSTMImpl::b_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBasetorch::nn::LSTMImpl'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<Ty>>'
with
[
Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/rnn.h(202): warning C4251: 'torch::nn::detail::RNNImplBasetorch::nn::LSTMImpl::cudnn_mode
': class 'c10::optional<torch::nn::detail::RNNImplBasetorch::nn::LSTMImpl::CuDNNMode>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBasetorch::nn::LSTMImpl'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/rnn.h(64): note: see declaration of 'c10::optional<torch::nn::detail::RNNImplBasetorch::nn::LSTMImpl::CuDNNMode>'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/rnn.h(202): warning C4251: 'torch::nn::detail::RNNImplBasetorch::nn::LSTMImpl::flat_weights
': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBasetorch::nn::LSTMImpl'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/rnn.h(228): warning C4251: 'torch::nn::detail::RNNImplBasetorch::nn::GRUImpl::w_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBasetorch::nn::GRUImpl'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/rnn.h(228): warning C4251: 'torch::nn::detail::RNNImplBasetorch::nn::GRUImpl::w_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBasetorch::nn::GRUImpl'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/rnn.h(228): warning C4251: 'torch::nn::detail::RNNImplBasetorch::nn::GRUImpl::b_ih': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBasetorch::nn::GRUImpl'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/rnn.h(228): warning C4251: 'torch::nn::detail::RNNImplBasetorch::nn::GRUImpl::b_hh': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBasetorch::nn::GRUImpl'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<Ty>>'
with
[
Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/rnn.h(228): warning C4251: 'torch::nn::detail::RNNImplBasetorch::nn::GRUImpl::cudnn_mode
': class 'c10::optional<torch::nn::detail::RNNImplBasetorch::nn::GRUImpl::CuDNNMode>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBasetorch::nn::GRUImpl'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/rnn.h(64): note: see declaration of 'c10::optional<torch::nn::detail::RNNImplBasetorch::nn::GRUImpl::CuDNNMode>'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/rnn.h(228): warning C4251: 'torch::nn::detail::RNNImplBasetorch::nn::GRUImpl::flat_weights
': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::nn::detail::RNNImplBasetorch::nn::GRUImpl'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
with
[
Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/optimizer.h(80): warning C4251: 'torch::optim::detail::OptimizerBase::parameters
': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::detail::OptimizerBase'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/optimizer.h(97): note: see declaration of 'torch::optim::Optimizer'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/adagrad.h(28): note: see declaration of 'torch::optim::Adagrad'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/adagrad.h(44): warning C4251: 'torch::optim::Adagrad::sum_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adagrad'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/adagrad.h(45): warning C4251: 'torch::optim::Adagrad::step_buffers': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adagrad'
with
[
_Ty=int64_t
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/typeid.h(580): note: see declaration of 'std::vector<int64_t,std::allocator<_Ty>>'
with
[
_Ty=int64_t
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/optimizer.h(97): note: see declaration of 'torch::optim::Optimizer'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/adam.h(31): note: see declaration of 'torch::optim::Adam'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/adam.h(45): warning C4251: 'torch::optim::Adam::step_buffers': class 'std::vector<int64_t,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam'
with
[
_Ty=int64_t
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\c10/util/typeid.h(580): note: see declaration of 'std::vector<int64_t,std::allocator<_Ty>>'
with
[
_Ty=int64_t
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/adam.h(46): warning C4251: 'torch::optim::Adam::exp_average_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/adam.h(47): warning C4251: 'torch::optim::Adam::exp_average_sq_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/adam.h(48): warning C4251: 'torch::optim::Adam::max_exp_average_sq_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::Adam'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/lbfgs.h(22): warning C4305: 'initializing': truncation from 'double' to 'float'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/lbfgs.h(23): warning C4305: 'initializing': truncation from 'double' to 'float'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/optimizer.h(107): note: see declaration of 'torch::optim::LossClosureOptimizer'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/lbfgs.h(27): note: see declaration of 'torch::optim::LBFGS'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/lbfgs.h(48): warning C4251: 'torch::optim::LBFGS::ro': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/lbfgs.h(49): warning C4251: 'torch::optim::LBFGS::al': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/lbfgs.h(50): warning C4251: 'torch::optim::LBFGS::old_dirs': class 'std::deque<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/lbfgs.h(50): note: see declaration of 'std::deque<at::Tensor,std::allocator<_Ty>>'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/lbfgs.h(51): warning C4251: 'torch::optim::LBFGS::old_stps': class 'std::deque<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::LBFGS'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/lbfgs.h(50): note: see declaration of 'std::deque<at::Tensor,std::allocator<_Ty>>'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/optimizer.h(97): note: see declaration of 'torch::optim::Optimizer'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/rmsprop.h(34): note: see declaration of 'torch::optim::RMSprop'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/rmsprop.h(50): warning C4251: 'torch::optim::RMSprop::square_average_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::RMSprop'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/rmsprop.h(51): warning C4251: 'torch::optim::RMSprop::momentum_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::RMSprop'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/rmsprop.h(52): warning C4251: 'torch::optim::RMSprop::grad_average_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::RMSprop'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\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:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/optimizer.h(97): note: see declaration of 'torch::optim::Optimizer'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/sgd.h(31): note: see declaration of 'torch::optim::SGD'
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/sgd.h(45): warning C4251: 'torch::optim::SGD::momentum_buffers': class 'std::vector<at::Tensor,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'torch::optim::SGD'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\ATen/core/Type.h(224): note: see declaration of 'std::vector<at::Tensor,std::allocator<_Ty>>'
with
[
_Ty=at::Tensor
]
C:\Users\daniel.roth\AppData\Local\Continuum\Anaconda3\envs\structureFlow\lib\site-packages\torch\lib\include\torch\csrc\api\include\torch/torch.h(7): fatal error C1021: invalid preprocessor command 'warning'
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.22.27905\bin\HostX86\x64\cl.exe' failed with exit status 2

@RenYurui
Copy link
Owner

RenYurui commented May 27, 2020

It seems like your environment is built on Windows. We have not tried windows. If you want to obtain some demo results, you can try it using colab.

@AlextheEngineer
Copy link

Solving this issue for pytorch3d made it work for me on windows 10. facebookresearch/pytorch3d#323

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants