Seeking a Balance Between Speed and Quality in Image-to-Text Description: How to Improve JoyCaption's Inference Efficiency?
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!
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
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.
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.