qgyd2021 commited on
Commit
1b3b0ab
1 Parent(s): 14d1bce

[update]add data

Browse files
Files changed (2) hide show
  1. cppe5.py +0 -1
  2. main.py +2 -2
cppe5.py CHANGED
@@ -101,7 +101,6 @@ class CPPE5(datasets.GeneratorBasedBuilder):
101
  with open(file_path, "rb") as image_f:
102
  image_bytes = image_f.read()
103
 
104
- print(sample)
105
  yield idx, {
106
  "image_id": sample["image_id"],
107
  # "image": {"path": file_path, "bytes": image_bytes},
 
101
  with open(file_path, "rb") as image_f:
102
  image_bytes = image_f.read()
103
 
 
104
  yield idx, {
105
  "image_id": sample["image_id"],
106
  # "image": {"path": file_path, "bytes": image_bytes},
main.py CHANGED
@@ -3,8 +3,8 @@
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
  )
 
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
  )