Skip to content

Commit

Permalink
update to gan
Browse files Browse the repository at this point in the history
  • Loading branch information
Ragav Venkatesan committed Jan 24, 2017
1 parent ec3fa52 commit 7195cae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pantry/tutorials/gan.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def simple_gan ( dataset= None, verbose = 1 ):
origin = "z",
id = "G(z)",
num_neurons = 784,
activation = 'relu',
activation = 'tanh',
verbose = verbose
)

Expand Down Expand Up @@ -177,7 +177,7 @@ def simple_gan ( dataset= None, verbose = 1 ):
learning_rates = (0.05, 0.01)

net.train( epochs = (10),
k = 30, # refer to Ian Goodfellow's paper Algorithm 1.
k = 10, # refer to Ian Goodfellow's paper Algorithm 1.
validate_after_epochs = 1,
training_accuracy = True,
show_progress = True,
Expand Down

0 comments on commit 7195cae

Please sign in to comment.