From c17655ee6d9cf36e8fda1b3bda66bccde4992e82 Mon Sep 17 00:00:00 2001 From: "stephane.chavin" <stephanechvn@gmail.com> Date: Fri, 14 Apr 2023 15:30:52 +0200 Subject: [PATCH] modify --- get_time_detection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_time_detection.py b/get_time_detection.py index 44cd3e0..16f876f 100644 --- a/get_time_detection.py +++ b/get_time_detection.py @@ -23,7 +23,7 @@ out_file = str('YOLO_detection'+str('_'+str(today.day)+'_'+str(today.month))) outdir = args.directory -df = pd.concat({f:pd.read_csv(os.path.join(annots, f), sep=' ', names=['espece', 'x', 'y', 'w', 'h', 'conf']) +df = pd.concat({f:pd.read_csv(os.path.join(annots, f), sep=' ', names=['espece', 'x', 'y', 'w', 'h']) for f in tqdm(os.listdir(annots))}, names=['file']) df = df.reset_index(level=[0]) -- GitLab