MobileViT V1 and V2
Collection
5 items • Updated
How to use kerasformers/mobilevit_s_deeplabv3 with KerasFormers:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
How to use kerasformers/mobilevit_s_deeplabv3 with Keras:
# Available backend options are: "jax", "torch", "tensorflow".
import os
os.environ["KERAS_BACKEND"] = "jax"
import keras
model = keras.saving.load_model("hf://kerasformers/mobilevit_s_deeplabv3")
Pure-Keras 3 weights for kerasformers, mirrored from the source. License: apple-amlr.
from kerasformers.models.mobilevit import MobileViTSemanticSegment
model = MobileViTSemanticSegment.from_weights("mobilevit_s_deeplabv3")