TencentQQGYLab / ComfyUI-ELLA

ELLA nodes for ComfyUI
332 stars 14 forks source link

Load T5 TextEncoder ELLA - Required input is missing: name #13

Closed Duemellon closed 5 months ago

Duemellon commented 5 months ago

Downloaded JSON files have this prefix: models--google--flan-t5-xl--textencoder... json

example pic has this: image

model structure in installation info README.MD has this, which suggests we trim the prefix down: image

I have them installed here, as this: image

And I get this message from ComfyUI: _Failed to validate prompt for output 12:

When I change the file names to remove the prefixes to be this: image

close my browser & restart ComfyUI I get this: image And when I click the arrow to select it becomes this: image

And this when I try to run: Failed to validate prompt for output 12: _* T5TextEncoderLoader #ELLA 13:

JettHu commented 5 months ago

May I ask what method you used for downloaded and which t5 model link?

The model folders provided in our link are as follows:

image
Duemellon commented 5 months ago

I used this link: https://huggingface.co/QQGYLab/ELLA/tree/main/models--google--flan-t5-xl--text_encoder

I clicked these arrows individually: image

JettHu commented 5 months ago

I recommend git clone as it's easier.

image

Or use hugginface_hub client.

Duemellon commented 5 months ago

I didn't know such a thing existed! It's under the stacked tri-dots.

OK, I'll do that.

Duemellon commented 5 months ago

Finally. After the Git Clone I then moved the files to the proper directories & the Blank in the Node filled in.

Thanks.

Suka4GitHub commented 5 months ago

as per above...... no luck!