Commit eb86f8d9 authored by suilin0432's avatar suilin0432
Browse files


parent 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:
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 is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment