未验证 提交 f2ab17c0 编写于 作者: W wangguanzhong 提交者: GitHub

revert default value of allow_empty (#4150)

上级 00beb736
......@@ -48,7 +48,7 @@ class COCODataSet(DetDataset):
data_fields=['image'],
sample_num=-1,
load_crowd=False,
allow_empty=True,
allow_empty=False,
empty_ratio=1.):
super(COCODataSet, self).__init__(dataset_dir, image_dir, anno_path,
data_fields, sample_num)
......
......@@ -55,7 +55,7 @@ class VOCDataSet(DetDataset):
data_fields=['image'],
sample_num=-1,
label_list=None,
allow_empty=True,
allow_empty=False,
empty_ratio=1.):
super(VOCDataSet, self).__init__(
dataset_dir=dataset_dir,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册