79695615

Date: 2025-07-09 12:31:05
Score: 2
Natty:
Report link

(Unable to add a comment right now due to low rep)

But have you tried loading within a custom scope?

custom_objects = {"CustomLayer": CustomLayer, "custom_fn": custom_fn}

with keras.saving.custom_object_scope(custom_objects):
    reconstructed_model = keras.models.load_model("custom_model.keras")
Reasons:
  • Whitelisted phrase (-1): have you tried
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: smallio