Skip to content

Releases

v0.2.0 — Modal v2 checkpoint (ONNX)

Choose a tag to compare

@ltrgoddard ltrgoddard released this 15 Feb 22:52

CH4Net v0.2.0

UNet methane plume segmentation model trained on Sentinel-2 imagery from 23 Turkmenistan super-emitter sites (2017–2020).

Model

  • Format: ONNX (opset 18), 60 MB, single-file with embedded weights
  • Input: (batch, 12, H, W) float32 — 12 Sentinel-2 bands normalised to [0, 1]
  • Output: (batch, H, W, 1) float32 — sigmoid probabilities in [0, 1]
  • Spatial dims: dynamic (must be multiples of 16)

Training

  • 225 epochs on Modal (T4 GPU), best checkpoint at epoch 134
  • Loss: BCEWithLogitsLoss, Optimizer: Adam (lr=1e-4)
  • Val loss: 0.0723

Performance (test set, 2473 samples)

Metric Value
ROC AUC 0.942
Best pixel F1 0.400 (t=0.60)
Best pixel IoU 0.250
Sample-level recall 0.902
Sample-level precision 0.306

Usage

import onnxruntime as ort
import numpy as np

sess = ort.InferenceSession("ch4net_v2_standalone.onnx")
# input: (1, 12, H, W) float32 normalised to [0, 1]
prob = sess.run(None, {"input": image})[0]  # (1, H, W, 1)

Files

  • ch4net_v2_standalone.onnx — model weights (60 MB)
  • losses.npy — 225-epoch validation loss curve