神经网络训练问题集


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批量修改

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM