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://zeromodels/sam2_hiera_tiny")

sam2_hiera_tiny (Keras 3)

GitHub Docs Collection

Pure-Keras 3 weights for zeromodels, mirrored from the source. License: apache-2.0.

from zeromodels.models.sam2 import SAM2PromptableSegment
model = SAM2PromptableSegment.from_weights("sam2_hiera_tiny")
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support