For my task I need to save the best model, the best model I found by sweeping. Once I have the best model, I want to use its configuration (and everything) to train it again but without its weigths; it should begin untrained.
If I then use model.fit with the loaded model. Could I let it know what batch size, learning rate and optimizer was used to train the loaded model? How?
Note that you need to specify the same optimizer and loss function as used in the original model. You can also specify the same metrics to evaluate the model’s performance during training.
Now finally, you can train the new untrained model using model.fit() , and pass in the training data and validation data.