How to use from the
Use from the
Keras library
# Available backend options are: "jax", "torch", "tensorflow".
import os
os.environ["KERAS_BACKEND"] = "jax"

import keras

model = keras.saving.load_model("hf://aslein1413/poc-keras-torchmodulewrapper")

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

poc-keras-torchmodulewrapper

Security PoC - .keras with a TorchModuleWrapper layer runs torch.load pickle at load_model() time; ModelScan reports it clean. huntr disclosure.

Downloads last month
5
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support