[update]add data
Browse files
main.py
CHANGED
@@ -3,14 +3,17 @@
|
|
3 |
from datasets import load_dataset
|
4 |
|
5 |
dataset = load_dataset(
|
6 |
-
|
7 |
-
"
|
8 |
name=None,
|
9 |
split="train",
|
|
|
10 |
)
|
11 |
|
12 |
for sample in dataset:
|
13 |
print(sample)
|
|
|
|
|
14 |
|
15 |
|
16 |
if __name__ == '__main__':
|
|
|
3 |
from datasets import load_dataset
|
4 |
|
5 |
dataset = load_dataset(
|
6 |
+
"qgyd2021/cppe-5",
|
7 |
+
# "cppe-5.py",
|
8 |
name=None,
|
9 |
split="train",
|
10 |
+
streaming=True
|
11 |
)
|
12 |
|
13 |
for sample in dataset:
|
14 |
print(sample)
|
15 |
+
# image = sample["image"]
|
16 |
+
# image.show()
|
17 |
|
18 |
|
19 |
if __name__ == '__main__':
|