qgyd2021 commited on
Commit
d5a8dcd
1 Parent(s): e6e2efb

[update]add data

Browse files
Files changed (1) hide show
  1. main.py +5 -2
main.py CHANGED
@@ -3,14 +3,17 @@
3
  from datasets import load_dataset
4
 
5
  dataset = load_dataset(
6
- # "qgyd2021/cppe-5",
7
- "cppe5.py",
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__':