Skip to content
Permalink
Browse files

Fixed syntax issue.

  • Loading branch information...
Armour committed Jun 29, 2018
1 parent f3c7da5 commit 061d07617a625280da6eb5e6f578a5a830db88b8
Showing with 1 addition and 1 deletion.
  1. +1 −1 train.py
@@ -21,7 +21,7 @@
summary_hook = tf.train.SummarySaverHook(output_dir=training_summary, save_steps=display_step, scaffold=scaffold)
checkpoint_hook = tf.train.CheckpointSaverHook(checkpoint_dir=summary_path, save_steps=saving_step, scaffold=scaffold)
num_step_hook = tf.train.StopAtStepHook(num_steps=training_iters)
config = tf.ConfigProto(allow_soft_placement=True, log_device_placement=True, gpu_options=(tf.GPUOptions(allow_growth=True))
config = tf.ConfigProto(allow_soft_placement=True, log_device_placement=True, gpu_options=(tf.GPUOptions(allow_growth=True)))

# Create a session for running operations in the Graph.
with tf.train.MonitoredTrainingSession(checkpoint_dir=summary_path,

0 comments on commit 061d076

Please sign in to comment.
You can’t perform that action at this time.