stumbledparams commited on
Commit
43809ee
·
verified ·
1 Parent(s): e4b832c

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -171,7 +171,7 @@ row = test_split[0]
171
  image = row["image"]
172
 
173
  # Decode category indices to class name strings
174
- label_feature = ds["test"].features["objects"]["category"]
175
 
176
  # Iterate over bounding boxes with labels
177
  for bbox, category_idx in zip(row["objects"]["bbox"], row["objects"]["category"]):
 
171
  image = row["image"]
172
 
173
  # Decode category indices to class name strings
174
+ label_feature = ds["test"].features["objects"]["category"].feature
175
 
176
  # Iterate over bounding boxes with labels
177
  for bbox, category_idx in zip(row["objects"]["bbox"], row["objects"]["category"]):