HuggingFace stating a .keras file as unsafe

28 views
Skip to first unread message

Fadi Badine

unread,
Jan 9, 2025, 3:15:51 PMJan 9
to Keras-users
Hello everyone,

I was trying to upload a Keras 3 model to HF.
HF is saying that the .keras model file is unsafe with the following details:

Any idea what the problem is: I do not have any custom layers.
Here is the colab: 


Thanks
Fadi Badine

François Chollet

unread,
Jan 9, 2025, 3:44:21 PMJan 9
to Fadi Badine, Keras-users
This model is completely fine (only standard built-in layers, no Lambda layers), so the warning is entirely spurious.

--
You received this message because you are subscribed to the Google Groups "Keras-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keras-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/keras-users/0ad636ea-d94d-4fe6-a514-9bdf8ebea5d1n%40googlegroups.com.

Fadi Badine

unread,
Jan 9, 2025, 4:27:03 PMJan 9
to François Chollet, Keras-users
Thanks François!!
Reply all
Reply to author
Forward
0 new messages