Instructions to use chainyo/segformer-b1-sidewalk with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use chainyo/segformer-b1-sidewalk with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="chainyo/segformer-b1-sidewalk")# Load model directly from transformers import AutoImageProcessor, SegformerForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("chainyo/segformer-b1-sidewalk") model = SegformerForSemanticSegmentation.from_pretrained("chainyo/segformer-b1-sidewalk", device_map="auto") - Notebooks
- Google Colab
- Kaggle
add model
Browse files- config.json +2 -2
- pytorch_model.bin +3 -0
config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
-
"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.0,
|
| 7 |
"classifier_dropout_prob": 0.1,
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "/home/chainyo/code/segformer-sidewalk/checkpoints/epoch=63-step=1600.ckpt",
|
| 3 |
"architectures": [
|
| 4 |
+
"SegformerForSemanticSegmentation"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.0,
|
| 7 |
"classifier_dropout_prob": 0.1,
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8315daa30c51e480cf7dce281c17fcdfbe9e279c6b55d8da91f0f58b1f61f233
|
| 3 |
+
size 14960993
|