joycaption icon indicating copy to clipboard operation
joycaption copied to clipboard

Seeking a Balance Between Speed and Quality in Image-to-Text Description: How to Improve JoyCaption's Inference Efficiency?

Open 123sghn opened this issue 1 year ago • 3 comments

I've been searching for a suitable image-to-text description model. Previously, I tried BLIP2, which has a relatively fast inference speed, but its generation quality was unsatisfactory. Later, I discovered JoyCaption, which produces excellent descriptions, but its inference speed is a major drawback. On two T4 GPUs, processing 20 images takes nearly 30 minutes, and I need to generate captions for almost 10,000 images, which is simply unfeasible. Therefore, I’d like to know if there is a model that balances speed and quality, or if there are ways to improve the inference speed of JoyCaption. Thank you for your help!

123sghn avatar Feb 18 '25 08:02 123sghn

Therefore, I’d like to know if there is a model that balances speed and quality, or if there are ways to improve the inference speed of JoyCaption. Thank you for your help!

Try Microsoft Florence 2

miasik avatar Mar 02 '25 07:03 miasik

Dang, might be time to upgrade those GPUs. JoyCaptionBeta takes 13 seconds per image on a 3090, so under 4 and half minutes for 20 images.

ZoAtQxpr avatar Jul 01 '25 17:07 ZoAtQxpr

Dang, might be time to upgrade those GPUs. JoyCaptionBeta takes 13 seconds per image on a 3090, so under 4 and half minutes for 20 images.

I´m using it in comjunction with LM Studio with a LM Studio Chat Interface node from within Comfyui on a RTX 3080 16G. Time is roughly at 3 seconds per image.

eccentricworx avatar May 31 '26 10:05 eccentricworx