未验证 提交 4f8f1d79 编写于 作者: Y Yuang Peng 提交者: GitHub

fix(data): read img bug in voc dataset (#1615)

fix(data): read img bug in voc dataset
上级 6d30efe8
......@@ -189,8 +189,8 @@ class VOCDetection(CacheDataset):
return img
@cache_read_img
def read_img(self, index, use_cache=True):
@cache_read_img(use_cache=True)
def read_img(self, index):
return self.load_resized_img(index)
def pull_item(self, index):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册