Implementation snapshot supporting the published lesson. Only cited line ranges are included; this is not a runnable source file. Configuration and recorded examples describe this project snapshot.
… uncited lines omitted …4require_file "$SEG_WEIGHTS" "$POSE_WEIGHTS" "$ALIGNED_REFERENCE" \5 "$PNP_SNAPSHOT/calibration.json" "$PNP_SNAPSHOT/object_keypoints.yaml" \6 "$PNP_SNAPSHOT/manifest.json"7"$PROJECT_ROOT/.venv/bin/python" "$PROJECT_ROOT/scripts/pnp_snapshot.py" verify "$DATASET"8"$PROJECT_ROOT/.venv-ros-cuda/bin/python" \9 "$PROJECT_ROOT/scripts/verify_phase4_frame_contract.py" "$DATASET" "$CATEGORY" \10 --calibration "$PNP_SNAPSHOT/calibration.json" \11 --keypoints "$PNP_SNAPSHOT/object_keypoints.yaml"1213exec "$PROJECT_ROOT/scripts/run_phase4_cuda.sh" \14 "segmentation_weights:=$SEG_WEIGHTS" \15 "pose_weights:=$POSE_WEIGHTS" \16 "reference:=$ALIGNED_REFERENCE" \17 "keypoints:=$PNP_SNAPSHOT/object_keypoints.yaml" \18 "${@:3}"