Open giulatona opened 11 months ago
I might not be your case, however I have fixed this error by removing my custom-defined metric (in my case f1score) from the model used in build_model()
. It seems it was not saved properly/not implemented properly for this specific (tuner) case.
Describe the bug Calling
tuner.get_best_models()
at the end of hp tuning issues several warnings due to missing checkpoints.To Reproduce The official example in the documentation shows this problem. It can be reproduced in the related Colab Notebook.
Expected behavior No warnings should be issued.
Would you like to help us fix it? I do not know the codebase enough.