Module eva2

Module eva2 

Source
Expand description

EVA-2 inference implementation.

EVA-02 is a computer vision model that can be used as an ImageNet classifier. The model returns the probability for an image to belong to each of the 1000 ImageNet categories.

  • Paper. EVA-02: A Visual Representation for Neon Genesis
  • Code

§Example

cargo run \
  --example eva2 \
  --release -- \
  --image candle-examples/examples/yolo-v8/assets/bike.jpg

> mountain bike, all-terrain bike, off-roader: 37.09%
> maillot                 : 8.30%
> alp                     : 2.13%
> bicycle-built-for-two, tandem bicycle, tandem: 0.84%
> crash helmet            : 0.73%

Structs§

EVA2VisionTransformer

Functions§

vit_base
vit_large