aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornunzip <np.scarh@gmail.com>2019-02-28 00:52:43 +0000
committernunzip <np.scarh@gmail.com>2019-02-28 00:52:43 +0000
commit010848a0311988dbf317dc1ce857f2a3474b36c3 (patch)
treef7eebce871cc33376790d371f77db80d178a0024
parent0665b7fe0169a1b8126502f8945e4535d3c7c693 (diff)
downloade4-gan-010848a0311988dbf317dc1ce857f2a3474b36c3.tar.gz
e4-gan-010848a0311988dbf317dc1ce857f2a3474b36c3.tar.bz2
e4-gan-010848a0311988dbf317dc1ce857f2a3474b36c3.zip
Clear previous update on epoch
-rw-r--r--cgan.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgan.py b/cgan.py
index 716e5ae..3c89121 100644
--- a/cgan.py
+++ b/cgan.py
@@ -156,6 +156,7 @@ class CGAN():
# Plot the progress
#print ("%d [D loss: %f, acc.: %.2f%%] [G loss: %f]" % (epoch, d_loss[0], 100*d_loss[1], g_loss))
if epoch % 500 == 0:
+ clear_output()
print(epoch)
loss[0][epoch] = d_loss[0]
loss[1][epoch] = g_loss