platform: win10 64, python 3.6, pytorch 1.0.0
I met the following error, can you give me some advice?
D:\YX\python\pytorch_projects\C_Extension\DCNv2-master_1.0\DCNv2-master>python setup.py install
running install
running bdist_egg
running egg_info
creating DCNv2.egg-info
writing DCNv2.egg-info\PKG-INFO
writing dependency_links to DCNv2.egg-info\dependency_links.txt
writing top-level names to DCNv2.egg-info\top_level.txt
writing manifest file 'DCNv2.egg-info\SOURCES.txt'
reading manifest file 'DCNv2.egg-info\SOURCES.txt'
writing manifest file 'DCNv2.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_ext
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\utils\cpp_extension.py:184: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。
warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error))
building 'ext' extension
creating build
creating build\temp.win-amd64-3.6
creating build\temp.win-amd64-3.6\Release
creating build\temp.win-amd64-3.6\Release\YX
creating build\temp.win-amd64-3.6\Release\YX\python
creating build\temp.win-amd64-3.6\Release\YX\python\pytorch_projects
creating build\temp.win-amd64-3.6\Release\YX\python\pytorch_projects\C_Extension
creating build\temp.win-amd64-3.6\Release\YX\python\pytorch_projects\C_Extension\DCNv2-master_1.0
creating build\temp.win-amd64-3.6\Release\YX\python\pytorch_projects\C_Extension\DCNv2-master_1.0\DCNv2-master
creating build\temp.win-amd64-3.6\Release\YX\python\pytorch_projects\C_Extension\DCNv2-master_1.0\DCNv2-master\src
creating build\temp.win-amd64-3.6\Release\YX\python\pytorch_projects\C_Extension\DCNv2-master_1.0\DCNv2-master\src\cpu
creating build\temp.win-amd64-3.6\Release\YX\python\pytorch_projects\C_Extension\DCNv2-master_1.0\DCNv2-master\src\cuda
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DWITH_CUDA -ID:\YX\python\pytorch_projects\C_Extension\DCNv2-master_1.0\DCNv2-master\src -IC:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include -IC:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include -IC:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\TH -IC:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\include" -IG:\python\anaconda3\include -IG:\python\anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" /EHsc /TpD:\YX\python\pytorch_projects\C_Extension\DCNv2-master_1.0\DCNv2-master\src\vision.cpp /Fobuild\temp.win-amd64-3.6\Release\YX\python\pytorch_projects\C_Extension\DCNv2-master_1.0\DCNv2-master\src\vision.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=0
vision.cpp
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/Exception.h(27): warning C4275: 非 dll 接口 class“std::exception”用作 dll 接口 class“c10::Error”的基
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\vcruntime_exception.h(43): note: 参见“std::exception”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/Exception.h(27): note: 参见“c10::Error”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/Exception.h(28): warning C4251: “c10::Error::msg_stack”: class“std::vector<std::string,std::allocator<Ty>>”需要有 dll 接口由 class“c10::Error”的客户端使用
with
[
Ty=std::string
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/Exception.h(28): note: 参见“std::vector<std::string,std::allocator<Ty>>”的声明
with
[
Ty=std::string
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>”需要有 dll 接口由 class“c10::Error”的客户端使用
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xstring(2633): note: 参见“std::basic_string<char,std::char_traits,std::allocator>”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>”需要有 dll 接 口由 class“c10::Error”的客户端使用
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xstring(2633): note: 参见“std::basic_string<char,std::char_traits,std::allocator>”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>”需要有 dll 接口由 class“c10::Error”的客户端使用
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xstring(2633): note: 参见“std::basic_string<char,std::char_traits,std::allocator>”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/core/Allocator.h(126): warning C4251: “c10::InefficientStdFunctionContext::ptr”: class“std::unique_ptr<void,std::function<void (void *)>>”需要有 dll 接口由 struct“c10::InefficientStdFunctionContext”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/core/Allocator.h(126): note: 参见“std::unique_ptr<void,std::function<void (void *)>>”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/core/TensorTypeIdRegistration.h(32): warning C4251: “c10::TensorTypeIdCreator::last_id”: struct“std::atomic”需要有 dll 接口由 class“c10::TensorTypeIdCreator”的客户端使用
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xxatomic(180): note: 参见“std::atomic”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“c10::TensorTypeIdRegistry”的客户端使用
with
[
Kty=c10::TensorTypeId
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/core/TensorTypeIdRegistration.h(45): note: 参见“std::unordered_set<c10::TensorTypeId,std::hashc10::TensorTypeId,std::equal_to<Kty>,std::allocator<Kty>>”的声明
with
[
Kty=c10::TensorTypeId
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/core/TensorTypeIdRegistration.h(46): warning C4251: “c10::TensorTypeIdRegistry::mutex”: class“std::mutex”需要有 dll 接口由 class“c10::TensorTypeIdRegistry”的客户端使用
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\mutex(78): note: 参见“std::mutex”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/Half-inl.h(168): warning C4244: “参数”: 从“int”转换到“float”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/Half-inl.h(171): warning C4244: “参数”: 从“int”转换到“float”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/Half-inl.h(174): warning C4244: “参数”: 从“int”转换到“float”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/Half-inl.h(177): warning C4244: “参数”: 从“int”转换到“float”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/Half-inl.h(181): warning C4244: “参数”: 从“int”转换到“float”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/Half-inl.h(184): warning C4244: “参数”: 从“int”转换到“float”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/Half-inl.h(187): warning C4244: “参数”: 从“int”转换到“float”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/Half-inl.h(190): warning C4244: “参数”: 从“int”转换到“float”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/Half-inl.h(196): warning C4244: “参数”: 从“int64_t”转换到“float”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/Half-inl.h(199): warning C4244: “参数”: 从“int64_t”转换到“float”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/Half-inl.h(202): warning C4244: “参数”: 从“int64_t”转换到“float”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/Half-inl.h(205): warning C4244: “参数”: 从“int64_t”转换到“float”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/Half-inl.h(209): warning C4244: “参数”: 从“int64_t”转换到“float”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/Half-inl.h(212): warning C4244: “参数”: 从“int64_t”转换到“float”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/Half-inl.h(215): warning C4244: “参数”: 从“int64_t”转换到“float”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/Half-inl.h(218): warning C4244: “参数”: 从“int64_t”转换到“float”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/typeid.h(433): warning C4068: 未知的杂注
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/typeid.h(434): warning C4068: 未知的杂注
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/typeid.h(435): warning C4068: 未知的杂注
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/typeid.h(436): warning C4068: 未知的杂注
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/typeid.h(438): warning C4068: 未知的杂注
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(58): warning C4251: “c10::intrusive_ptr_target::refcount”: struct“std::atomic”需要有 dll 接口由 class“c10::intrusive_ptr_target”的客户端使用
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xxatomic(180): note: 参见“std::atomic ”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(59): warning C4251: “c10::intrusive_ptr_target::weakcount”: struct“std::atomic”需要有 dll 接口由 class“c10::intrusive_ptr_target”的客户端使用
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xxatomic(180): note: 参见“std::atomic ”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(75): warning C4068: 未知的杂注
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(76): warning C4068: 未知的杂注
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(77): warning C4068: 未知的杂注
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(78): warning C4068: 未知的杂注
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(79): warning C4068: 未知的杂注
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(86): warning C4068: 未知的杂注
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(80): warning C4297: “c10::intrusive_ptr_target::~intrusive_ptr_target”: 假定函数不引发异常,但确实发生了
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(80): note: 析构函数或释放器具有一个(可能是隐含的)非引发异常规范
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(83): warning C4297: “c10::intrusive_ptr_target::~intrusive_ptr_target”: 假定函数不引发异常,但确实发生了
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(83): note: 析构函数或释放器具有一个(可能是隐含的)非引发异常规范
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(699): warning C4267: “return”: 从“size_t”转换到“uint32_t”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(733): warning C4267: “return”: 从“size_t”转换到“uint32_t”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/core/StorageImpl.h(215): warning C4251: “c10::StorageImpl::data_ptr”: class“c10::DataPtr”需要有 dll 接口由 struct“c10::StorageImpl”的客户端使 用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/core/Allocator.h(19): note: 参见“c10::DataPtr”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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<TTarget>>”需要有 dll 接口由 struct“c10::Storage”的客户端使用
with
[
TTarget=c10::StorageImpl
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/core/Storage.h(10): note: 参 见“c10::intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_type<TTarget>>”的声明
with
[
TTarget=c10::StorageImpl
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>”需要有 dll 接口由 class“c10::MessageLogger”的客户端使用
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\iosfwd(687): note: 参见“std::basic_stringstream<char,std::char_traits,std::allocator>”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/TensorImpl.h(115): warning C4251: “at::PlacementDeleteContext::data_ptr_”: class“c10::DataPtr”需要有 dll 接口由 struct“at::PlacementDeleteContext”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/core/Allocator.h(19): note: 参见“c10::DataPtr”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/TensorImpl.h(1434): warning C4251: “at::TensorImpl::sizes_”: class“c10::SmallVector<int64_t,5>”需要有 dll 接口由 struct“at::TensorImpl”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/TensorImpl.h(1434): note: 参见“c10::SmallVector<int64_t,5>”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/TensorImpl.h(1435): warning C4251: “at::TensorImpl::strides_”: class“c10::SmallVector<int64_t,5>”需要有 dll 接口由 struct“at::TensorImpl”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/TensorImpl.h(1434): note: 参见“c10::SmallVector<int64_t,5>”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/TensorImpl.h(454): warning C4244: “参数”: 从“int64_t”转换到“c10::DeviceIndex”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/TensorImpl.h(1006): warning C4244: “参数”: 从“float”转换到“const std::size_t”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/TensorImpl.h(1382): warning C4244: “初始化”: 从“int64_t”转换到“int”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/LegacyTypeDispatch.h(138): warning C4251: “at::LegacyTypeDispatch::type_registry”: class“std::unique_ptrat::Type,at::LegacyTypeDeleter”需要有 dll 接口由 class“at::LegacyTypeDispatch”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/LegacyTypeDispatch.h(51): note: 参见“std::unique_ptrat::Type,at::LegacyTypeDeleter”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Tensor.h(692): warning C4251: “at::Tensor::impl_”: class“c10::intrusive_ptrat::TensorImpl,at::UndefinedTensorImpl”需要有 dll 接口由 class“at::Tensor”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Tensor.h(44): note: 参 见“c10::intrusive_ptrat::TensorImpl,at::UndefinedTensorImpl”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Tensor.h(693): warning C4522: “at::Tensor”: 指定了多个赋值运算符
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Tensor.h(720): warning C4251: “at::WeakTensor::weak_impl_”: class“c10::weak_intrusive_ptr<TTarget,NullType>”需要有 dll 接口由 struct“at::WeakTensor”的客户端使用
with
[
TTarget=at::TensorImpl,
NullType=at::UndefinedTensorImpl
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/intrusive_ptr.h(163): note: 参见“c10::weak_intrusive_ptr<TTarget,NullType>”的声明
with
[
TTarget=at::TensorImpl,
NullType=at::UndefinedTensorImpl
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/LegacyTHDispatch.h(86): warning C4251: “at::LegacyTHDispatch::dispatcher_registry”: class“std::unique_ptrat::LegacyTHDispatcher,at::LegacyTHDispatcherDeleter”需要有 dll 接口由 class“at::LegacyTHDispatch”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/LegacyTHDispatch.h(61): note: 参见“std::unique_ptrat::LegacyTHDispatcher,at::LegacyTHDispatcherDeleter”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口 由 class“at::Context”的客户端使用
with
[
_Ty=at::Generator
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(104): note: 参见“std::unique_ptr<at::Generator,std::default_delete<_Ty>>”的声明
with
[
Ty=at::Generator
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/Context.h(145): warning C4251: “at::Context::thc_init”: struct“std::once_flag”需要有 dll 接口由 class“at::Context”的客户端使用
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\mutex(452): note: 参见“std::once_flag”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/Context.h(146): warning C4251: “at::Context::thh_init”: struct“std::once_flag”需要有 dll 接口由 class“at::Context”的客户端使用
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\mutex(452): note: 参见“std::once_flag”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/Context.h(147): warning C4251: “at::Context::complex_init”: struct“std::once_flag”需要有 dll 接口由 class“at::Context”的客户端使用
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\mutex(452): note: 参见“std::once_flag”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/Context.h(151): warning C4251: “at::Context::next_id”: struct“std::atomic”需要有 dll 接口由 class“at::Context”的客户端使用
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xxatomic(180): note: 参见“std::atomic ”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/Context.h(152): warning C4251: “at::Context::thc_state”: class“std::unique_ptr<THCState,void (__cdecl *)(THCState *)>”需要有 dll 接口由 class“at::Context”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/detail/CUDAHooksInterface.h(57): note: 参见“std::unique_ptr<THCState,void (__cdecl *)(THCState *)>”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/Context.h(153): warning C4251: “at::Context::thh_state”: class“std::unique_ptr<THHState,void (__cdecl *)(THHState *)>”需要有 dll 接口由 class“at::Context”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/detail/HIPHooksInterface.h(33): note: 参见“std::unique_ptr<THHState,void (__cdecl *)(THHState *)>”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/Context.h(161): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdlib.h(1183): note: 参见“getenv”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/Context.h(164): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdlib.h(1183): note: 参见“getenv”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/Stream.h(102): warning C4244: “参数”: 从“unsigned __int64”转换到“c10::DeviceIndex”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/Stream.h(102): warning C4244: “参数”: 从“unsigned _int64”转换到“c10::StreamId”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/TensorGeometry.h(56): warning C4251: “at::TensorGeometry::sizes”: class“std::vector<int64_t,std::allocator<_Ty>>”需要有 dll 接口由 struct“at::TensorGeometry”的客户端使用
with
[
_Ty=int64_t
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/typeid.h(580): note: 参 见“std::vector<int64_t,std::allocator<_Ty>>”的声明
with
[
Ty=int64_t
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/TensorGeometry.h(57): warning C4251: “at::TensorGeometry::strides”: class“std::vector<int64_t,std::allocator<Ty>>”需要有 dll 接口由 struct“at::TensorGeometry”的客户端使用
with
[
Ty=int64_t
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/typeid.h(580): note: 参 见“std::vector<int64_t,std::allocator<Ty>>”的声明
with
[
Ty=int64_t
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>”需要有 dll 接口由 struct“torch::autograd::Variable::Impl”的客户端使用
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xstring(2633): note: 参见“std::basic_string<char,std::char_traits,std::allocator>”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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”需 要有 dll 接口由 struct“torch::autograd::Variable::Impl”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/autograd/edge.h(17): note: 参见“std::shared_ptrtorch::autograd::Function”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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”需要有 dll 接口由 struct“torch::autograd::Variable::Impl”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/autograd/variable.h(153): note: 参见“std::weak_ptrtorch::autograd::Function”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/autograd/variable.h(358): warning C4251: “torch::autograd::Variable::Impl::version_counter”: struct“torch::autograd::VariableVersion”需要有 dll 接口由 struct“torch::autograd::Variable::Impl”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/autograd/variable_version.h(19): note: 参见“torch::autograd::VariableVersion”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 struct“torch::autograd::Variable::Impl”的客户端使用
with
[
_Ty=std::shared_ptrtorch::autograd::FunctionPreHook
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/autograd/variable.h(245): note: 参见“std::vector<std::shared_ptrtorch::autograd::FunctionPreHook,std::allocator<Ty>>”的声明
with
[
Ty=std::shared_ptrtorch::autograd::FunctionPreHook
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/autograd/variable.h(376): warning C4251: “torch::autograd::Variable::Impl::mutex”: class“std::mutex”需要有 dll 接口由 struct“torch::autograd::Variable::Impl”的客户端使用
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\mutex(78): note: 参见“std::mutex”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>>”需要有 dll 接口由 class“c10::ThreadPool”的客户端使用
with
[
_Ty=c10::ThreadPool::task_element_t
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/thread_pool.h(51): note: 参见“std::queue<c10::ThreadPool::task_element_t,std::deque<_Ty,std::allocator<Ty>>>”的声明
with
[
Ty=c10::ThreadPool::task_element_t
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/thread_pool.h(52): warning C4251: “c10::ThreadPool::threads”: class“std::vector<std::thread,std::allocator<Ty>>”需要有 dll 接口由 class“c10::ThreadPool”的客户端使用
with
[
Ty=std::thread
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/thread_pool.h(52): note: 参见“std::vector<std::thread,std::allocator<Ty>>”的声明
with
[
Ty=std::thread
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/thread_pool.h(53): warning C4251: “c10::ThreadPool::mutex”: class“std::mutex”需要有 dll 接口由 class“c10::ThreadPool”的客户端使用
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\mutex(78): note: 参见“std::mutex”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/thread_pool.h(54): warning C4251: “c10::ThreadPool::condition”: class“std::condition_variable”需要有 dll 接口由 class“c10::ThreadPool”的客户端使用
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\mutex(536): note: 参见“std::condition_variable”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/thread_pool.h(55): warning C4251: “c10::ThreadPool::completed”: class“std::condition_variable”需要有 dll 接口由 class“c10::ThreadPool”的客户端使用
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\mutex(536): note: 参见“std::condition_variable”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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> ”需要有 dll 接口由 struct“c10::ivalue::ConstantString”的客户端使用
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xstring(2633): note: 参见“std::basic_string<char,std::char_traits,std::allocator>”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/ivalue.h(43): warning C4251: “c10::ivalue::List<Elem>::elements”: class“std::vector<T,std::allocator<_Ty>>”需要有 dll 接口由 struct“c10::ivalue::List<Elem>”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/ArrayRef.h(214): note: 参见“std::vector<T,std::allocator<Ty>>”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/ivalue.h(65): note: 参 见对正在编译的类 模板 实例化“c10::ivalue::List<Elem>”的引用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/ivalue.h(43): warning C4251: “c10::ivalue::Listc10::IValue::elements”: class“std::vector<Elem,std::allocator<_Ty>>”需要有 dll 接口由 struct“c10::ivalue::Listc10::IValue”的客户端使用
with
[
Elem=c10::IValue,
_Ty=c10::IValue
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/ivalue.h(43): note: 参 见“std::vector<Elem,std::allocator<Ty>>”的声明
with
[
Elem=c10::IValue,
Ty=c10::IValue
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/ivalue.h(69): note: 参 见对正在编译的类 模板 实例化“c10::ivalue::Listc10::IValue”的引用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/ivalue.h(570): warning C4251: “c10::ivalue::Future::mutex”: class“std::mutex”需要有 dll 接口由 struct“c10::ivalue::Future”的客户端使用
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\mutex(78): note: 参见“std::mutex”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/ivalue.h(572): warning C4251: “c10::ivalue::Future::completed”: struct“std::atomic”需要有 dll 接口由 struct“c10::ivalue::Future”的客户端使用
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xxatomic(180): note: 参见“std::atomic”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 struct“c10::ivalue::Future”的客户端使用
with
[
_Ty=std::function<void (void)>
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/ivalue.h(573): note: 参见“std::vector<std::function<void (void)>,std::allocator<_Ty>>”的声明
with
[
Ty=std::function<void (void)>
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 struct“c10::ivalue::List<int64_t>”的客户端使用
with
[
_Ty=int64_t
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/typeid.h(580): note: 参 见“std::vector<int64_t,std::allocator<_Ty>>”的声明
with
[
Ty=int64_t
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/ivalue.h(622): note: 参见对正在编译的类 模板 实例化“c10::ivalue::List<int64_t>”的引用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/ivalue.h(43): warning C4251: “c10::ivalue::List::elements”: class“std::vector<T,std::allocator<_Ty>>”需要有 dll 接口由 struct“c10::ivalue::List”的客户端使用
with
[
T=double,
_Ty=double
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/ArrayRef.h(214): note: 参见“std::vector<T,std::allocator<_Ty>>”的声明
with
[
T=double,
Ty=double
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/ivalue.h(636): note: 参见对正在编译的类 模板 实例化“c10::ivalue::List”的引用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/ivalue.h(43): warning C4251: “c10::ivalue::List::elements”: class“std::vector<bool,std::allocator<_Ty>>”需要有 dll 接口由 struct“c10::ivalue::List”的客户端使用
with
[
_Ty=bool
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/ivalue.h(296): note: 参见“std::vector<bool,std::allocator<_Ty>>”的声明
with
[
Ty=bool
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/ivalue.h(643): note: 参见对正在编译的类 模板 实例化“c10::ivalue::List”的引用
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口 由 struct“c10::ivalue::Listat::Tensor”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<_Ty>>”的声明
with
[
Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/ivalue.h(650): note: 参见对正在编译的类 模板 实例化“c10::ivalue::Listat::Tensor”的引用
C:\Users\Administrator\AppData\Roaming\Python\Python36\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<TTarget>>”需要有 dll 接口由 struct“torch::jit::Scope”的客户端使用
with
[
TTarget=torch::jit::Scope
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/scope.h(20): note: 参见“c10::intrusive_ptr<torch::jit::Scope,c10::detail::intrusive_target_default_null_type<TTarget>>”的声明
with
[
TTarget=torch::jit::Scope
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/constants.h(16): warning C4275: 非 dll 接口 class“std::runtime_error”用作 dll 接口 struct“torch::jit::constant_not_supported_error”的 基
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\stdexcept(156): note: 参见“std::runtime_error”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/constants.h(16): note: 参见“torch::jit::constant_not_supported_error”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>”需要有 dll 接口由 class“std::enable_shared_from_thisc10::Type”的客户端使用
with
[
_Ty=c10::Type
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1161): note: 参见“std::weak_ptr<_Ty>”的声明
with
[
Ty=c10::Type
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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”需要有 dll 接口由 struct“c10::SingleElementTypec10::TypeKind::OptionalType,c10::OptionalType”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/jit_type.h(50): note: 参见“std::shared_ptrc10::Type”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/jit_type.h(361): warning C4244: “参数”: 从“int64_t”转换到“int”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/jit_type.h(476): warning C4251: “c10::CompleteTensorType::sizes”: class“std::vector<int64_t,std::allocator<_Ty>>”需要有 dll 接口由 struct “c10::CompleteTensorType”的客户端使用
with
[
_Ty=int64_t
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/typeid.h(580): note: 参 见“std::vector<int64_t,std::allocator<_Ty>>”的声明
with
[
Ty=int64_t
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/jit_type.h(477): warning C4251: “c10::CompleteTensorType::strides”: class“std::vector<int64_t,std::allocator<_Ty>>”需要有 dll 接口由 struct“c10::CompleteTensorType”的客户端使用
with
[
_Ty=int64_t
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/typeid.h(580): note: 参 见“std::vector<int64_t,std::allocator<_Ty>>”的声明
with
[
Ty=int64_t
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/jit_type.h(445): warning C4800: “std::size_t”: 将值强制为布尔值“true”或“false”(性能警告)
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/jit_type.h(463): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\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”需 要有 dll 接口由 struct“c10::SingleElementTypec10::TypeKind::ListType,c10::ListType”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/jit_type.h(50): note: 参见“std::shared_ptrc10::Type”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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 ”需要有 dll 接口由 struct“c10::SingleElementTypec10::TypeKind::FutureType,c10::FutureType”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/jit_type.h(50): note: 参见“std::shared_ptrc10::Type”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/jit_type.h(622): warning C4251: “c10::TupleType::elements”: class“std::vector<c10::TypePtr,std::allocator<_Ty>>”需要有 dll 接口由 struct“c10::TupleType”的客户端使用
with
[
_Ty=c10::TypePtr
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/jit_type.h(148): note: 参见“std::vector<c10::TypePtr,std::allocator<_Ty>>”的声明
with
[
_Ty=c10::TypePtr
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>”需要有 dll 接口由 class“std::enable_shared_from_thistorch::jit::tracer::TracingState”的客户端使用
with
[
_Ty=torch::jit::tracer::TracingState
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1161): note: 参见“std::weak_ptr<_Ty>”的声明
with
[
_Ty=torch::jit::tracer::TracingState
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>>”需要有 dll 接口由 struct“torch::jit::tracer::TracingState”的客户端使用
with
[
_Kty=torch::jit::tracer::TracingState::WeakTensor,
_Ty=torch::jit::Value *
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/tracing_state.h(47): note: 参见“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\Administrator\AppData\Roaming\Python\Python36\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”需要有 dll 接 口由 struct“torch::jit::tracer::TracingState”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/tracing_state.h(48): note: 参见“std::shared_ptrtorch::jit::Graph”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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 &)>”需要有 dll 接口由 struct“torch::jit::tracer::TracingState”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/tracing_state.h(51): note: 参见“std::function<std::string (const torch::autograd::Variable &)>”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/tracing_state.h(145): warning C4251: “torch::jit::tracer::NoWarn::state”: class“std::shared_ptr<_Ty>”需要有 dll 接口由 struct“torch::jit::tracer::NoWarn”的客户端使用
with
[
_Ty=torch::jit::tracer::TracingState
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1124): note: 参见“std::shared_ptr<Ty>”的声明
with
[
Ty=torch::jit::tracer::TracingState
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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”需要有 dll 接口由 class“torch::serialize::InputArchive”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/serialize/input-archive.h(78): note: 参见“std::shared_ptrtorch::jit::script::Module”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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”需要有 dll 接口由 class“torch::serialize::OutputArchive”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/serialize/input-archive.h(78): note: 参见“std::shared_ptrtorch::jit::script::Module”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/script/lexer.h(384): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/script/lexer.h(458): warning C4267: “初始化”: 从“size_t”转换到“int”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/interpreter.h(42): warning C4251: “torch::jit::Code::pImpl”: class“std::shared_ptrtorch::jit::CodeImpl”需要有 dll 接口由 struct“torch::jit::Code”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/interpreter.h(42): note: 参见“std::shared_ptrtorch::jit::CodeImpl”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/argument_spec.h(189): warning C4267: “初始化”: 从“size_t”转换到“int32_t”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/argument_spec.h(192): warning C4267: “初始化”: 从“size_t”转换到“int32_t”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/argument_spec.h(192): warning C4267: “初始化”: 从“size_t”转换到“const int32_t”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/argument_spec.h(196): warning C4244: “+=”: 从“int64_t”转换到“int32_t”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/argument_spec.h(215): warning C4244: “+=”: 从“int64_t”转换到“int32_t”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/argument_spec.h(276): warning C4800: “const unsigned int”: 将值强制为布尔值“true”或“false”(性能警告)
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/argument_spec.h(367): warning C4267: “参数”: 从“size_t”转换到“const int”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/graph_executor.h(41): warning C4251: “torch::jit::GraphExecutor::pImpl”: class“std::shared_ptrtorch::jit::GraphExecutorImpl”需要有 dll 接口由 struct“torch::jit::GraphExecutor”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/graph_executor.h(41): note: 参见“std::shared_ptrtorch::jit::GraphExecutorImpl”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/script/module.h(56): warning C4267: “初始化”: 从“size_t”转换到“int”,可能丢失数据
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(93): warning C4275: 非 dll 接口 struct“torch::jit::script::SugaredValue”用作 dll 接口 struct“torch::jit::script::SimpleValue”的基
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(35): note: 参见“torch::jit::script::SugaredValue”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(93): note: 参见“torch::jit::script::SimpleValue”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(122): warning C4275: 非 dll 接口 struct“torch::jit::script::SugaredValue”用作 dll 接口 struct“torch::jit::script::BuiltinFunction”的基
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(35): note: 参见“torch::jit::script::SugaredValue”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(122): note: 参见“torch::jit::script::BuiltinFunction”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(130): warning C4251: “torch::jit::script::BuiltinFunction::self”: class“c10::optionaltorch::jit::NamedValue”需要有 dll 接口由 struct“torch::jit::script::BuiltinFunction”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/script/module.h(479): note: 参见“c10::optionaltorch::jit::NamedValue”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(143): warning C4275: 非 dll 接口 struct“torch::jit::script::SugaredValue”用作 dll 接口 struct“torch::jit::script::BuiltinModule”的基
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(35): note: 参见“torch::jit::script::SugaredValue”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(143): note: 参见“torch::jit::script::BuiltinModule”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>”需要有 dll 接口由 struct“torch::jit::script::BuiltinModule”的客户端使用
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xstring(2633): note: 参见“std::basic_string<char,std::char_traits,std::allocator>”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(160): warning C4251: “torch::jit::script::BuiltinModule::version”: class“c10::optional<int64_t>”需要有 dll 接口由 struct“torch::jit::script::BuiltinModule”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(145): note: 参见“c10::optional<int64_t>”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(167): warning C4275: 非 dll 接口 struct“torch::jit::script::SugaredValue”用作 dll 接口 struct“torch::jit::script::ForkValue”的基
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(35): note: 参见“torch::jit::script::SugaredValue”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(167): note: 参见“torch::jit::script::ForkValue”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(173): warning C4275: 非 dll 接口 struct“torch::jit::script::SugaredValue”用作 dll 接口 struct“torch::jit::script::AnnotateValue”的基
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(35): note: 参见“torch::jit::script::SugaredValue”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/script/compiler.h(173): note: 参见“torch::jit::script::AnnotateValue”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>”需要 有 dll 接口由 class“std::enable_shared_from_thistorch::nn::Module”的客户端使用
with
[
Ty=torch::nn::Module
]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\memory(1161): note: 参见“std::weak_ptr<Ty>”的声明
with
[
Ty=torch::nn::Module
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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”需要有 dll 接口由 class“torch::nn::Module”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/module.h(209): note: 参见“torch::OrderedDictstd::string,at::Tensor”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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”需要有 dll 接口由 class“torch::nn::Module”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/module.h(209): note: 参见“torch::OrderedDictstd::string,at::Tensor”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::nn::Module”的客户端使用
with
[
_Ty=torch::nn::Module
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/module.h(245): note: 参见“torch::OrderedDict<std::string,std::shared_ptr<Ty>>”的声明
with
[
Ty=torch::nn::Module
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/module.h(492): warning C4251: “torch::nn::Module::name”: class“c10::optionalstd::string”需要有 dll 接口由 class“torch::nn::Module”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/named_value.h(70): note: 参见“c10::optionalstd::string”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/pimpl.h(123): error C2872: “std”: 不明确的符号
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/argument_spec.h(380): note: 可能是“std”
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/pimpl.h(123): note: 或 “std”
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/batchnorm.h(92): note: 参见对正在编译的类 模板 实例化“torch::nn::ModuleHoldertorch::nn::BatchNormImpl”的引用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/stack.h(30): note: 参见对正在编译的类 模板 实例化“c10::ArrayRefc10::IValue”的引用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/pimpl.h(129): error C2872: “std”: 不明确的符号
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch/csrc/jit/argument_spec.h(380): note: 可能是“std”
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/pimpl.h(129): note: 或 “std”
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>”需要有 dll 接口由 class“torch::nn::ConvImpl<1,torch::nn::Conv1dImpl>”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/conv.h(87): note: 参见“torch::nn::ConvOptions<1>”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>”需要有 dll 接口由 class“torch::nn::ConvImpl<2,torch::nn::Conv2dImpl>”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/conv.h(87): note: 参见“torch::nn::ConvOptions<2>”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>”需要有 dll 接口由 class“torch::nn::ConvImpl<3,torch::nn::Conv3dImpl>”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/conv.h(87): note: 参见“torch::nn::ConvOptions<3>”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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)>”需要有 dll 接口由 class“torch::nn::FunctionalImpl”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/data/transforms/tensor.h(39): note: 参见“std::function<at::Tensor (at::Tensor)>”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::nn::detail::RNNImplBasetorch::nn::RNNImpl”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<_Ty>>”的声明
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::nn::detail::RNNImplBasetorch::nn::RNNImpl”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<_Ty>>”的声明
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::nn::detail::RNNImplBasetorch::nn::RNNImpl”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<_Ty>>”的声明
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::nn::detail::RNNImplBasetorch::nn::RNNImpl”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<Ty>>”的声明
with
[
Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>”需要有 dll 接口由 class“torch::nn::detail::RNNImplBasetorch::nn::RNNImpl”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/rnn.h(64): note: 参见“c10::optional<torch::nn::detail::RNNImplBasetorch::nn::RNNImpl::CuDNNMode>”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::nn::detail::RNNImplBasetorch::nn::RNNImpl”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<_Ty>>”的声明
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::nn::detail::RNNImplBasetorch::nn::LSTMImpl”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<_Ty>>”的声明
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::nn::detail::RNNImplBasetorch::nn::LSTMImpl”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<_Ty>>”的声明
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::nn::detail::RNNImplBasetorch::nn::LSTMImpl”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<_Ty>>”的声明
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::nn::detail::RNNImplBasetorch::nn::LSTMImpl”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<Ty>>”的声明
with
[
Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>”需要有 dll 接口由 class“torch::nn::detail::RNNImplBasetorch::nn::LSTMImpl”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/rnn.h(64): note: 参见“c10::optional<torch::nn::detail::RNNImplBasetorch::nn::LSTMImpl::CuDNNMode>”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::nn::detail::RNNImplBasetorch::nn::LSTMImpl”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<_Ty>>”的声明
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::nn::detail::RNNImplBasetorch::nn::GRUImpl”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<_Ty>>”的声明
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::nn::detail::RNNImplBasetorch::nn::GRUImpl”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<_Ty>>”的声明
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::nn::detail::RNNImplBasetorch::nn::GRUImpl”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<_Ty>>”的声明
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::nn::detail::RNNImplBasetorch::nn::GRUImpl”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<Ty>>”的声明
with
[
Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>”需要有 dll 接口由 class“torch::nn::detail::RNNImplBasetorch::nn::GRUImpl”的客户端使用
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/nn/modules/rnn.h(64): note: 参见“c10::optional<torch::nn::detail::RNNImplBasetorch::nn::GRUImpl::CuDNNMode>”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::nn::detail::RNNImplBasetorch::nn::GRUImpl”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<_Ty>>”的声明
with
[
Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::optim::detail::OptimizerBase”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<_Ty>>”的声明
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/adagrad.h(28): warning C4275: 非 dll 接口 class“torch::optim::Optimizer”用作 dll 接口 class“torch::optim::Adagrad”的基
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/optimizer.h(97): note: 参见“torch::optim::Optimizer”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/adagrad.h(28): note: 参见“torch::optim::Adagrad”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::optim::Adagrad”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<_Ty>>”的声明
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::optim::Adagrad”的客户端使用
with
[
_Ty=int64_t
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/typeid.h(580): note: 参 见“std::vector<int64_t,std::allocator<_Ty>>”的声明
with
[
_Ty=int64_t
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/adam.h(31): warning C4275: 非 dll 接口 class“torch::optim::Optimizer”用作 dll 接口 class“torch::optim::Adam”的基
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/optimizer.h(97): note: 参见“torch::optim::Optimizer”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/adam.h(31): note: 参见“torch::optim::Adam”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::optim::Adam”的客户端使用
with
[
_Ty=int64_t
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\c10/util/typeid.h(580): note: 参 见“std::vector<int64_t,std::allocator<_Ty>>”的声明
with
[
_Ty=int64_t
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::optim::Adam”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<_Ty>>”的声明
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::optim::Adam”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<_Ty>>”的声明
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::optim::Adam”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<_Ty>>”的声明
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/lbfgs.h(22): warning C4305: “初始化”: 从“double”到“float”截断
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/lbfgs.h(23): warning C4305: “初始化”: 从“double”到“float”截断
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/lbfgs.h(27): warning C4275: 非 dll 接口 class“torch::optim::LossClosureOptimizer”用作 dll 接口 class“torch::optim::LBFGS”的基
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/optimizer.h(107): note: 参见“torch::optim::LossClosureOptimizer”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/lbfgs.h(27): note: 参见“torch::optim::LBFGS”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::optim::LBFGS”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<_Ty>>”的声明
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::optim::LBFGS”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<_Ty>>”的声明
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::optim::LBFGS”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/lbfgs.h(50): note: 参见“std::deque<at::Tensor,std::allocator<_Ty>>”的声明
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::optim::LBFGS”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/lbfgs.h(50): note: 参见“std::deque<at::Tensor,std::allocator<_Ty>>”的声明
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/rmsprop.h(34): warning C4275: 非 dll 接口 class“torch::optim::Optimizer”用作 dll 接口 class“torch::optim::RMSprop”的基
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/optimizer.h(97): note: 参见“torch::optim::Optimizer”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/rmsprop.h(34): note: 参见“torch::optim::RMSprop”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::optim::RMSprop”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<_Ty>>”的声明
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::optim::RMSprop”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<_Ty>>”的声明
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>>”需要有 dll 接口由 class“torch::optim::RMSprop”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<_Ty>>”的声明
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/sgd.h(31): warning C4275: 非 dll 接口 class“torch::optim::Optimizer”用作 dll 接口 class“torch::optim::SGD”的基
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/optimizer.h(97): note: 参见“torch::optim::Optimizer”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\torch\csrc\api\include\torch/optim/sgd.h(31): note: 参见“torch::optim::SGD”的声明
C:\Users\Administrator\AppData\Roaming\Python\Python36\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>> ”需要有 dll 接口由 class“torch::optim::SGD”的客户端使用
with
[
_Ty=at::Tensor
]
C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\lib\include\ATen/core/Type.h(224): note: 参见“std::vector<at::Tensor,std::allocator<_Ty>>”的声明
with
[
_Ty=at::Tensor
]
error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2