Instructions to use zeromodels/mask2former-swin-base-coco-instance with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use zeromodels/mask2former-swin-base-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://zeromodels/mask2former-swin-base-coco-instance") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- README.md +18 -0
- model.weights.h5 +3 -0
README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pipeline_tag: image-segmentation
|
| 3 |
+
license: mit
|
| 4 |
+
library_name: kerasformers
|
| 5 |
+
tags:
|
| 6 |
+
- keras
|
| 7 |
+
- kerasformers
|
| 8 |
+
- mask2former
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# mask2former-swin-base-coco-instance (Keras 3)
|
| 12 |
+
|
| 13 |
+
Pure-Keras 3 weights for [kerasformers](https://github.com/IMvision12/KerasFormers), mirrored from the source. License: `mit`.
|
| 14 |
+
|
| 15 |
+
```python
|
| 16 |
+
from kerasformers.models.mask2former import Mask2FormerUniversalSegment
|
| 17 |
+
model = Mask2FormerUniversalSegment.from_weights("mask2former-swin-base-coco-instance")
|
| 18 |
+
```
|
model.weights.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a5acd23f788f60fd696c6dde5ea8b0238a266abb80af4077a4dbf77ff2fba4ec
|
| 3 |
+
size 431103376
|