From 4197f7d7c2d8ed4ceac87606c0b38fbe46e021a7 Mon Sep 17 00:00:00 2001 From: Hacker 17082006 Date: Mon, 20 Feb 2023 22:26:16 +0700 Subject: [PATCH] Fix bug OpenposePreprocessor --- custom_nodes/annotator/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_nodes/annotator/__init__.py b/custom_nodes/annotator/__init__.py index 5f963c92a..9edda1c49 100644 --- a/custom_nodes/annotator/__init__.py +++ b/custom_nodes/annotator/__init__.py @@ -152,7 +152,7 @@ class OpenposePreprocessor: def estimate_pose(self, image, detect_hand): #Ref: https://github.com/lllyasviel/ControlNet/blob/main/gradio_pose2image.py - np_detected_map = common_annotator_call(openpose.OpenposeDetector(), image, detect_hand == "enable") + np_detected_map, pose_info = common_annotator_call(openpose.OpenposeDetector(), image, detect_hand == "enable") return (img_np_to_tensor(np_detected_map),) class UniformerPreprocessor: