1、PytorchStreamReader failed reading zip archive: failed finding central directory
遇到这种问题是因为pth文件下载不完整,删掉缓存中的pth文件,重新下载就好了
2、tuple has no attribute to “size”?
这种问题是transformer版本错误或者gpt2文件错误,还需要检查神经网络的输出,看是不是有多个输出。
pytorch debug记录
最新推荐文章于 2024-12-17 22:59:11 发布