How to skip trials that end in a wrong model #565
-
I'm wondering if there is a way to skip trials that end up in a combination of hyperparameters that cause the model to fail building. Is there any way to just ignore the trials that result in error? and continue searching other options? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Currently, there is no quick solution to this, you may need to make some if statements in the |
Beta Was this translation helpful? Give feedback.
-
It's not an official API, but you can control the number of failed model builds that will be attempted before Keras Tuner gives up.
|
Beta Was this translation helpful? Give feedback.
Currently, there is no quick solution to this, you may need to make some if statements in the
build
function, when you use the hps to create the model.