Spaces:
Running
Running
Commit History
-
ux: move the large-raster note to the footer and shorten it
AyoubIt sat directly under the header intro, where it was the first thing a visitor read. The same string is reused in the soft and hard limit messages, so those get shorter too. The CSS card follows it down: bottom margin instead of top, and the code-wrapping rule moves from #app-header to #local-note.542ee97
-
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