isp-uv-es/CloudSEN12Plus
Viewer • Updated • 50.2k • 1.58k • 11
How to use Burdenthrive/cloud-detection-unet-regnetzd8 with timm:
import timm
model = timm.create_model("hf_hub:Burdenthrive/cloud-detection-unet-regnetzd8", pretrained=True)Repository: Burdenthrive/cloud-detection-unet-regnetzd8
Task: Multiclass image segmentation (4 classes) on multispectral Sentinel‑2 L1C (13 bands) using U‑Net (segmentation_models_pytorch) with RegNetZ D8 encoder.
This model predicts per‑pixel labels among: clear, thick cloud, thin cloud, cloud shadow.
B×13×512×512). tu-regnetz_d8 (TIMM encoder via segmentation_models_pytorch). B×4×512×512 (apply softmax + argmax). model.py, config.json, and weights.model.py — defines the UNet class (wrapper around smp.Unet).config.json — hyperparameters and class names:{
"task": "image-segmentation",
"model_name": "unet-regnetz-d8",
"model_kwargs": { "in_channels": 13, "num_classes": 4 },
"classes": ["clear", "thick cloud", "thin cloud", "cloud shadow"]
}