#!/usr/bin/python3 | |
# -*- coding: utf-8 -*- | |
from datasets import load_dataset | |
dataset = load_dataset( | |
"qgyd2021/cppe-5", | |
# "cppe-5.py", | |
name=None, | |
split="train", | |
streaming=True | |
) | |
for sample in dataset: | |
print(sample) | |
# image = sample["image"] | |
# image.show() | |
if __name__ == '__main__': | |
pass | |