首页
it技术
登录
6mi
u
盘
搜
搜 索
it技术
Pytorch:terminate called after throwing an instance of ‘c10::Error‘
Pytorch:terminate called after throwing an instance of ‘c10::Error‘
it
2024-10-26
36
这个是LZ在加载模型时报的一个错误,一直以为是版本什么的问题,最后发现完整报错如下:
RuntimeError: unexpected EOF, expected 41812675 more bytes. The file might be corrupted. terminate called after throwing an instance of 'c10::Error'
EOF是代表文件结束的标记,原来是模型被破坏了,后面重新下载了一遍模型,问题解决!
转载请注明原文地址: https://lol.8miu.com/read-19681.html
最新回复
(
0
)