Summary: During dataset preparation for image model training, the built-in JSON captioning utility in the popular AI-Toolkit repository is experiencing extremely slow processing times, taking over 10 minutes per image on mid-range hardware. Furthermore, the tool frequently fails to parse outputs, saving incomplete or corrupted JSON files. Developers are turning to alternative pipelines, such as combining Qwen-VL with ComfyUI prompt builders, to generate dataset captions more reliably.
Why it matters: Inefficient captioning tools significantly slow down the dataset preparation pipeline, which is a critical phase for fine-tuning custom image models. Builders should consider offloading dataset captioning to external vision-language models like Qwen-VL via workflows like ComfyUI rather than relying on built-in toolkit utilities.