Spaces:
Sleeping
Sleeping
upd
Browse files
app.py
CHANGED
@@ -62,6 +62,7 @@ with open(r'labels.txt', 'r') as fp:
|
|
62 |
|
63 |
colormap = np.asarray(ade_palette())
|
64 |
|
|
|
65 |
def label_to_color_image(label):
|
66 |
if label.ndim != 2:
|
67 |
raise ValueError("Expect 2-D input label")
|
|
|
62 |
|
63 |
colormap = np.asarray(ade_palette())
|
64 |
|
65 |
+
from_pt='True'
|
66 |
def label_to_color_image(label):
|
67 |
if label.ndim != 2:
|
68 |
raise ValueError("Expect 2-D input label")
|