ZHO-ZHO-ZHO / ComfyUI-InstantID

Unofficial implementation of InstantID for ComfyUI
1.36k stars 78 forks source link

Prompt outputs failed validation IDGenerationNode: - Return type mismatch between linked nodes: insightface, INSIGHTFACE != INSIGHTFACEMODEL #51

Open Aruen24 opened 10 months ago

ThinkdEV9 commented 10 months ago

make the workflow manually by using add node from right click, Dont use ctrl c ctrl v

udappk commented 10 months ago

Got the same error, I used the attached V2 workflow (local) which worked!

Aruen24 commented 10 months ago

Got the same error, I used the attached V2 workflow (local) which worked! can share the workflow

udappk commented 10 months ago

Sure, This is my workflow with proper instructions https://civitai.com/models/277577/my-instantid-workflow-linkless-sdxl-turbo and This is Original Workflow https://github.com/ZHO-ZHO-ZHO/ComfyUI-InstantID/blob/main/INSTANTID%20WORKFLOWS/V2.0%20InstantID_locally_pose_ref【Zho】.json

johndpope commented 10 months ago

in the instantnode.py

change line 231

"insightface": ("INSIGHTFACE",),

Screenshot from 2024-01-26 22-37-48

BACKGROUND the ipadapter_plus has the insightfaceloader / there's bascially a conflict with using this "InsightFaceLoader" I submit a PR

SIDE NOTE - anyone installing ComfyUI_IPAdapter_plus - and restarting comfy will see this error loading this as the InsightFaceLoader .

UPDATE https://github.com/ZHO-ZHO-ZHO/ComfyUI-InstantID/pull/58

Screenshot from 2024-01-26 22-44-26

if you don't want to yield to the other repo - you can change json in workflows files to use - InsightFaceLoader_Zho - might work as well.

fememystic commented 10 months ago

in the instantnode.py

change line 231

"insightface": ("INSIGHTFACE",),

Screenshot from 2024-01-26 22-37-48

BACKGROUND the ipadapter_plus has the insightfaceloader / there's bascially a conflict with using this "InsightFaceLoader" I submit a PR

SIDE NOTE - anyone installing ComfyUI_IPAdapter_plus - and restarting comfy will see this error loading this as the InsightFaceLoader .

UPDATE #58

Screenshot from 2024-01-26 22-44-26

if you don't want to yield to the other repo - you can change json in workflows files to use - InsightFaceLoader_Zho - might work as well.

Having the same problem, but i don't have the file "instantnode.py" in my comfyUI portable... and don't understand your 2nd descision because i'm noob. Could you please help me step by step, what should i do? I already redownloaded python_embeded, didn't help...

fememystic commented 10 months ago

Decided, now having this ... image

philmaas commented 10 months ago

Decided, now having this ... image

i just solved this by downloading the onnx files from here as per the readme. The files in the repo are 1kb placeholders. https://huggingface.co/DIAMONIK7777/antelopev2/tree/main

mateng0716 commented 9 months ago

the v2 version worked directly. the v1 worked after that https://github.com/ZHO-ZHO-ZHO/ComfyUI-InstantID/issues/51#issuecomment-1911938620