Skip to content
Snippets Groups Projects
Commit 353731d4 authored by ofhkr's avatar ofhkr
Browse files

Error in message given for resize options.

parent 32fa3f08
No related branches found
No related tags found
1 merge request!47(Work in progress) Implementation of adaptive Dataset class which adapts to different data structures
...@@ -31,7 +31,7 @@ class Augmentation: ...@@ -31,7 +31,7 @@ class Augmentation:
): ):
if resize not in ['crop', 'reshape', 'padding']: if resize not in ['crop', 'reshape', 'padding']:
raise ValueError(f"Invalid resize type: {resize}. Use either 'crop', 'resize' or 'padding'.") raise ValueError(f"Invalid resize type: {resize}. Use either 'crop', 'reshape' or 'padding'.")
self.resize = resize self.resize = resize
self.mean = mean self.mean = mean
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment