Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

bpd_cuda找不着 #11

Open
OopsYouDiedE opened this issue Apr 6, 2022 · 1 comment
Open

bpd_cuda找不着 #11

OopsYouDiedE opened this issue Apr 6, 2022 · 1 comment

Comments

@OopsYouDiedE
Copy link

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

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

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

  • E
  • ~
    • CategoryInfo : ObjectNotFound: (E:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException

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

  • cdE:\Documents\Jnotebook专用\Super-BPD-master\post_process
  •   + CategoryInfo          : ObjectNotFound: (cdE:\Documents\...er\post_process:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    

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::InlineDeviceGuardc10::impl::VirtualGuardImpl
]
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::InlineDeviceGuardc10::impl::VirtualGuardImpl
]
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::InlineDeviceGuardc10::impl::VirtualGuardImpl
]
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::InlineDeviceGuardc10::impl::VirtualGuardImpl
]
C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase<c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl>”的引用
C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/core/impl/InlineDeviceGuard.h(427): note: 查看对正在编译的 类 模板 实例化“c10::optional<c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl>”的 引用
C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/core/DeviceGuard.h(178): note: 查看对正在编译的 类 模板 实例化“c10::impl::InlineOptionalDeviceGuardc10::impl::VirtualGuardImpl”的引用
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::InlineDeviceGuardc10::impl::VirtualGuardImpl
]
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::OptionalBaseat::TensorBase”的引用
C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\ATen/core/TensorBase.h(933): note: 查看对正在编译的 类 模板 实例化“c10::optionalat::TensorBase”的引用
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::OptionalBaseat::Tensor”的引用
C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\ATen/core/TensorBody.h(502): note: 查看对正在编译的 类 模板 实例化“c10::optionalat::Tensor”的引用
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::OptionalBaseat::Generator”的引用
C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\ATen/core/TensorBody.h(576): note: 查看对正在编译的 类 模板 实例化“c10::optionalat::Generator”的引用
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::OptionalBaseat::DimVector”的引用
C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\ATen/TensorIterator.h(766): note: 查看对正在编译的 类 模板 实例化“c10::optionalat::DimVector”的引用
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::OptionalBasestd::string”的引用
C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\ATen/core/jit_type_base.h(443): note: 查看对正在编译的 类 模板 实例化“c10::optionalstd::string”的引用
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::OptionalBasec10::QualifiedName”的引用
C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\ATen/core/jit_type_base.h(691): note: 查看对正在编译的 类 模板 实例化“c10::optionalc10::QualifiedName”的引用
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_ptrtorch::jit::CompilationUnit
]
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_ptrtorch::jit::CompilationUnit
]
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_ptrtorch::jit::CompilationUnit
]
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_ptrtorch::jit::CompilationUnit
]
C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase<std::shared_ptrtorch::jit::CompilationUnit>”的引用
C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\ATen/core/ivalue.h(1241): note: 查看对正在编译的 类 模板 实例化“c10::optional<std::shared_ptrtorch::jit::CompilationUnit>”的引用
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_ptrtorch::jit::CompilationUnit
]
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_ptrtorch::jit::CompilationUnit
]
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_ptrtorch::jit::CompilationUnit
]
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_ptrtorch::jit::CompilationUnit
]
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_ptrtorch::jit::CompilationUnit
]
C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase<std::weak_ptrtorch::jit::CompilationUnit>”的引用
C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\ATen/core/ivalue.h(1242): note: 查看对正在编译的 类 模板 实例化“c10::optional<std::weak_ptrtorch::jit::CompilationUnit>”的引用
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_ptrtorch::jit::CompilationUnit
]
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::allocatorc10::ShapeSymbol>
]
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::allocatorc10::ShapeSymbol>
]
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::allocatorc10::ShapeSymbol>
]
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::allocatorc10::ShapeSymbol>
]
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::allocatorc10::ShapeSymbol>>”的引用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::allocatorc10::ShapeSymbol>>”的引用
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::allocatorc10::ShapeSymbol>
]
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::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>
]
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::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>
]
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::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>
]
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::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>
]
C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\c10/util/Optional.h(540): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase<std::vector<c10::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>>”的引用
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::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>>”的引用
C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\ATen/core/jit_type.h(800): note: 查看对正在编译的 类 模板 实例化“c10::VaryingShapec10::Stride”的引用
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::optionalc10::Stride,std::allocator<c10::optionalc10::Stride>>
]
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<int64_t>,std::allocator<c10::optional<int64_t>>>
]
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<int64_t>,std::allocator<c10::optional<int64_t>>>
]
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<int64_t>,std::allocator<c10::optional<int64_t>>>
]
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<int64_t>,std::allocator<c10::optional<int64_t>>>
]
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<int64_t>,std::allocator<c10::optional<int64_t>>>>”的引用
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<int64_t>,std::allocator<c10::optional<int64_t>>>>”的引用
C:\Users\zznZZ\AppData\Local\Programs\Python\Python38\lib\site-packages\torch\include\ATen/core/jit_type.h(591): note: 查看对正在编译的 类 模板 实例化“c10::VaryingShape<int64_t>”的引用
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<int64_t>,std::allocator<c10::optional<int64_t>>>
]
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<int64_t>>
]
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<int64_t>>
]
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<int64_t>>

@JianqiangWan
Copy link
Owner

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

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

No branches or pull requests

2 participants