Image Segmentation
ZeroModels
Keras
PyTorch
JAX
TensorFlow
segformer
semantic-segmentation
cityscapes
Instructions to use zeromodels/segformer_b3_cityscapes_1024 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ZeroModels
How to use zeromodels/segformer_b3_cityscapes_1024 with ZeroModels:
# 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 zeromodels/segformer_b3_cityscapes_1024 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/segformer_b3_cityscapes_1024") - Notebooks
- Google Colab
- Kaggle
File size: 572 Bytes
43d2581 0e7c912 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | {
"library_name": "zeromodels",
"zeromodels_version": "1.2.1",
"model_module": "zeromodels.models.segformer",
"model_class": "SegFormerSemanticSegment",
"variant": "segformer_b3_cityscapes_1024",
"weights": "model.weights.h5",
"schema_version": 2,
"weight_dtype": "float32",
"model_type": "segformer",
"vision_config": {
"embed_dim": [
64,
128,
320,
512
],
"depths": [
3,
4,
18,
3
],
"decode_head_dim": 768,
"dropout_rate": 0.1,
"num_classes": 19,
"image_size": 1024
}
} |