From 0bd0cfc025c3ca926551bfe5c5a599c876d75e4d Mon Sep 17 00:00:00 2001 From: dunkeroni Date: Sun, 18 Feb 2024 23:15:28 -0500 Subject: [PATCH] one more redundant RGB convert removed --- invokeai/app/invocations/controlnet_image_processors.py | 1 - 1 file changed, 1 deletion(-) diff --git a/invokeai/app/invocations/controlnet_image_processors.py b/invokeai/app/invocations/controlnet_image_processors.py index 8774f2fb27..9eba3acdca 100644 --- a/invokeai/app/invocations/controlnet_image_processors.py +++ b/invokeai/app/invocations/controlnet_image_processors.py @@ -552,7 +552,6 @@ class ColorMapImageProcessorInvocation(ImageProcessorInvocation): color_map_tile_size: int = InputField(default=64, ge=0, description=FieldDescriptions.tile_size) def run_processor(self, image: Image.Image): - image = image.convert("RGB") np_image = np.array(image, dtype=np.uint8) height, width = np_image.shape[:2]