尝试运行火炬,但遇到内部资产失败

2024-09-26 18:06:28 发布

您现在位置:Python中文网/ 问答频道 /正文

尝试从其他线程中尝试的解决方案卸载并重新安装多个不同版本

但仍然会遇到无法获取“支持的阅读版本”的问题

不知道这是不是因为windows的兼容性

in __init__
    super(_open_zipfile_reader, self).__init__(torch._C.PyTorchFileReader(name_or_buffer))

RuntimeError: version_ <= kMaxSupportedFileFormatVersion INTERNAL ASSERT FAILED 
at ..\caffe2\serialize\inline_container.cc:132, please report a bug to PyTorch. 
Attempted to read a PyTorch file with version 3, but the maximum supported version for reading is 2. 
Your PyTorch installation may be too old. (init at ..\caffe2\serialize\inline_container.cc:132)
(no backtrace available)

视窗101909(18363.1016)

CPU:AMD4800HS

GPU:1650Ti

Pytorch版本:1.4.0+cu92

torchvision版本:0.5.0

Python版本:3.7

编译程序:Spyder(Python3)

进口系统


Tags: toin版本initversionwindowscontainerinline

热门问题