Image Segmentation
Transformers
TensorBoard
Safetensors
segformer
semantic-segmentation
vision
ecology
Instructions to use restor/tcd-segformer-mit-b4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use restor/tcd-segformer-mit-b4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="restor/tcd-segformer-mit-b4")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, SegformerForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("restor/tcd-segformer-mit-b4") model = SegformerForSemanticSegmentation.from_pretrained("restor/tcd-segformer-mit-b4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload SegformerForSemanticSegmentation
Browse files- config.json +1 -1
- model.safetensors +3 -0
config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"architectures": [
|
| 3 |
-
"
|
| 4 |
],
|
| 5 |
"attention_probs_dropout_prob": 0.0,
|
| 6 |
"classifier_dropout_prob": 0.1,
|
|
|
|
| 1 |
{
|
| 2 |
"architectures": [
|
| 3 |
+
"SegformerForSemanticSegmentation"
|
| 4 |
],
|
| 5 |
"attention_probs_dropout_prob": 0.0,
|
| 6 |
"classifier_dropout_prob": 0.1,
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4ded14d1168ca559e733b1af4545600ecc2702d60be70978fb683045cb4d58c1
|
| 3 |
+
size 256097128
|