zhuchi76 commited on
Commit
56d4e37
·
verified ·
1 Parent(s): c4066b9

Update script to hub

Browse files
Files changed (1) hide show
  1. Boat_dataset.py +3 -3
Boat_dataset.py CHANGED
@@ -123,7 +123,7 @@ class BoatDataset(datasets.GeneratorBasedBuilder):
123
  name=datasets.Split.TRAIN,
124
  # These kwargs will be passed to _generate_examples
125
  gen_kwargs={
126
- "filepath": os.path.join(data_dir, "instances_train2023.jsonl"),
127
  "split": "train",
128
  },
129
  ),
@@ -131,7 +131,7 @@ class BoatDataset(datasets.GeneratorBasedBuilder):
131
  name=datasets.Split.VALIDATION,
132
  # These kwargs will be passed to _generate_examples
133
  gen_kwargs={
134
- "filepath": os.path.join(data_dir, "instances_val2023.jsonl"),
135
  "split": "val",
136
  },
137
  ),
@@ -139,7 +139,7 @@ class BoatDataset(datasets.GeneratorBasedBuilder):
139
  name=datasets.Split.VALIDATION,
140
  # These kwargs will be passed to _generate_examples
141
  gen_kwargs={
142
- "filepath": os.path.join(data_dir, "instances_val2023r.jsonl"),
143
  "split": "val_real",
144
  },
145
  ),
 
123
  name=datasets.Split.TRAIN,
124
  # These kwargs will be passed to _generate_examples
125
  gen_kwargs={
126
+ "filepath": os.path.join(data_dir, "data/instances_train2023.jsonl"),
127
  "split": "train",
128
  },
129
  ),
 
131
  name=datasets.Split.VALIDATION,
132
  # These kwargs will be passed to _generate_examples
133
  gen_kwargs={
134
+ "filepath": os.path.join(data_dir, "data/instances_val2023.jsonl"),
135
  "split": "val",
136
  },
137
  ),
 
139
  name=datasets.Split.VALIDATION,
140
  # These kwargs will be passed to _generate_examples
141
  gen_kwargs={
142
+ "filepath": os.path.join(data_dir, "data/instances_val2023r.jsonl"),
143
  "split": "val_real",
144
  },
145
  ),