Skip to content
Snippets Groups Projects
Commit c9174c0f authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

GPU configurations

parent bb94730f
No related branches found
No related tags found
No related merge requests found
...@@ -332,7 +332,8 @@ class Trainer(object): ...@@ -332,7 +332,8 @@ class Trainer(object):
logger.info("Initializing !!") logger.info("Initializing !!")
config = tf.ConfigProto(log_device_placement=True) config = tf.ConfigProto(log_device_placement=True,
gpu_options=tf.GPUOptions(per_process_gpu_memory_fraction=0.333))
config.gpu_options.allow_growth = True config.gpu_options.allow_growth = True
# Pickle the architecture to save # Pickle the architecture to save
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment