Spaces:
Runtime error
Runtime error
error fix
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ 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", from_pt = True
|
15 |
)
|
16 |
|
17 |
def ade_palette():
|