1. 程式人生 > >Tensorflow—gpu報錯

Tensorflow—gpu報錯

common binary mage cut 技術 sla pos class cif

一晚上什麽事都沒做,就一直在查找tensorflow1.4缺少cudnn64_6的錯誤。

最後發現自己一直用的是cudnn64_7,即使改成cudnn64_6仍不可行。主要受實驗室大佬安裝的cudnn64_7的影響,估計它用的是cuda9。最後重新下載安裝了cudnn64_6後代碼跑成功了。

撒花!!!技術分享圖片技術分享圖片技術分享圖片

附上錯誤語句


I tensorflow/core/common_runtime/gpu/gpu_device.cc:838] Creating TensorFlow device(/gpu:0) -> (device: 0, name: Tesla K20m, pci bus id: 0000:02:00.0) E tensorflow
/stream_executor/cuda/cuda_dnn.cc:347] Loaded runtime CuDNN library: 6022 (compatibility version 5000) but source was compiled with 5103 (compatibility version 5100). If using a binary install, upgrade your CuDNN library to match. If building from sources, make sure the library loaded at runtime matches a compatible version specified during compile configuration.

Tensorflow—gpu報錯