From be416a22af1db466e1698e53016268296c47eec2 Mon Sep 17 00:00:00 2001 From: Stephane Chavin <stephanechvn@gmail.com> Date: Tue, 18 Apr 2023 15:53:05 +0200 Subject: [PATCH] Update get_train_annot_YOLO.py --- get_train_annot_YOLO.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_train_annot_YOLO.py b/get_train_annot_YOLO.py index e3d3a2d..b637acc 100644 --- a/get_train_annot_YOLO.py +++ b/get_train_annot_YOLO.py @@ -122,7 +122,7 @@ def process(x): for idxs, row in tab.iterrows(): species = row.Code - x_pxl = (row.midl - row.start) / duration + x_pxl = (row.midl - offset) / duration width_pxl = (row.stop-row.start)/duration if args.mode == 'uniform': -- GitLab