Skip to content

Commit

Permalink
Creating directories
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaCappelletti94 committed May 7, 2021
1 parent f0bd7cc commit c13e136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion covidxpert/pipeline.py
Expand Up @@ -53,7 +53,7 @@ def just_resize_pipeline(
original, width=width
)

print(output_path)
os.makedirs(os.path.dirname(output_path), exist_ok=True)

# Saving image to given path
cv2.imwrite( # pylint: disable=no-member
Expand Down

0 comments on commit c13e136

Please sign in to comment.