Skip to content

Commit

Permalink
add test log
Browse files Browse the repository at this point in the history
  • Loading branch information
almazgimaev committed Nov 27, 2023
1 parent 2f52b90 commit 67820b5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/convert_sly_to_yolov5.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 67820b5

Please sign in to comment.