mirror of https://github.com/commaai/tinygrad.git
download openimages by running it (#5396)
This commit is contained in:
parent
0421f5d83e
commit
a02b38c0ac
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue