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

Update get_time_detection.py

parent 3050004c
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ args = parser.parse_args()
annots = args.path_to_data
today = date.today()
out_file = str('YOLO_detection_'+str('_'+today.day+'_'+today.month))
out_file = str('YOLO_detection_'+str('_'+str(today.day)+'_'+str(today.month)))
outdir = args.direction
......@@ -115,3 +115,6 @@ for w in range(len(df.midl)):
ipdb.set_trace()
else:
df.midl.iloc[w] = float(df.x.iloc[w])*DUREE_SPECTRO+float(corres.start.iloc[int(df.idx.iloc[w])])
df.to_csv(os.path.join(outdir,str(out_file+'.csv')), index= False)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment