GPT2-Chinese
GPT2-Chinese copied to clipboard
Segmentation fault (core dumped)
有没有人遇到这个问题:用train_single.py训练的时候是正常的,没有报错。但是用train.py训练,就出现报错:Segmentation fault (core dumped)。
更换torch版本
tensorboard的问题 可以试试吧tensorboard的import拿到最前面 还是不行的话就只能重装torch和tensorboard了
好的,谢谢!
On Mon, Dec 21, 2020 at 9:48 PM mwzdouks [email protected] wrote:
tensorboard的问题 可以试试吧tensorboard的import拿到最前面 还是不行的话就只能重装torch和tensorboard了
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Morizeyao/GPT2-Chinese/issues/172#issuecomment-748982392, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALB7TQBADO7KZPNOQOD3PR3SV5G3FANCNFSM4RLFGW5A .
torch的问题
pip install torch==1.12.0+cu113 torchvision==0.13.0+cu113 torchaudio==0.12.0 --extra-index-url https://download.pytorch.org/whl/cu113