SHARE
TWEET

Untitled

a guest Jun 15th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. config = tf.ConfigProto()
  2. config.gpu_options.allow_growth=True
  3. sess = tf.Session(config=config)
  4.      
  5. gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction=0.333)
  6. sess = tf.Session(config=tf.ConfigProto(gpu_options=gpu_options))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top