dougbtv / ollama-llava-captioner

A way to caption images using LLaVa via ollama

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LLaVa stable diffusion training image captioner

This script takes a directory of images and

Setup:

pip install ollama

Running it...

python llava-caption-ollama.py /path/to/images

or, specify your own prompt file:

python llava-caption-ollama.py /path/to/images /path/to/myprompt.txt

If the prompt argument is empty, uses the prompt.txt in this directory.

About

A way to caption images using LLaVa via ollama

License:Apache License 2.0


Languages

Language:Python 100.0%