frankchieng / ComfyUI_MagicClothing

unofficial implementation of Comfyui magic clothing
Other
469 stars 40 forks source link

OpenPose does not work standalone #35

Open cardosofelipe opened 4 months ago

cardosofelipe commented 4 months ago

I tried to run a workflow by using only openpose and the cloth but ti gives me the error .

local variable 'images' referenced before assignment at

line 303, in garment_generation
    images = np.array(images).astype(np.float32) / 255.0

I think the problem is the fact that you did not handle the condition: "if face_image is None and pose_image is not None:"

cardosofelipe commented 4 months ago

I can confirm what I stated. I can open a pull request with the fix tomorrow.

flyricci commented 2 months ago

Everything was normal yesterday, but I encountered the same error today. Have you solved it?