diff --git a/python/paddle_serving_app/reader/image_reader.py b/python/paddle_serving_app/reader/image_reader.py index e92cc16f7eb7811f754d79a95e46464ea631d144..db66e77bc11cfcbc6634a2a2c331edc9fbcd37eb 100644 --- a/python/paddle_serving_app/reader/image_reader.py +++ b/python/paddle_serving_app/reader/image_reader.py @@ -677,7 +677,7 @@ class Resize(object): Args: size (sequence or int): Desired output size. If size is a sequence like - (h, w), output size will be matched to this. If size is an int, + (w, h), output size will be matched to this. If size is an int, smaller edge of the image will be matched to this number. i.e, if height > width, then image will be rescaled to (size * height / width, size)