Instructions to use keras/sam_large_sa1b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasHub
How to use keras/sam_large_sa1b with KerasHub:
import keras_hub # Create a ImageSegmenter model task = keras_hub.models.ImageSegmenter.from_preset("hf://keras/sam_large_sa1b")import keras_hub # Create a Backbone model unspecialized for any task backbone = keras_hub.models.Backbone.from_preset("hf://keras/sam_large_sa1b") - Keras
How to use keras/sam_large_sa1b 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://keras/sam_large_sa1b") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md with new model card content
Verified signature8c04a2f
-
Upload folder using huggingface_hub
Verified signature884a3c0
-
Update README.md with new model card content
Verified signature9b37dc1
-
Update README.md
Verified signature053fb33
-
Update README.md
Verified signature26c6925
-
Update README.md with new model card content
Verified signaturec65ee5c
-
Update README.md with new model card content
Verified signaturef3d9c5d -
Update README.md with new model card content
Verified signature3717710 -
Update README.md with new model card content
Verified signature815453f
-
Upload folder using huggingface_hub
Verified signature6eb610d -
initial commit
Verified signature40f941e