LarryJane491 / Image-Captioning-in-ComfyUI

Custom nodes for ComfyUI that let the user load a bunch of images and save them with captions (ideal to prepare a database for LORA training)
47 stars 14 forks source link

Error occurred when executing LoRA Caption Load: #7

Open saidmoya12 opened 7 months ago

saidmoya12 commented 7 months ago

Hi, I have the following error.

Error occurred when executing LoRA Caption Load:

local variable 'image1' referenced before assignment

This error happen with python 3.10

Thanks!

saidmoya12 commented 7 months ago

it's posibble allow jpg files?

chinkan commented 6 months ago

Capture I have same issue too

mmendez512 commented 6 months ago

OK, i had the issue as well and as @saidmoya12 implied in his response that it doesn't work for jpg images. I had to convert them to png using Ps. After that, it worked.

chinkan commented 6 months ago

thanks @saidmoya12 and @mmendez512 , I have converted from jpg to png and it works!