Instructions to use kerasformers/mask2former-swin-tiny-coco-instance with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasFormers
How to use kerasformers/mask2former-swin-tiny-coco-instance 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
- Keras
How to use kerasformers/mask2former-swin-tiny-coco-instance 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/mask2former-swin-tiny-coco-instance") - Notebooks
- Google Colab
- Kaggle
metadata
pipeline_tag: image-segmentation
license: mit
library_name: kerasformers
tags:
- keras
- kerasformers
- mask2former
- tf
- jax
- pytorch
mask2former-swin-tiny-coco-instance (Keras 3)
Pure-Keras 3 weights for kerasformers, mirrored from the source. License: mit.
from kerasformers.models.mask2former import Mask2FormerUniversalSegment
model = Mask2FormerUniversalSegment.from_weights("mask2former-swin-tiny-coco-instance")