Dst tensor is not initialized."/>
InternalError: Dst tensor is not initialized.
2019/7/26 周五 ?
用GPU跑CNN程序时,报错tensorflow.python.framework.errors_impl.InternalError: Dst tensor is not initialized. [[node save_1/RestoreV2 (defined at test.py:219) ]]
分析:出现这个错误一般是GPU内存耗尽
解决如下:
- 查看 nvidia-smi,查看GPU运行情况,发现当前使用的“2”已被占用
- 改换成未被使用的"3"
os.environ['CUDA_VISIBLE_DEVICES']='3'
更多推荐
InternalError: Dst tensor is not initialized.
发布评论