RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

RuntimeError: [enforce fail at ..\caffe2\serialize\inline_container.cc:145] . PytorchStreamReader failed reading zip archive: failed finding central directory

原因是模型文件损坏,可能是你在模型写入的时候强行停止程序运行. 需要重新训练

你可能感兴趣的:(python,pytorch,知识图谱,自然语言处理)