to-creat
 import tensorflow as tf
from keras.backend.tensorflow_backend import set_session

config = tf.ConfigProto()
config.gpu_options.allocator_type = \'BFC\' #A "Best-fit with coalescing" algorithm, simplified from a version of dlmalloc.
config.gpu_options.per_process_gpu_memory_fraction = 0.3
config.gpu_options.allow_growth = True
set_session(tf.Session(config=config)) 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-01-04
  • 2021-07-14
  • 2021-10-24
  • 2021-09-05
  • 2022-12-23
  • 2021-12-07
  • 2021-10-05
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2021-11-20
  • 2021-10-05
相关资源
相似解决方案