fix: intégrer stage 04b (trim hors-eau) dans le pipeline #8

Open
floppyrj45 wants to merge 1 commits from fix/04b-pipeline-integration into feature/auto-pipeline
Owner

Problème

  • 04b_trim_water.py existait mais jamais appelé par run_pipeline.sh
  • 4 segments bloqués degraded car trim hors-eau non appliqué
  • GX019817 : trim rend le résultat pire (29%→0%) → guard nécessaire

Changements

  • run_pipeline.sh : appel stage 04b après 04 frame_extract
  • 04b_trim_water.py : no-regression guard (skip si after_pct < before_pct)
  • 05_inference.py : flags --offload_to_cpu --ply_conf_threshold 1.5

Impact mesuré (Lepradet)

  • AUV213/GX020030 : 42.4%→86.6%
  • AUV212/GX010094 : 16.4%→82.4%
  • AUV212/GX019861 : 17.7%→82.4%
  • AUV210/GX029818 : 21.2%→61.6%
  • Score global : 15→19 done, 16→12 degraded
## Problème - `04b_trim_water.py` existait mais jamais appelé par `run_pipeline.sh` - 4 segments bloqués degraded car trim hors-eau non appliqué - GX019817 : trim rend le résultat pire (29%→0%) → guard nécessaire ## Changements - `run_pipeline.sh` : appel stage 04b après 04 frame_extract - `04b_trim_water.py` : no-regression guard (skip si after_pct < before_pct) - `05_inference.py` : flags `--offload_to_cpu --ply_conf_threshold 1.5` ## Impact mesuré (Lepradet) - AUV213/GX020030 : 42.4%→86.6% ✅ - AUV212/GX010094 : 16.4%→82.4% ✅ - AUV212/GX019861 : 17.7%→82.4% ✅ - AUV210/GX029818 : 21.2%→61.6% ✅ - Score global : 15→19 done, 16→12 degraded
floppyrj45 added 1 commit 2026-05-12 04:39:28 +00:00
- run_pipeline.sh: add stage 04b after frame extract
- 04b_trim_water.py: skip trim if after_pct < before_pct (no-regression guard)
- 05_inference.py: add --offload_to_cpu + --ply_conf_threshold flags

Recovers 4 degraded segments on Lepradet mission (AUV213/GX020030,
AUV212/GX010094, AUV212/GX019861, AUV210/GX029818).
This pull request has changes conflicting with the target branch.
  • pipeline/stages/05_inference.py
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/04b-pipeline-integration:fix/04b-pipeline-integration
git checkout fix/04b-pipeline-integration
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: floppyrj45/cosma-qc#8