Skip to content

Commit

Permalink
Change lines order
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldenAnpu committed Dec 17, 2024
1 parent 71aec09 commit 8fa2a16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/convert_sly_to_yolov5.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,14 +194,14 @@ def _add_to_split(image_id, img_name, split_ids, split_image_paths, labels_dir,
else:
loop.run_until_complete(coro)

progress.iters_done_report(len(ids_to_download))

if unsupported_shapes > 0:
sly.logger.warning(
f"Dataset {dataset.name}: "
f"{unsupported_shapes} objects with unsupported geometry types have been {process_shapes_message}"
)

progress.iters_done_report(len(ids_to_download))

data_yaml = {
"train": "../{}/images/train".format(result_dir_name),
"val": "../{}/images/val".format(result_dir_name),
Expand Down

0 comments on commit 8fa2a16

Please sign in to comment.