Skip to content

Instantly share code, notes, and snippets.

@a-agmon
Created July 28, 2021 20:00
Show Gist options
  • Save a-agmon/78c5eab092b2c8151d3cc6f13da9517f to your computer and use it in GitHub Desktop.
Save a-agmon/78c5eab092b2c8151d3cc6f13da9517f to your computer and use it in GitHub Desktop.
opt = optimizers.Adam(learning_rate=0.0001, clipvalue=0.5)
vae_model.compile(optimizer=opt, loss=vae_loss)
vae_model.summary()
# Finally, we train the model:
results = vae_model.fit(X_train, X_train,
shuffle=True,
epochs=32,
batch_size=256)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment