Skip to content

Commit

Permalink
transpose rle decoder for coco
Browse files Browse the repository at this point in the history
  • Loading branch information
simedw committed Nov 25, 2020
1 parent e07d9c7 commit 91c7e47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion darwin/importer/formats/coco.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@ def rle_decoding(counts, shape):
val = not val
img[n : n + counts[pos]] = val
n += counts[pos]
return img.reshape(shape)
return img.reshape(shape).T

0 comments on commit 91c7e47

Please sign in to comment.