Commit c72b18dd authored by Lamping, Christian's avatar Lamping, Christian
Browse files


parent 23e7823e
......@@ -713,7 +713,7 @@ def extract_bboxes(mask):
# No mask for this instance. Might happen due to
# resizing or cropping. Set bbox to zeros
x1, x2, y1, y2 = 0, 0, 0, 0
boxes[i] = np.array([y1, x1, y2, x2])
boxes[i] = np.array([x1, y1, x2, y2])
return boxes.astype(np.int32)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment