Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,8 @@ feature_extractor = SegformerFeatureExtractor.from_pretrained(
|
|
11 |
"nickmuchi/segformer-b4-finetuned-segments-sidewalk"
|
12 |
)
|
13 |
model = TFSegformerForSemanticSegmentation.from_pretrained(
|
14 |
-
"nickmuchi/segformer-b4-finetuned-segments-sidewalk"
|
|
|
15 |
)
|
16 |
|
17 |
def ade_palette():
|
|
|
11 |
"nickmuchi/segformer-b4-finetuned-segments-sidewalk"
|
12 |
)
|
13 |
model = TFSegformerForSemanticSegmentation.from_pretrained(
|
14 |
+
"nickmuchi/segformer-b4-finetuned-segments-sidewalk",
|
15 |
+
from_pt=True
|
16 |
)
|
17 |
|
18 |
def ade_palette():
|