1 year ago
#384422
Brandyn Ewanek
why keras-tuner .get_best_models() only returns untrained model?
Hi so using keras tuner to do gridsearchs on various hyperparameters.
using
tuner.results_summary(5)
returns hyperparameters and scores of the 5 best models.
We can see then that it is saving a record of the models. But is it only saving the record of hypermeters and not models? When i call
model = tuner.get_best_models(num_models=1)[0]
the model returned is the untrained original default parameters used as a holding place for setting up the model going into the grid search. At least I can access the record of hyperparameters but is it possible to get the best trained model?
tensorflow
keras
grid-search
0 Answers
Your Answer