Mentions légales du service

Skip to content
Snippets Groups Projects
Commit ac9159e3 authored by Paul Wawerek-López's avatar Paul Wawerek-López
Browse files

small Path fix

parent 2086ca85
No related branches found
No related tags found
1 merge request!2OSLO-IC
......@@ -54,7 +54,7 @@ def collect(
img_names = lines[2:]
for img_name in img_names:
if img_name.endswith(IMG_EXTENSIONS):
filepaths.append(Path(root_dir).joinpath(img_name))
filepaths.append(root_dir.joinpath(img_name))
else: # neither file nor directory
raise OSError(f"No such directory: {dataset}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment