Download code/scripts/run_tiny.sh from ManfredC/cmevs-erp-eval: direct link, hf CLI and curl.
- Browser
- Download file 1.36 kB
-
https://huggingface.co/datasets/ManfredC/cmevs-erp-eval/resolve/main/code/scripts/run_tiny.sh
- Command line
-
hf download hf://datasets/ManfredC/cmevs-erp-eval/code/scripts/run_tiny.sh
-
curl -L -o run_tiny.sh https://huggingface.co/datasets/ManfredC/cmevs-erp-eval/resolve/main/code/scripts/run_tiny.sh
1.36 kB
| set -euo pipefail | |
| ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" | |
| OUT="${1:-$ROOT/outputs/tiny}" | |
| export PYTHONPATH="$ROOT:$ROOT/pipelines:${PYTHONPATH:-}" | |
| PYTHON_BIN="${PYTHON:-python3}" | |
| "$PYTHON_BIN" "$ROOT/scripts/build_candidates.py" \ | |
| --tiny \ | |
| --output-dir "$OUT" | |
| "$PYTHON_BIN" "$ROOT/scripts/select_views.py" \ | |
| --candidates "$OUT/metadata/candidates.jsonl" \ | |
| --output-dir "$OUT" \ | |
| --budget 4 \ | |
| --lambda-conflict 0.35 \ | |
| --min-gain 0.01 | |
| "$PYTHON_BIN" "$ROOT/scripts/render_selected.py" \ | |
| --tiny \ | |
| --selected "$OUT/metadata/selected_viewpoints.json" \ | |
| --output-dir "$OUT" | |
| "$PYTHON_BIN" "$ROOT/scripts/evaluate_coverage.py" \ | |
| --candidates "$OUT/metadata/candidates.jsonl" \ | |
| --selected "$OUT/metadata/selected_viewpoints.json" \ | |
| --validity "$OUT/renders/validity.jsonl" \ | |
| --output "$OUT/results/coverage_main.csv" | |
| "$PYTHON_BIN" "$ROOT/scripts/evaluate_oracle_gap.py" \ | |
| --candidates "$OUT/metadata/candidates.jsonl" \ | |
| --selected "$OUT/metadata/selected_viewpoints.json" \ | |
| --output "$OUT/results/oracle_validation.csv" | |
| "$PYTHON_BIN" "$ROOT/scripts/audit_quality.py" \ | |
| --render-dir "$OUT/renders" \ | |
| --metadata "$OUT/metadata/selected_viewpoints.json" \ | |
| --output "$OUT/results/audit_50_frames.csv" | |
| bash "$ROOT/scripts/check_anonymity.sh" | |
| echo "Tiny CM-EVS smoke test completed: $OUT" | |