Files
candle/candle-examples/examples/blip
Laurent Mazare a11af79e23 Add a quantized blip model. (#1155)
* Add a quantized blip model.

* Integrate the quantized blip model to the actual example.
2023-10-22 20:33:25 +01:00
..
2023-10-22 20:33:25 +01:00
2023-10-21 22:44:13 +01:00

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%

Leading group, Giro d'Italia 2021