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

name correction

parent 60596aa9
Branches
No related tags found
No related merge requests found
......@@ -103,12 +103,12 @@ def run(
date_now = date.today().strftime("%Y%m%d")
if sound:
name = '_'.join([project_name, 'detect', date_now, weights[0].split('/')[-3], 'conf',
name = '_'.join([project_name, 'detect', date_now, weights[0].split('/')[-1], 'conf',
str(conf_thres).replace('.','_'), str(rf), str(sampleDur), str(window),
str(int(window*hop)),'low',str(int(low)) if low is not None else 'None',
'high',str(int(high)) if high is not None else 'None',''])
else:
name = '_'.join([project_name, 'detect', date_now, weights[0].split('/')[-3], 'conf',
name = '_'.join([project_name, 'detect', date_now, weights[0].split('/')[-1], 'conf',
str(conf_thres).replace('.','_'),''])
print(f'\nYour train results will be saved as {name}\n')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment