Download scripts/eval_navsim_v2.sh from Ruiguo1/DA-WAM: direct link, hf CLI and curl.
- Browser
- Download file 807 Bytes
-
https://huggingface.co/Ruiguo1/DA-WAM/resolve/main/scripts/eval_navsim_v2.sh
- Command line
-
hf download hf://Ruiguo1/DA-WAM/scripts/eval_navsim_v2.sh
-
curl -L -o eval_navsim_v2.sh https://huggingface.co/Ruiguo1/DA-WAM/resolve/main/scripts/eval_navsim_v2.sh
807 Bytes
| set -euo pipefail | |
| ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" | |
| source "$ROOT/environment/activate_model.sh" | |
| export NAVSIM_V2_ROOT="$ROOT/navsim_v2" CONDA_ROOT="$MODEL_ENV" | |
| export CHECKPOINT_PATH="${CHECKPOINT_PATH:-$ROOT/checkpoints/navsim_final.ckpt}" MODE=momentum | |
| config_only=false | |
| for arg in "$@"; do [[ "$arg" == --cfg* ]] && config_only=true; done | |
| if [[ "$config_only" == false ]]; then | |
| : "${OUTPUT_DIR:?Set OUTPUT_DIR to a new results directory}" | |
| [[ ! -e "$OUTPUT_DIR" ]] || { echo 'OUTPUT_DIR already exists' >&2; exit 2; } | |
| fi | |
| exec bash "$ROOT/navsim_v2/scripts/evaluation/eval_posttraj_temporal_v22.sh" \ | |
| "agent.config.pretrain_pt_path=$ROOT/checkpoints/vjepa2_1_vitl.pt" \ | |
| temporal_rerank.weight=0.125 "output_dir=${OUTPUT_DIR:-/tmp/da_wam_v2_config_only}" "$@" | |