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

correction

parent 74a8dd8d
No related branches found
No related tags found
No related merge requests found
...@@ -71,7 +71,7 @@ def prepare_data(arguments): ...@@ -71,7 +71,7 @@ def prepare_data(arguments):
""" """
annotations = [] annotations = []
background = [] 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='░▒▓█'): ascii='░▒▓█'):
file_annotation = pd.read_csv(f, sep=' ', names=['species', 'x', 'y', 'w', 'h']) file_annotation = pd.read_csv(f, sep=' ', names=['species', 'x', 'y', 'w', 'h'])
if len(file_annotation) == 0: if len(file_annotation) == 0:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment