fix pixel scale
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def visualize_instance_seg_mask(mask):
|
|
36 |
for i in range(image.shape[0]):
|
37 |
for j in range(image.shape[1]):
|
38 |
image[i, j, :] = label2color[mask[i, j]]
|
39 |
-
|
40 |
return image
|
41 |
|
42 |
|
|
|
36 |
for i in range(image.shape[0]):
|
37 |
for j in range(image.shape[1]):
|
38 |
image[i, j, :] = label2color[mask[i, j]]
|
39 |
+
image = image / 255
|
40 |
return image
|
41 |
|
42 |
|