Use moge/scripts/eval_baseline.py to run a baseline model against evaluation benchmarks. The script takes a baseline model path, a configuration file, and an output path.
Note that arguments like --pretrained or --resolution_level are passed directly to the baseline model loading logic, while --baseline, --config, and --output are specific to the evaluation script.
# Evaluate MoGe on the 10 benchmarks
python moge/scripts/eval_baseline.py --baseline baselines/moge.py --config configs/eval/all_benchmarks.json --output eval_output/moge.json --pretrained Ruicheng/moge-vitl --resolution_level 9
# Evaluate Depth Anything V2 on the 10 benchmarks
python moge/scripts/eval_baseline.py --baseline baselines/da_v2.py --config configs/eval/all_benchmarks.json --output eval_output/da_v2.json