Update segmentation2/app.py
Browse files- segmentation2/app.py +2 -2
segmentation2/app.py
CHANGED
|
@@ -17,7 +17,7 @@ model = TFSegformerForSemanticSegmentation.from_pretrained(
|
|
| 17 |
def ade_palette():
|
| 18 |
"""ADE20K palette that maps each class to RGB values."""
|
| 19 |
return [
|
| 20 |
-
|
| 21 |
[153,153,204],
|
| 22 |
[51,51,204],
|
| 23 |
[0,51,0],
|
|
@@ -27,7 +27,7 @@ def ade_palette():
|
|
| 27 |
[0,255,255],
|
| 28 |
[51,0,0],
|
| 29 |
[102,0,0],
|
| 30 |
-
[
|
| 31 |
]
|
| 32 |
|
| 33 |
labels_list = []
|
|
|
|
| 17 |
def ade_palette():
|
| 18 |
"""ADE20K palette that maps each class to RGB values."""
|
| 19 |
return [
|
| 20 |
+
[204, 87, 92],
|
| 21 |
[153,153,204],
|
| 22 |
[51,51,204],
|
| 23 |
[0,51,0],
|
|
|
|
| 27 |
[0,255,255],
|
| 28 |
[51,0,0],
|
| 29 |
[102,0,0],
|
| 30 |
+
[78, 145, 57],
|
| 31 |
]
|
| 32 |
|
| 33 |
labels_list = []
|