# Reference environment of the paper's numbers: Python 3.9, NVIDIA GPU with CUDA 12.8 wheels. # Other versions load and run the model; only this set has been checked to reproduce every printed digit. --extra-index-url https://download.pytorch.org/whl/cu128 torch==2.8.0+cu128 numpy==2.0.2 scipy==1.13.1 transformers==4.57.6 safetensors==0.7.0 huggingface_hub==0.36.2 # Only for examples/zero_shot.py (CLIP ViT-B/32 text encoder for your own class names). The paper's class vectors # are part of the evaluation data, so reproducing the numbers does not need CLIP. Install separately: # pip install torchvision==0.23.0+cu128 ftfy==6.3.1 regex --extra-index-url https://download.pytorch.org/whl/cu128 # pip install "setuptools<81" && pip install --no-build-isolation git+https://github.com/openai/CLIP.git@a1d071733d7111c9c014f024669f959182114e33