From 67820b57d1029fcf9c53bc29238186bc8cb3ebe6 Mon Sep 17 00:00:00 2001 From: almaz Date: Mon, 27 Nov 2023 18:03:58 +0100 Subject: [PATCH] add test log --- src/convert_sly_to_yolov5.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/convert_sly_to_yolov5.py b/src/convert_sly_to_yolov5.py index 29ecddc..f3616f0 100644 --- a/src/convert_sly_to_yolov5.py +++ b/src/convert_sly_to_yolov5.py @@ -30,6 +30,13 @@ VAL_TAG_NAME = "val" +initial_info = { + "team_id": TEAM_ID, + "workspace_id": WORKSPACE_ID, + "project_id": PROJECT_ID, +} +sly.logger.info(initial_info) + def transform_label(class_names, img_size, label: sly.Label): class_number = class_names.index(label.obj_class.name) rect_geometry = label.geometry.to_bbox()