未验证 提交 915d5370 编写于 作者: C cnn 提交者: GitHub

set use_default_label=False as default (#1409)

上级 e826c1fa
......@@ -41,7 +41,7 @@ class DataSet(object):
anno_path=None,
sample_num=-1,
with_background=True,
use_default_label=None,
use_default_label=False,
**kwargs):
super(DataSet, self).__init__()
self.anno_path = anno_path
......@@ -117,7 +117,7 @@ class ImageFolder(DataSet):
anno_path=None,
sample_num=-1,
with_background=True,
use_default_label=None,
use_default_label=False,
**kwargs):
super(ImageFolder, self).__init__(dataset_dir, image_dir, anno_path,
sample_num, with_background,
......
......@@ -51,7 +51,7 @@ class VOCDataSet(DataSet):
image_dir=None,
anno_path=None,
sample_num=-1,
use_default_label=True,
use_default_label=False,
with_background=True,
label_list='label_list.txt'):
super(VOCDataSet, self).__init__(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册