资讯动态

【Pytorch】Pytorch:terminate called after throwing an instance of ‘c10::Error‘

发布时间:2026/10/22 20:30:53 来源:尧图企业网站定制
这个是LZ在加载模型时报的一个错误一直以为是版本什么的问题最后发现完整报错如下:RuntimeError: unexpected EOF, expected 41812675 more bytes. The file might be corrupted. terminate called after throwing an instance of c10::ErrorEOF是代表文件结束的标记原来是模型被破坏了后面重新下载了一遍模型问题解决

读完文章,也想定制专属网站?

尧图设计师 24 小时内与您沟通定制方案

免费获取报价 →
↑