From 21e402faa003ce7de2183b3e36a3be05a2a02e03 Mon Sep 17 00:00:00 2001 From: Ernie Chu <51432514+ernestchu@users.noreply.github.com> Date: Tue, 26 Sep 2023 21:06:45 +0800 Subject: [PATCH] fix-VaeImageProcessor-docstring (#5182) ``` do_binarize (`bool`, *optional*, defaults to `True`) | v do_binarize (`bool`, *optional*, defaults to `False`) ``` --- src/diffusers/image_processor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/diffusers/image_processor.py b/src/diffusers/image_processor.py index f3070c1770a2..28a12f2d1364 100644 --- a/src/diffusers/image_processor.py +++ b/src/diffusers/image_processor.py @@ -48,7 +48,7 @@ class VaeImageProcessor(ConfigMixin): Resampling filter to use when resizing the image. do_normalize (`bool`, *optional*, defaults to `True`): Whether to normalize the image to [-1,1]. - do_binarize (`bool`, *optional*, defaults to `True`): + do_binarize (`bool`, *optional*, defaults to `False`): Whether to binarize the image to 0/1. do_convert_rgb (`bool`, *optional*, defaults to be `False`): Whether to convert the images to RGB format.