pytorch 加载预训练模型 core dumped

pytorch加载预训练模型出现Segmentation fault (core dumped) 错误,解决方案:升级pytorch版本到1.5.1。

conda升级方式: conda install pytorch=1.5.1 -c soumith

参考:https://github.com/huggingface/transformers/issues/118

posted @ 2020-09-04 18:22  AliceYing  阅读(891)  评论(0)    收藏  举报