xsponenta commited on
Commit
3118106
·
1 Parent(s): 9cbefb9

Ensemble: disable redundant heavy features in classical pipeline

Browse files

The previous ensemble commit (9cbefb9) timed out because the classical
sklearn pipeline calls predict_wireframe_tracks via USE_TRACK_ENSEMBLE
and USE_TRACKS_AS_VERTICES — which is the same heavy DLT triangulation
already called by script.py's hybrid_merge. Doubling that step blows
the time budget.

Before calling predict_wireframe_sklearn, monkey-patch its module-level
flags to disable:
- USE_TRACK_ENSEMBLE (duplicate of hybrid_merge)
- USE_TRACKS_AS_VERTICES (duplicate of hybrid_merge)
- USE_WINNER_CANDIDATES (expensive iterative dilation)
- USE_LINE_EDGES (3D line clustering)

What we keep: per-view 2D semantic vertex detection, RANSAC affine
depth fit, 3D unprojection, multi-view merge, sklearn edge classifier.
This is the cheap-but-distinct signal — independent from anything the
learned pipeline produces. Flags are restored after the call.

1 file changed +27 -5
script.py+27-5