Skip to content

Commit

Permalink
add docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
JSabadin committed Nov 5, 2024
1 parent 232e07b commit 347dace
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion luxonis_ml/data/parsers/coco_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,6 @@ def clean_annotations(annotation_path: Path) -> Path:
annotation_data["images"] = filtered_images
annotation_data["annotations"] = filtered_annotations

# Save the cleaned annotation file
cleaned_annotation_path = annotation_path.with_name("labels_fixed.json")
with open(cleaned_annotation_path, "w") as f:
json.dump(annotation_data, f)
Expand Down

0 comments on commit 347dace

Please sign in to comment.