Instructions to use zeromodels/maskformer-swin-tiny-coco with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use zeromodels/maskformer-swin-tiny-coco 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/maskformer-swin-tiny-coco") - 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: cc-by-nc-4.0
|
| 4 |
+
library_name: kerasformers
|
| 5 |
+
tags:
|
| 6 |
+
- keras
|
| 7 |
+
- kerasformers
|
| 8 |
+
- maskformer
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# maskformer-swin-tiny-coco (Keras 3)
|
| 12 |
+
|
| 13 |
+
Pure-Keras 3 weights for [kerasformers](https://github.com/IMvision12/KerasFormers), mirrored from the source. License: `cc-by-nc-4.0`.
|
| 14 |
+
|
| 15 |
+
```python
|
| 16 |
+
from kerasformers.models.maskformer import MaskFormerUniversalSegment
|
| 17 |
+
model = MaskFormerUniversalSegment.from_weights("maskformer-swin-tiny-coco")
|
| 18 |
+
```
|
model.weights.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d186e76bade55413661b8414d95e6d43f28239ccc0462ae41b929018835fca86
|
| 3 |
+
size 167995564
|