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
本站文章如无特殊说明,均为本站原创,如若转载,请注明出处:keras tensorboard,强制只使用cpu - Python技术站
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
本站文章如无特殊说明,均为本站原创,如若转载,请注明出处:keras tensorboard,强制只使用cpu - Python技术站