keras tensorboard,强制只使用cpu

import os
os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID"   # see issue #152
os.environ["CUDA_VISIBLE_DEVICES"] = ""


转载自:http://blog.csdn.net/xiaojiajia007/article/details/72865764
posted @ 2018-01-22 17:23  blackx  阅读(2763)  评论(0编辑  收藏  举报