Skip to content

Commit

Permalink
Merge pull request #97 from nitinsethi22/patch-1
Browse files Browse the repository at this point in the history
Update context_encoder.py
  • Loading branch information
eriklindernoren authored Nov 19, 2018
2 parents fcddb21 + c2d5ec4 commit 77ed721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion context_encoder/context_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def train(self, epochs, batch_size=128, sample_interval=50):
X_train = np.vstack((X_cats, X_dogs))

# Rescale -1 to 1
X_train = X_train / 175.5 - 1.
X_train = X_train / 127.5 - 1.
y_train = y_train.reshape(-1, 1)

# Adversarial ground truths
Expand Down

0 comments on commit 77ed721

Please sign in to comment.