siavava commited on
Commit
26323e1
·
1 Parent(s): c3ca49f

Update mmod2.py

Browse files
Files changed (1) hide show
  1. mmod2.py +1 -1
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[point_index // 3]
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