zhuchi76 commited on
Commit
724ca23
·
verified ·
1 Parent(s): 36c3b1f

Update script to hub

Browse files
Files changed (1) hide show
  1. Boat_dataset.py +1 -1
Boat_dataset.py CHANGED
@@ -105,7 +105,7 @@ class BoatDataset(datasets.GeneratorBasedBuilder):
105
  "image_path": data["image_path"],
106
  "width": data["width"],
107
  "height": data["height"],
108
- "objects": data["objects"]
109
  }
110
  except json.JSONDecodeError:
111
  print(f"Skipping invalid JSON at line {key + 1}: {row}")
 
105
  "image_path": data["image_path"],
106
  "width": data["width"],
107
  "height": data["height"],
108
+ "objects": data["objects"],
109
  }
110
  except json.JSONDecodeError:
111
  print(f"Skipping invalid JSON at line {key + 1}: {row}")