Skip to content

Commit

Permalink
Update simple_cerebros_random_search.py
Browse files Browse the repository at this point in the history
Inconstancy in package imports
  • Loading branch information
david-thrower authored Jun 12, 2024
1 parent cd6d6bd commit 36b6663
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,9 @@ def run_random_search(self):

def get_best_model(self):
best_model_path = self.best_model_path
best_model = clone_model(tf.keras.models.load_model(best_model_path))
best_model =\
tensorflow.keras.models.clone_model(
tf.keras.models.load_model(best_model_path))
# best_model = tf.keras.models.load_model(self.best_model_path)
return best_model

Expand Down

0 comments on commit 36b6663

Please sign in to comment.