Skip to content

Commit

Permalink
Merge pull request #7 from kmader/patch-1
Browse files Browse the repository at this point in the history
Fixing for progressbar 3.6.2
  • Loading branch information
ikostrikov2 committed Apr 11, 2016
2 parents 36b2730 + 1df221a commit 44426b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion main-draw.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def get_reconstruction_cost(output_tensor, target_tensor, epsilon=1e-8):
training_loss = 0.0

widgets = ["epoch #%d|" % epoch, Percentage(), Bar(), ETA()]
pbar = ProgressBar(FLAGS.updates_per_epoch, widgets=widgets)
pbar = ProgressBar(max_value = FLAGS.updates_per_epoch, widgets=widgets)
pbar.start()
for i in range(FLAGS.updates_per_epoch):
pbar.update(i)
Expand Down
2 changes: 1 addition & 1 deletion main-gan.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def get_generator_loss(D2):
generator_loss = 0.0

widgets = ["epoch #%d|" % epoch, Percentage(), Bar(), ETA()]
pbar = ProgressBar(FLAGS.updates_per_epoch, widgets=widgets)
pbar = ProgressBar(max_value = FLAGS.updates_per_epoch, widgets=widgets)
pbar.start()
for i in range(FLAGS.updates_per_epoch):
pbar.update(i)
Expand Down
2 changes: 1 addition & 1 deletion main-vae.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def get_reconstruction_cost(output_tensor, target_tensor, epsilon=1e-8):
training_loss = 0.0

widgets = ["epoch #%d|" % epoch, Percentage(), Bar(), ETA()]
pbar = ProgressBar(FLAGS.updates_per_epoch, widgets=widgets)
pbar = ProgressBar(max_value = FLAGS.updates_per_epoch, widgets=widgets)
pbar.start()
for i in range(FLAGS.updates_per_epoch):
pbar.update(i)
Expand Down

0 comments on commit 44426b3

Please sign in to comment.