Skip to content

Commit 695c161

Browse files
authored
Update upolygon/rle.pyx
1 parent 74d5154 commit 695c161

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

upolygon/rle.pyx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ def rle_encode(binary_mask):
2828
counts[i] = running_length
2929
i += 1
3030
return counts.base[0:i].tolist()
31-
return np.array(counts[0:i], dtype=np.int)
32-
# return counts[0:i] # np.array(counts[0:i])
3331

3432
def rle_decode(counts, shape):
3533
img = np.zeros(shape[0] * shape[1], dtype=np.uint8)

0 commit comments

Comments
 (0)