原文:tensorflow查看使用的是cpu還是gpu

https: stackoverflow.com questions how to tell if tensorflow is using gpu acceleration from inside python shell 方法 方法 方法 安裝了tensorflow gpu,但是train的時候用的還是cpu.用方法 能檢測到gpu,但實際上計算的時候還是用了cpu 用方法 可以檢測出來. 找到 ...

2019-09-20 11:45 0 9277 推薦指數:

查看詳情

tensorflow 使用 cpu 而不使用 gpu 問題

查看 tensorflow 版本   conda list 例如發現 tensorflow 1.10.0   tensorflow-gpu 1.10.0 當兩個版本相同時,默認會使用 cpu 版本 如果同時存在 cpugpu 版本的 tensorflow,系統默認使用版本高 ...

Thu Sep 19 01:52:00 CST 2019 0 3016
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM