From 806ca06cd09bd2a3ccef90978424c2774fc5dc6b Mon Sep 17 00:00:00 2001 From: wuzewu Date: Mon, 22 Apr 2019 20:14:36 +0800 Subject: [PATCH] fix cv reader bug --- paddlehub/reader/cv_reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddlehub/reader/cv_reader.py b/paddlehub/reader/cv_reader.py index 0a3a8eb5..9e06a5a5 100644 --- a/paddlehub/reader/cv_reader.py +++ b/paddlehub/reader/cv_reader.py @@ -92,7 +92,7 @@ class ImageClassificationReader(object): self.image_height) if self.data_augmentation: image = image_augmentation.image_random_process( - image, enable_resize=False) + image, enable_resize=False, enable_crop=False) # only support RGB image = image.convert('RGB') -- GitLab