Skip to content

Commit

Permalink
Bug fix with GANs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ragav Venkatesan committed Mar 4, 2017
1 parent 85f4571 commit f2e04e0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pantry/tutorials/gan.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ def deep_gan (dataset, verbose = 1 ):
origin = "x",
num_neurons = 40,
filter_shape = (5,5),
poolsize = (2,2),
pool_size = (2,2),
activation = ('maxout', 'maxout', 2),
regularize = True,
batch_norm = True,
Expand All @@ -380,7 +380,7 @@ def deep_gan (dataset, verbose = 1 ):
origin = "G(z)-unflattened",
num_neurons = 40,
filter_shape = (5,5),
poolsize = (2,2),
pool_size = (2,2),
activation = ('maxout', 'maxout', 2),
regularize = True,
batch_norm = True,
Expand All @@ -392,8 +392,8 @@ def deep_gan (dataset, verbose = 1 ):
id = "D2-x",
origin = "D1-x",
num_neurons = 100,
filter_shape = (3,3),
poolsize = (2,2),
net = (3,3),
pool_size = (2,2),
activation = ('maxout', 'maxout', 2),
regularize = True,
batch_norm = True,
Expand All @@ -406,7 +406,7 @@ def deep_gan (dataset, verbose = 1 ):
num_neurons = 100,
activation = ('maxout', 'maxout', 2),
filter_shape = (3,3),
poolsize = (2,2),
pool_size = (2,2),
regularize = True,
batch_norm = True,
input_params = net.dropout_layers['D2-x'].params,
Expand Down

0 comments on commit f2e04e0

Please sign in to comment.