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

Pictures might have an extension name longer than 3, e.g. '.jpeg' #8

Open liusida opened 6 months ago

liusida commented 6 months ago

And this line will cause problem.

https://github.com/LarryJane491/Image-Captioning-in-ComfyUI/blob/9b24deea8eef830da059aa91cac9690ecde19fda/LoRAcaption.py#L44