#!/bin/bash set -e workdir='.' model_name='ours' ckpt_name='cut3r_512_dpt_4_64' model_weights="${workdir}/src/${ckpt_name}.pth" datasets=('sintel' 'bonn' 'kitti') for data in "${datasets[@]}"; do output_dir="${workdir}/eval_results/video_depth/${data}_${model_name}" echo "$output_dir" accelerate launch --num_processes 4 eval/video_depth/launch.py \ --weights "$model_weights" \ --output_dir "$output_dir" \ --eval_dataset "$data" \ --size 512 python eval/video_depth/eval_depth.py \ --output_dir "$output_dir" \ --eval_dataset "$data" \ --align "scale" done