diff --git a/src/convert_sly_to_yolov5.py b/src/convert_sly_to_yolov5.py index c1f9de2..91396f8 100644 --- a/src/convert_sly_to_yolov5.py +++ b/src/convert_sly_to_yolov5.py @@ -206,7 +206,9 @@ def _add_to_split(image_id, img_name, split_ids, split_image_paths, labels_dir, ids_to_download = train_ids + val_ids paths_to_download = train_image_paths + val_image_paths progress = sly.Progress("Downloading images...") - for batch_ids, batch_paths in sly.batched(zip(ids_to_download, paths_to_download)): + for batch_ids, batch_paths in zip( + sly.batched(ids_to_download), sly.batched(paths_to_download) + ): with Timer("Images downloading", len(batch_ids)): coro = api.image.download_paths_async( batch_ids, batch_paths, progress_cb=progress.iters_done_report diff --git a/src/modal.html b/src/modal.html index c5c66f1..28aa67b 100644 --- a/src/modal.html +++ b/src/modal.html @@ -9,15 +9,13 @@ title="Process shapes" description="Select how to process shapes that are not supported by the current application." > -
+
-
- - transform to Rectangle (bbox) +
+ Skip objects of unsupported geometries
- skip + Transform shapes to Rectangle (bbox)