GPUのドライバ入れた!CUDAもOK!けどTensorFlowでちゃんと使えてるかわからん!ってときの確認用 環境 Python 3.6.2 Anaconda Ubuntu 方法 from tensorflow.python.client import device_lib device_lib.list_local_devices() を実行してdevice_type:GPUのやつがあれば認識してる。 実際にやってみると、 $ python >>> from tensorflow.python.client import device_lib return f(*args, **kwds) >>> device_lib.list_local_devices() 2018-01-12 20:09:07.451631: I tensorflow/stream_executor/cuda/c