Pytorch训练中途无错退出

Pycharm下运行pytorch中途进程无错跳出,不知道啥原因。

之前跑过完整的一次,后面就不行了?

第一次给出的提示是:

THCudaCheck FAIL file=..atensrcTHCTHCCachingHostAllocator.cpp line=278 error=719 : unspecified launch failure

有可能是新版驱动的原因,当前驱动版本是443.18

PyTorch - `THCudaCheck FAIL file=..atensrcTHCTHCCachingHostAllocator.cpp line=278 error=719 : unspecified launch failure` after a few epochs?

unspecified launch failure cuda运行时错误的讨论

pytorch计算错误unspecified launch failure

后面多次运行还是无错跳出进程,给出的提示是:
Process finished with exit code -1073740791 (0xC0000409)

网上给出的原因五花八门的。。。有一种可能说是h5py这个包引起的,卸载即可。

pycharm报错:Process finished with exit code -1073741819 (0xC0000005)

h5py这个坑-PyCharm Process finished with exit code -1073741819 (0xC0000005)

PyCharm Process finished with exit code -1073741819 (0xC0000005)

finished with exit code -1073740791 (0xC0000409)解决方案

Pycharm error “Process finished with exit code -1073740791 (0xC0000409)”

 
 
好像是因为CUDA 版本与cudnn,安装的pytorch参数配置不一致。
原文地址:https://www.cnblogs.com/jiangkejie/p/13741639.html