JianqiangWan / Super-BPD

Super-BPD: Super Boundary-to-Pixel Direction for Fast Image Segmentation (CVPR 2020)
Apache License 2.0
200 stars 37 forks source link

bpd_cuda找不着 #11

Open OopsYouDiedE opened 2 years ago

OopsYouDiedE commented 2 years ago

我按照步骤安装bpd_cuda 但是打不开。 运行时显示没有模块 安装结果 Windows PowerShell 版权所有(C) Microsoft Corporation。保留所有权利。

安装最新的 PowerShell,了解新功能和改进!https://aka.ms/PSWindows

PS C:\Users\zznZZ> E E : 无法将“E”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后 再试一次。 所在位置 行:1 字符: 1

PS C:\Users\zznZZ> PS C:\Users\zznZZ> E: PS E:> cdE:\Documents\Jnotebook专用\Super-BPD-master\post_process cdE:\Documents\Jnotebook专用\Super-BPD-master\post_process : 无法将“cdE:\Documents\Jnotebook专用\Super-BPD-master\post _process”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一 次。 所在位置 行:1 字符: 1

PS E:> cd \Documents PS E:\Documents> cd Jnotebook专用 PS E:\Documents\Jnotebook专用> cd Super-BPD-master\post_process PS E:\Documents\Jnotebook专用\Super-BPD-master\post_process> python setup.py install running install running bdist_egg running egg_info writing bpd_cuda.egg-info\PKG-INFO writing dependency_links to bpd_cuda.egg-info\dependency_links.txt writing top-level names to bpd_cuda.egg-info\top_level.txt C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\utils\cpp_extension.py:387: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend. warnings.warn(msg.format('we could not find ninja.')) reading manifest file 'bpd_cuda.egg-info\SOURCES.txt' writing manifest file 'bpd_cuda.egg-info\SOURCES.txt' installing library code to build\bdist.win-amd64\egg running install_lib running build_ext C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\utils\cpp_extension.py:322: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。 warnings.warn(f'Error checking compiler version for {compiler}: {error}') building 'bpd_cuda' extension C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include -IC:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\TH -IC:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3\include" -IC:\Users\zznZZ\AppData\Local\Programs\Python\Python38\include -IC:\Users\zznZZ\AppData\Local\Programs\Python\Python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include" "-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 /Tpbpd_cuda.cpp /Fobuild\temp.win-amd64-3.8\Release\bpd_cuda.obj /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=bpd_cuda -D_GLIBCXX_USE_CXX11_ABI=0 bpd_cuda.cpp C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/macros/Macros.h(142): warning C4067: 预处理器指令后有意外标记 - 应输入换行符 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::InlineDeviceGuard ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(397): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::impl::InlineDeviceGuard ] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\type_traits(630): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::impl::InlineDeviceGuard ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 类 模板 实例化“std::is_copy_constructible<c10::trivially_copyable_optimization_optional_base>”的引用 with [ T=c10::impl::InlineDeviceGuard ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase<c10::impl::InlineDeviceGuard>”的引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/core/impl/InlineDeviceGuard.h(427): note: 查看对正在编译的 类 模板 实例化“c10::optional<c10::impl::InlineDeviceGuard>”的 引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/core/DeviceGuard.h(178): note: 查看对正在编译的 类 模板 实例化“c10::impl::InlineOptionalDeviceGuard”的引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::InlineDeviceGuard ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=at::TensorBase ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(397): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=at::TensorBase ] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\type_traits(630): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=at::TensorBase ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 类 模板 实例化“std::is_copy_constructible<c10::trivially_copyable_optimization_optional_base>”的引用 with [ T=at::TensorBase ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\ATen/core/TensorBase.h(933): note: 查看对正在编译的 类 模板 实例化“c10::optional”的引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=at::TensorBase ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=at::Tensor ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(397): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=at::Tensor ] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\type_traits(630): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=at::Tensor ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 类 模板 实例化“std::is_copy_constructible<c10::trivially_copyable_optimization_optional_base>”的引用 with [ T=at::Tensor ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\ATen/core/TensorBody.h(502): note: 查看对正在编译的 类 模板 实例化“c10::optional”的引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=at::Tensor ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=at::Generator ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(397): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=at::Generator ] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\type_traits(630): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=at::Generator ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 类 模板 实例化“std::is_copy_constructible<c10::trivially_copyable_optimization_optional_base>”的引用 with [ T=at::Generator ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\ATen/core/TensorBody.h(576): note: 查看对正在编译的 类 模板 实例化“c10::optional”的引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=at::Generator ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=at::DimVector ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(397): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=at::DimVector ] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\type_traits(630): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=at::DimVector ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 类 模板 实例化“std::is_copy_constructible<c10::trivially_copyable_optimization_optional_base>”的引用 with [ T=at::DimVector ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\ATen/TensorIterator.h(766): note: 查看对正在编译的 类 模板 实例化“c10::optional”的引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=at::DimVector ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::string ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(397): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::string ] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\type_traits(630): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::string ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 类 模板 实例化“std::is_copy_constructible<c10::trivially_copyable_optimization_optional_base>”的引用 with [ T=std::string ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\ATen/core/jit_type_base.h(443): note: 查看对正在编译的 类 模板 实例化“c10::optional”的引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::string ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::QualifiedName ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(397): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::QualifiedName ] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\type_traits(630): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::QualifiedName ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 类 模板 实例化“std::is_copy_constructible<c10::trivially_copyable_optimization_optional_base>”的引用 with [ T=c10::QualifiedName ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\ATen/core/jit_type_base.h(691): note: 查看对正在编译的 类 模板 实例化“c10::optional”的引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::QualifiedName ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::shared_ptr ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(397): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::shared_ptr ] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\type_traits(630): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::shared_ptr ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 类 模板 实例化“std::is_copy_constructible<c10::trivially_copyable_optimization_optional_base>”的引用 with [ T=std::shared_ptr ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase<std::shared_ptr>”的引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\ATen/core/ivalue.h(1241): note: 查看对正在编译的 类 模板 实例化“c10::optional<std::shared_ptr>”的引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::shared_ptr ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::weak_ptr ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(397): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::weak_ptr ] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\type_traits(630): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::weak_ptr ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 类 模板 实例化“std::is_copy_constructible<c10::trivially_copyable_optimization_optional_base>”的引用 with [ T=std::weak_ptr ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase<std::weak_ptr>”的引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\ATen/core/ivalue.h(1242): note: 查看对正在编译的 类 模板 实例化“c10::optional<std::weak_ptr>”的引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::weak_ptr ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::ShapeSymbol,std::allocator> ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(397): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<c10::ShapeSymbol,std::allocator> ] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\type_traits(630): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<c10::ShapeSymbol,std::allocator> ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 类 模板 实例化“std::is_copy_constructible<c10::trivially_copyable_optimization_optional_base>”的引用 with [ T=std::vector<c10::ShapeSymbol,std::allocator> ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase<std::vector<c10::ShapeSymbol,std::allocator>>”的引用C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\ATen/core/jit_type.h(460): note: 查看对正在编译的 类 模板 实例化“c10::optional<std::vector<c10::ShapeSymbol,std::allocator>>”的引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::ShapeSymbol,std::allocator> ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(397): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\type_traits(630): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 类 模板 实例化“std::is_copy_constructible<c10::trivially_copyable_optimization_optional_base>”的引用 with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase<std::vector<c10::optional,std::allocator<c10::optional>>>”的引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\ATen/core/jit_type.h(545): note: 查看对正在编译的 类 模板 实例化“c10::optional<std::vector<c10::optional,std::allocator<c10::optional>>>”的引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\ATen/core/jit_type.h(800): note: 查看对正在编译的 类 模板 实例化“c10::VaryingShape”的引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(397): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\type_traits(630): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 类 模板 实例化“std::is_copy_constructible<c10::trivially_copyable_optimization_optional_base>”的引用 with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase<std::vector<c10::optional,std::allocator<c10::optional>>>”的引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\ATen/core/jit_type.h(545): note: 查看对正在编译的 类 模板 实例化“c10::optional<std::vector<c10::optional,std::allocator<c10::optional>>>”的引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\ATen/core/jit_type.h(591): note: 查看对正在编译的 类 模板 实例化“c10::VaryingShape”的引用 C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(432): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(198): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<int64_t,std::allocator> ] C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(397): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<int64_t,std::allocator> ] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\type_traits(630): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<int64_t,std::allocator>

JianqiangWan commented 2 years ago

建议你用Linux机器试一下,我也没有在windows上试过😂