download openimages by running it (#5396)

This commit is contained in:
wozeparrot 2024-07-11 23:06:13 +00:00 committed by GitHub
parent 0421f5d83e
commit a02b38c0ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -175,3 +175,7 @@ def iterate(coco, bs=8):
annotations = coco.loadAnns(coco.getAnnIds(img_id))
targets.append(prepare_target(annotations, img_id, original_size))
yield np.array(X), targets
if __name__ == "__main__":
openimages("validation")
openimages("train")