Problems with SmallestMaxSize and LongestMaxSize #2272
-
I encountered an issue when trying to use the Code:import albumentations as A
height, width = 250, 500
fill_value = 128
transform = A.Compose([
A.LongestMaxSize(max_size_hw=(height, width)),
A.PadIfNeeded(min_height=height, min_width=width, fill_value=fill_value),
]) Error:
What I Tried:
Expected Behavior:I expected the Actual Behavior:The error suggests that Question:Is there a specific way to use |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thank you, fixed |
Beta Was this translation helpful? Give feedback.
Thank you, fixed