Copied and reduced from https://github.com/lizhogn/tiny_coco_dataset/tree/master
May be copied easily without even using git like this:
wget https://github.com/AlexejPenner/tiniest_coco/archive/refs/heads/main.zip unzip master.zip
or
from urllib.request import urlopen from io import BytesIO url = "https://github.com/AlexejPenner/tiniest_coco/archive/refs/heads/main.zip" http_response = urlopen(url) zipfile = ZipFile(BytesIO(http_response.read())) zipfile.extractall(path=output_dir)