提交 806ca06c 编写于 作者: W wuzewu

fix cv reader bug

上级 fe19ef1a
...@@ -92,7 +92,7 @@ class ImageClassificationReader(object): ...@@ -92,7 +92,7 @@ class ImageClassificationReader(object):
self.image_height) self.image_height)
if self.data_augmentation: if self.data_augmentation:
image = image_augmentation.image_random_process( image = image_augmentation.image_random_process(
image, enable_resize=False) image, enable_resize=False, enable_crop=False)
# only support RGB # only support RGB
image = image.convert('RGB') image = image.convert('RGB')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册