Skip to content

Instantly share code, notes, and snippets.

@StrikingLoo
Created April 20, 2019 05:03
Show Gist options
  • Save StrikingLoo/b55e9068adea4f6d56f2a30cb36ec3ba to your computer and use it in GitHub Desktop.
Save StrikingLoo/b55e9068adea4f6d56f2a30cb36ec3ba to your computer and use it in GitHub Desktop.
customAdam = keras.optimizers.Adam(lr=0.001) #you have no idea how many times I changed this number
model.compile(optimizer=customAdam, # Optimizer
# Loss function to minimize
loss="mean_squared_error",
# List of metrics to monitor
metrics=["mean_squared_error"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment