Instructions to use LayerFault/keras-custom-object with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use LayerFault/keras-custom-object with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://LayerFault/keras-custom-object") - Notebooks
- Google Colab
- Kaggle
Download model.keras from LayerFault/keras-custom-object: direct link, hf CLI and curl.
- Browser
- Download file 359 Bytes
-
https://huggingface.co/LayerFault/keras-custom-object/resolve/main/model.keras
- Command line
-
hf download hf://LayerFault/keras-custom-object/model.keras
-
curl -L -o model.keras https://huggingface.co/LayerFault/keras-custom-object/resolve/main/model.keras
359 Bytes
This file contains binary data. It cannot be displayed, but you can still download it.