From 3487682ba1287ff512c4935e1509947e31267a8e Mon Sep 17 00:00:00 2001 From: Aleksey Date: Tue, 29 Mar 2022 15:10:32 +0400 Subject: [PATCH] Update rgb_image.py fix typo --- ffcv/fields/rgb_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffcv/fields/rgb_image.py b/ffcv/fields/rgb_image.py index eb1a1511..b6420f11 100644 --- a/ffcv/fields/rgb_image.py +++ b/ffcv/fields/rgb_image.py @@ -97,7 +97,7 @@ def declare_state_and_memory(self, previous_state: State) -> Tuple[State, Alloca min_height = heights.min() min_width = widths.min() if min_width != max_width or max_height != min_height: - msg = """SimpleRGBImageDecoder ony supports constant image, + msg = """SimpleRGBImageDecoder only supports constant image, consider RandomResizedCropRGBImageDecoder or CenterCropRGBImageDecoder instead.""" raise TypeError(msg)