Spaces:
Running
Running
Commit History
-
docs: drop the claim that the RGB+DEM models ignore the DEM
AyoubThe two 4-channel models carried a shared note saying the DEM channel was trained effectively constant and does not change their prediction. It is not correct, so it is removed rather than softened. - src/models.py: replace DEM_INERT_NOTE with plain per-model notes giving the architecture, patch size and input range, as the RGB models have - README.md, model/README.md, CLAUDE.md: remove the same claim, including the ablation figures and the dataset_benchm.py explanation behind itd1996c7 -
ux: drop the "DEM currently unused" suffix from the RGB+DEM model labels
Ayoub33a31c3
-
feat: port FraXtex ONNX inference pipeline
AyoubAdd the ONNX inference pipeline ported from the FraXtex QGIS plugin, which is canonical for this logic. Replaces the Space's non-overlapping patchify approach with the plugin's Hann-blended overlapping tiles and model-declared input contract. - src/inference.py: contract read from the ONNX graph (channel count, patch size, input range), overlapping tiles with separable Hann coverage normalization, DEM handling and sanity guards identical to the plugin. - src/models.py: registry of the four published models, fetched lazily from the ayoubft/fraXteX HF repo rather than committed here. - src/feedback.py: QgsProcessingFeedback-shaped shim so the ported code stays line-comparable with the plugin. - src/limits.py: input size limits, which the plugin has no need for because it runs on the user's own machine rather than a shared container. One deliberate deviation from the plugin: the out-of-range output check gets a 1e-5 tolerance. A sigmoid saturating to exactly 1.0 picks up ~1.2e…c4a9f4d