Skip to content

Commit

Permalink
False --> None
Browse files Browse the repository at this point in the history
  • Loading branch information
kmyi committed Jan 17, 2017
1 parent 913a470 commit 9908232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def _build_refiner(self, layer):
self.refiner_vars = tf.contrib.framework.get_variables(sc)
return output

def _build_discrim(self, layer, name, reuse=None):
def _build_discrim(self, layer, name, reuse=False):
with tf.variable_scope("discriminator", reuse=reuse) as sc:
layer = conv2d(layer, 96, 3, 2, scope="conv_1", name=name)
layer = conv2d(layer, 64, 3, 2, scope="conv_2", name=name)
Expand Down

0 comments on commit 9908232

Please sign in to comment.