성원 commited on
Commit ·
0eeb6ec
1
Parent(s): 95a7f01
app.py
CHANGED
|
@@ -17,24 +17,24 @@ model = TFSegformerForSemanticSegmentation.from_pretrained(
|
|
| 17 |
def ade_palette():
|
| 18 |
"""ADE20K palette that maps each class to RGB values."""
|
| 19 |
return [
|
| 20 |
-
[
|
| 21 |
-
[
|
| 22 |
-
[
|
| 23 |
-
[
|
| 24 |
-
[
|
| 25 |
-
[
|
| 26 |
-
[0,
|
| 27 |
-
[0,
|
| 28 |
-
[
|
| 29 |
-
[
|
| 30 |
-
[
|
| 31 |
-
[
|
| 32 |
-
[0, 0, 0],
|
| 33 |
-
[
|
| 34 |
-
[
|
| 35 |
-
[
|
| 36 |
-
[
|
| 37 |
-
[
|
| 38 |
]
|
| 39 |
|
| 40 |
labels_list = []
|
|
|
|
| 17 |
def ade_palette():
|
| 18 |
"""ADE20K palette that maps each class to RGB values."""
|
| 19 |
return [
|
| 20 |
+
[0, 0, 0],
|
| 21 |
+
[0, 0, 0],
|
| 22 |
+
[0, 0, 0],
|
| 23 |
+
[0, 0, 0],
|
| 24 |
+
[0, 0, 0],
|
| 25 |
+
[0, 0, 0],
|
| 26 |
+
[0, 0, 0],
|
| 27 |
+
[0, 0, 0],
|
| 28 |
+
[0, 0, 0],
|
| 29 |
+
[0, 0, 0],
|
| 30 |
+
[0, 0, 0],
|
| 31 |
+
[0, 0, 0],
|
| 32 |
+
[0, 0, 0],
|
| 33 |
+
[0, 0, 0],
|
| 34 |
+
[0, 0, 0],
|
| 35 |
+
[0, 0, 0],
|
| 36 |
+
[0, 0, 0],
|
| 37 |
+
[0, 0, 0],
|
| 38 |
]
|
| 39 |
|
| 40 |
labels_list = []
|