原文: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