Update mmod2.py
Browse files
mmod2.py
CHANGED
|
@@ -138,5 +138,5 @@ class Mmod2(datasets.GeneratorBasedBuilder):
|
|
| 138 |
for ix in range(px, next_px, x_direction):
|
| 139 |
for iy in range(py, next_py, y_direction):
|
| 140 |
if ix < img.size[0] and iy < img.size[1]:
|
| 141 |
-
pixels[ix, iy] = _LABEL_COLORS[
|
| 142 |
return img
|
|
|
|
| 138 |
for ix in range(px, next_px, x_direction):
|
| 139 |
for iy in range(py, next_py, y_direction):
|
| 140 |
if ix < img.size[0] and iy < img.size[1]:
|
| 141 |
+
pixels[ix, iy] = _LABEL_COLORS[0]
|
| 142 |
return img
|