diff options
author | Laurent Mazare <laurent.mazare@gmail.com> | 2023-09-12 18:21:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-12 17:21:24 +0100 |
commit | e82fcf1c594b54c105f1a3979a09f3d2e044a2e0 (patch) | |
tree | 452e06a3893150e7fcec69c32f75381d38bb8138 /candle-examples/examples/dinov2 | |
parent | 805bf9ffa78119a1a7e047b4ddf6b2ea7df4d94f (diff) | |
download | candle-e82fcf1c594b54c105f1a3979a09f3d2e044a2e0.tar.gz candle-e82fcf1c594b54c105f1a3979a09f3d2e044a2e0.tar.bz2 candle-e82fcf1c594b54c105f1a3979a09f3d2e044a2e0.zip |
Add more example readmes. (#828)
* Add more readmes.
* Add a readme for dinov2.
* Add some skeleton files for a couple more examples.
* More whisper details.
Diffstat (limited to 'candle-examples/examples/dinov2')
-rw-r--r-- | candle-examples/examples/dinov2/README.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/candle-examples/examples/dinov2/README.md b/candle-examples/examples/dinov2/README.md new file mode 100644 index 00000000..10d4ac1f --- /dev/null +++ b/candle-examples/examples/dinov2/README.md @@ -0,0 +1,19 @@ +# candle-dinov2 + +[DINOv2](https://github.com/facebookresearch/dinov2) is a computer vision model. +In this example, it is used as an ImageNet classifier: the model returns the +probability for the image to belong to each of the 1000 ImageNet categories. + +## Running some example + +```bash +cargo run --example dinov2 --release -- --image candle-examples/examples/yolo-v8/assets/bike.jpg + +> mountain bike, all-terrain bike, off-roader: 43.67% +> bicycle-built-for-two, tandem bicycle, tandem: 33.20% +> crash helmet : 13.23% +> unicycle, monocycle : 2.44% +> maillot : 2.42% +``` + + |