未验证 提交 8a8b279a 编写于 作者: K Kaipeng Deng 提交者: GitHub

fix voc use_default_reader (#125)

上级 e7562558
...@@ -72,6 +72,7 @@ class VOCDataSet(DataSet): ...@@ -72,6 +72,7 @@ class VOCDataSet(DataSet):
self.roidbs = None self.roidbs = None
# 'cname2id' is a dict to map category name to class id # 'cname2id' is a dict to map category name to class id
self.cname2cid = None self.cname2cid = None
self.use_default_label = use_default_label
self.label_list = label_list self.label_list = label_list
def load_roidb_and_cname2cid(self): def load_roidb_and_cname2cid(self):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册