佳简诚锄

关注

在CPU上运行Tensorflow

佳简诚锄

关注

阅读 61

2022-07-18

如果你是用的GPU版本的Tensorflow,你可以这样来使用CPU版本的Tensorlfow:

config = tf.ConfigProto(
device_count = {'GPU': 0}
)
sess = tf.Session(config=config)

 

黄世宇/Shiyu Huang's Personal Page:​​https://huangshiyu13.github.io/​​



相关推荐

倪雅各

在 windows 系统上安装 tensorflow 和 keras(CPU)

倪雅各 195 0 0

唯米天空

Tensorflow 运行警告提示 Your CPU supports instructions that this TensorFlow

唯米天空 46 0 0

分湖芝蘭

使用GGML和LangChain在CPU上运行量化的llama2

分湖芝蘭 72 0 0

老北京的热干面

在GPU上运行PyTorch

老北京的热干面 15 0 0

ixiaoyang8

TensorFlow测试CPU、GPU

ixiaoyang8 185 0 0

小亦同学321

在Spark上运行apache beam

小亦同学321 118 0 0

就是耍帅

在Linux/Ubuntu/Debian上安装TensorFlow 2.14.0

就是耍帅 6 0 0

_LEON_

Tensorflow使用CPU, 不用GUP

_LEON_ 65 0 0

49路末班车

Tensorflow训练视觉模型(CPU)

49路末班车 6 0 0

萨科潘

在 Azure 上使用 Docker运行 Mono

萨科潘 101 0 0

精彩评论(0)

0 0 举报