280060db82
- Introduced multiple regression experiment configurations targeting vf_md, including: - cd_solo_reg_set.json: CD tower only regression setup. - img_solo_reg_set.json: Image tower only regression setup. - reg_head_epoch_sweep.json: Baseline regression sweeps at different epochs (50, 75, 100). - reg_head_set.json: Various regression setups including baseline and OrthoBridge configurations. - single_eye_reg.json: Single-eye regression setup for worst-eye aggregation analysis. - Added ensemble configurations for OrthoBridge with different inner bridges: - ortho_alts_ensemble.json: Ensemble tests with ConcatBridge, PairwiseAdditiveBridge, and GatedAdditiveBridge. - ortho_alts_tritower.json: Tritower tests with the same inner bridges. - Created V2-M specific configurations: - baseline_reg_nt50.json: Regression baseline with V2-M backbone. - geom_vec_gt.json and geom_vec_unet.json: Geometry vector injection experiments with V2-M. - single_l1_bridges.json: Single-eye ensemble experiments with various bridge types. - tritower_geom_gt.json: Tritower setup with GT contour-rasterized masks. - Promoted existing experiments to higher repetitions for robustness.
28 lines
865 B
Bash
Executable File
28 lines
865 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
cd "$(dirname "$0")/../.."
|
|
|
|
PYTHON_BIN="${PYTHON_BIN:-/home/rpotter/miniconda3/envs/fundus_imaging/bin/python}"
|
|
export MPLCONFIGDIR="${MPLCONFIGDIR:-/tmp/mplconfig}"
|
|
|
|
FUSION_SPLIT="${FUSION_SPLIT:-test}"
|
|
GRADCAM_GRID="${GRADCAM_GRID:-16}"
|
|
GRADCAM_ALPHA="${GRADCAM_ALPHA:-0.45}"
|
|
|
|
FUSION_SOURCE="${FUSION_SOURCE:-v3}"
|
|
GRADCAM_SOURCE="${GRADCAM_SOURCE:-v3}"
|
|
|
|
echo "Running F8a fusion event panel from ${FUSION_SOURCE} ${FUSION_SPLIT} predictions..."
|
|
"${PYTHON_BIN}" -m v4.figures.F8_explainability \
|
|
--only-fusion \
|
|
--fusion-source "${FUSION_SOURCE}" \
|
|
--fusion-split "${FUSION_SPLIT}"
|
|
|
|
echo "Running oriented GradCAM outputs from ${GRADCAM_SOURCE}..."
|
|
"${PYTHON_BIN}" -m v4.figures.F8_explainability \
|
|
--only-gradcam \
|
|
--gradcam-source "${GRADCAM_SOURCE}" \
|
|
--n-grid "${GRADCAM_GRID}" \
|
|
--alpha "${GRADCAM_ALPHA}"
|