autokeras icon indicating copy to clipboard operation
autokeras copied to clipboard

Fixed: #1494 Check optimizer and learning rate settings

Open jwliou opened this issue 2 years ago • 3 comments

Which issue(s) does this Pull Request fix?

Partial resolves #1494

Details of the Pull Request

In fact, this fix is more likely a resolving for #1480. (with implicit insertion of rmsprop and adadelta optimizers with default settings.)

This pull request is for checking if there already exist hyperparameter settings for optimizer and learning rate in current hp. Original code will just overwrite any possible optimizer and learning rate settings already in hp so that every model needs to search from a preset optimizer and learning rate space even if you set these in elsewhere such as tuners/task_specific.py.

It could be better to serialize optimizer settings, but where to put the serialization operations will be the next problem.

jwliou avatar Jun 11 '22 12:06 jwliou

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar Jun 11 '22 12:06 google-cla[bot]

See also: #1734

Anselmoo avatar Jun 14 '22 11:06 Anselmoo

Optimizer will be a larger block of settings including learning rate, instead of considering optimizer and learning rate separately.

jwliou avatar Jun 14 '22 12:06 jwliou