提交 1bf40f2d 编写于 作者: T TinyJie 提交者: Waleed

Fix masks shape comment for display_instances

上级 5e31a3c3
......@@ -78,7 +78,7 @@ def display_instances(image, boxes, masks, class_ids, class_names,
figsize=(16, 16), ax=None):
"""
boxes: [num_instance, (y1, x1, y2, x2, class_id)] in image coordinates.
masks: [num_instances, height, width]
masks: [height, width, num_instances]
class_ids: [num_instances]
class_names: list of class names of the dataset
scores: (optional) confidence scores for each box
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册