SOELexicon / ComfyUI-LexTools

Bunch of custom nodes; Segformer - allows you to segment images by specifying the segment in an array
25 stars 7 forks source link

Image Captioning Does Not Work? #2

Closed PaulFidika closed 10 months ago

PaulFidika commented 11 months ago

Could you share any example workflows; I might be doing this wrong. But I'm taking LoadImage -> ImageCaptioning -> ShowText, and the image-captioning node is throwing an error, regardless of the image used:

Error occurred when executing ImageCaptioning:

Cannot handle this data type: (1, 1, 1023), |u1

Am I supposed to format the image in some way prior to feeding it into the caption node? Thanks.

SOELexicon commented 10 months ago

i think i see the issue working on a fix

SOELexicon commented 10 months ago

Could you share any example workflows; I might be doing this wrong. But I'm taking LoadImage -> ImageCaptioning -> ShowText, and the image-captioning node is throwing an error, regardless of the image used:

Error occurred when executing ImageCaptioning:

Cannot handle this data type: (1, 1, 1023), |u1

Am I supposed to format the image in some way prior to feeding it into the caption node? Thanks.

should be fixed in latest pull