Datasets:
fix: update json format
Browse files
visible-watermark-pita.py
CHANGED
@@ -99,6 +99,8 @@ class WatermarkPita(datasets.GeneratorBasedBuilder):
|
|
99 |
with open(label_path, "r") as f:
|
100 |
bboxes = json.load(f)
|
101 |
|
|
|
|
|
102 |
objects = []
|
103 |
for bbox in bboxes:
|
104 |
objects.append(
|
|
|
99 |
with open(label_path, "r") as f:
|
100 |
bboxes = json.load(f)
|
101 |
|
102 |
+
print(bboxes)
|
103 |
+
|
104 |
objects = []
|
105 |
for bbox in bboxes:
|
106 |
objects.append(
|