mirror of
https://github.com/huggingface/candle.git
synced 2025-06-14 09:57:10 +00:00
552 B
552 B
candle-blip
The blip-image-captioning model can generate captions for an input image.
Running on an example
cargo run --example blip --release -- --image candle-examples/examples/yolo-v8/assets/bike.jpg
Running on CPU, to run on GPU, build this example with `--features cuda`
loaded image Tensor[dims 3, 384, 384; f32]
model built
several cyclists are riding down a road with cars behind them%