I tend to use it from utility module like notebook_utilimport notebook_utilnotebook_util.pick_gpu_lowest_memory()import tensorflow as tf 这篇关于Tensorflow 在 jupyter 中设置 CUDA_VISIBLE_DEVICES的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-27 16:05