import os
os.environ["CUDA_VISIBLE_DEVICES"]="-1"
tensorflow只用CPU运行
最新推荐文章于 2024-05-20 15:40:11 发布
import os
os.environ["CUDA_VISIBLE_DEVICES"]="-1"