Skip to content

Commit

Permalink
proper epoch size
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanZotti authored Aug 30, 2016
1 parent 43a5217 commit e98bd08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions train_conv_net.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def max_pool_2x2(x):
predictors = train_predictors[data_index:data_index+50]
target = train_targets[data_index:data_index+50]

if i%1 == 0:
if i%425 == 0:

# Not sure what these two lines do
run_opts = tf.RunOptions(trace_level=tf.RunOptions.FULL_TRACE)
Expand Down Expand Up @@ -194,4 +194,4 @@ def max_pool_2x2(x):
#print("validation accuracy %g" % accuracy.eval(feed_dict={x: validation_predictors, y_: validation_targets, keep_prob: 1.0}))

# Marks unambiguous successful completion to prevent deletion by cleanup script
shell_command('touch '+tfboard_run_dir+'/SUCCESS')
shell_command('touch '+tfboard_run_dir+'/SUCCESS')

0 comments on commit e98bd08

Please sign in to comment.