提交 ec22e60c 编写于 作者: 文幕地方's avatar 文幕地方

fix boxlabel error

上级 c1e6558d
......@@ -750,7 +750,7 @@ class TableMasterLabelEncode(TableLabelEncode):
class TableBoxEncode(object):
def __init__(self, in_box_format='xyxy', out_box_format='xyxy', **kwargs):
assert box_format in ['xywh', 'xyxy', 'xyxyxyxy']
assert out_box_format in ['xywh', 'xyxy', 'xyxyxyxy']
self.in_box_format = in_box_format
self.out_box_format = out_box_format
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册