We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 17eec49 + fd4714d commit 456a591Copy full SHA for 456a591
sotabencheval/object_detection/coco.py
@@ -124,7 +124,7 @@ def _download(self, annFile):
124
:param annFile: path of the annotations file
125
:return: void - extracts the archive
126
"""
127
- if not os.path.isdir(annFile):
+ if not os.path.isfile(annFile):
128
if "2017" in annFile:
129
annotations_dir_zip = os.path.join(
130
self.root, "annotations_train%s2017.zip" % self.split
0 commit comments