Pytorch:terminate called after throwing an instance of ‘c10::Error‘
程序员文章站
2022-07-13 23:53:16
...
这个是LZ在加载模型时报的一个错误,一直以为是版本什么的问题,最后发现完整报错如下:
RuntimeError: unexpected EOF, expected 41812675 more bytes. The file might be corrupted.
terminate called after throwing an instance of 'c10::Error'
EOF是代表文件结束的标记,原来是模型被破坏了,后面重新下载了一遍模型,问题解决!
上一篇: 升腾c10,华为ct3100安装nextcloud,KodExplorer网盘
下一篇: terminate called after throwing an instance of ‘c10::IndexError‘
推荐阅读
-
libtorch加载模型出错:terminate called after throwing an instance of 'c10::Error'
-
Pytorch:terminate called after throwing an instance of ‘c10::Error‘
-
terminate called after throwing an instance of ‘c10::IndexError‘
-
《视觉SLAM 十四讲》第五讲 实践:拼接点云-编译遇到的terminate called after throwing an instance of 'pcl::IOException问题及解决方法