提交 eb86f8d9 编辑于 作者: suilin0432's avatar suilin0432
浏览文件

.

上级 56d40938
......@@ -574,6 +574,8 @@ def load_voc_instances_wsl_contain_all_adaptive(dirname: str, split: str, class_
annotation_dirname = PathManager.get_local_path(os.path.join(dirname, "Annotations/"))
dicts = []
for fileid in fileids:
if str(int(fileid)) not in annotation_wsl:
continue
anno = annotation_wsl[str(int(fileid))]
jpeg_file = os.path.join(dirname, "JPEGImages", fileid + ".jpg")
anno_file = os.path.join(annotation_dirname, fileid + ".xml")
......
支持 Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册