这是因为使用Pytorch下载网络模型时由于网络等的原因导致模型参数下载不完整造成的,我们可以去到下载模型的文件夹中将其删除,然后再重新下载。
预训练模型保存位置:C:\Users\admin\.cache\torch\hub\checkpoints
RuntimeError: unexpected EOF, expected 309663195 more bytes. The file might be corrupted.暴力解决
最新推荐文章于 2024-03-03 19:15:09 发布