Keras-tuner Hyperband runing only 2 epochs

you can change the factor parameter to change that.
By default it is set to 3, but you can increase this number to get more than 2 epoch per trial

see : docs

The Hyperband tuning algorithm uses adaptive resource allocation and early-stopping to quickly converge on a high-performing model. This is done using a sports championship style bracket. The algorithm trains a large number of models for a few epochs and carries forward only the top-performing half of models to the next round. Hyperband determines the number of models to train in a bracket by computing 1 + logfactor(max_epochs) and rounding it up to the nearest integer.

Leave a Comment