Update script to hub
Browse files- 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}")
|