Skip to main content

Basic command

Run commands from the repository root:
--dataset accepts coco or visual_genome. --model accepts paligemma or qwen2vl; if omitted, Mirage reads MIRAGE_VL_MODEL and otherwise defaults to paligemma. --samples sets the number of evaluated images for the selected path.

Useful options

The complete option list is available through python demo.py --help.

Special case: NOPE

NOPE consumes a Turn 2 response JSON file and runs model inference on the corresponding images. Provide it with --nope-turn2; --nope-turn1 is optional:
The example SLURM job is slurm/demo.slurm. Submit it from the repository root with sbatch slurm/demo.slurm, after adapting module setup and resource requests for the target cluster. It supports dataset, metric, model, sample count, and output overrides through MIRAGE_* environment variables.