神经网络训练问题集

1.tensorflow.python.framework.errors_impl.InternalError: CUDA runtime implicit initialization on GPU:0 failed. Status: out of memory

具体查询进程号的指令为

nvidia-smi

如果想要kill掉某个进程,指令为

kill -9 PID  #PID是nvidia-smi语句查询出来的PID号码


 2.tensorflow.python.framework.errors_impl.InternalError: cudaGetDevice() failed. Status: CUDA driver version is insufficientfor CUDA runtime version

可能是cuda和显卡驱动不一致

CUDA版本与显卡驱动版本匹配查询:https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html

cuda版本号查询:nvcc -V

查看显卡驱动:cat /proc/driver/nvidia/version

 

 

 3.pycharm批量修改

 

posted @ 2020-03-31 17:11  cocozi  阅读(1221)  评论(0)    收藏  举报