#!/usr/bin/env bash # SUM Parts - did the dataset.test.voxel_max override actually land? set -uo pipefail LOG="${1:-$HOME/sum-parts/runs/coarse_eval/infer.log}" echo "log: $LOG" [ -f "$LOG" ] || { echo " missing"; exit 1; } echo echo "=== opts line (what was overridden) ===" grep -a '^opts:' "$LOG" || echo " (none)" echo echo "=== dataset block from the cfg dump ===" sed -n '/^dataset:/,/^datatransforms:/p' "$LOG" | head -25 echo echo "=== how many sub-clouds per tile ===" grep -ao 'Test on [0-9]*-th cloud \[[0-9]*\]/\[[0-9]*\]' "$LOG" \ | sed 's/.*\///' | sort -u | head echo echo "=== reported metrics ===" grep -aE 'test_oa|iou per cls' "$LOG" | tail -4