Skip to content
Snippets Groups Projects
Commit be416a22 authored by Stephane Chavin's avatar Stephane Chavin
Browse files

Update get_train_annot_YOLO.py

parent bdb2f0aa
Branches
No related tags found
No related merge requests found
...@@ -122,7 +122,7 @@ def process(x): ...@@ -122,7 +122,7 @@ def process(x):
for idxs, row in tab.iterrows(): for idxs, row in tab.iterrows():
species = row.Code species = row.Code
x_pxl = (row.midl - row.start) / duration x_pxl = (row.midl - offset) / duration
width_pxl = (row.stop-row.start)/duration width_pxl = (row.stop-row.start)/duration
if args.mode == 'uniform': if args.mode == 'uniform':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment