From a7e424902e1a7b6b0a47960f5d31b4435fd3d089 Mon Sep 17 00:00:00 2001
From: Stephane Chavin <stephane.chavin@lis-lab.fr>
Date: Fri, 13 Dec 2024 10:49:43 +0100
Subject: [PATCH] correction

---
 get_train_val.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/get_train_val.py b/get_train_val.py
index 8602822..988d96e 100755
--- a/get_train_val.py
+++ b/get_train_val.py
@@ -71,7 +71,7 @@ def prepare_data(arguments):
     """
     annotations = [] 
     background = []  
-    for f in tqdm(os.path.join(arguments.path_to_data, f), desc="Processing", 
+    for f in tqdm(arguments.path_to_data, desc="Processing", 
                                                             ascii='░▒▓█'):
         file_annotation = pd.read_csv(f, sep=' ', names=['species', 'x', 'y', 'w', 'h'])
         if len(file_annotation) == 0:
-- 
GitLab