From 3854e2913afd1b174563dc0167794f2fc99aa383 Mon Sep 17 00:00:00 2001 From: ProDALOR <95384820+ProDALOR@users.noreply.github.com> Date: Sun, 15 Oct 2023 00:15:05 +0300 Subject: [PATCH] Fix ImageGenResolutionFromImage --- hint_image_enchance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hint_image_enchance.py b/hint_image_enchance.py index e5a8112..cb2a069 100644 --- a/hint_image_enchance.py +++ b/hint_image_enchance.py @@ -216,7 +216,7 @@ def INPUT_TYPES(s): CATEGORY = "ControlNet Preprocessors" def execute(self, image): - _, _, H, W = image.shape + _, H, W, _ = image.shape return (W, H) NODE_CLASS_MAPPINGS = {