Skip to content

Instantly share code, notes, and snippets.

@shyamal18122000
Created August 28, 2021 21:35
Show Gist options
  • Save shyamal18122000/7bbf94115356e986d03347c4b25ca72a to your computer and use it in GitHub Desktop.
Save shyamal18122000/7bbf94115356e986d03347c4b25ca72a to your computer and use it in GitHub Desktop.
from tensorflow.keras.optimizers import Adam
model.compile(
loss="categorical_crossentropy",
optimizer=Adam(lr=0.001),
metrics=['accuracy']
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment