Skip to content

Commit

Permalink
Improved version compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
naturomics committed May 18, 2019
1 parent 373875c commit 4def9f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model.py
Expand Up @@ -105,7 +105,7 @@ def decode(self, labels=None, condition=None, epsilon=None):
eps = [None] * self.hps.num_levels

z = sample(eps=eps[-1])
objective = tf.zeros(tf.shape(z)[0])
objective = tf.zeros(self.hps.batch_size)

if self.hps.conditioning and condition is None:
condition = y_onehot
Expand Down

0 comments on commit 4def9f4

Please sign in to comment.