CrossEarth inference weights for Jittor
These FP32 checkpoints contain the DINOv2-L/16 backbone, LoRAReins adapter and ReinMask2Former segmentation head. Each file contains 646 inference tensors and can be loaded independently with the CrossEarth Jittor port. The original architecture, training and task weights are from the CrossEarth authors. Upstream project Β· Original checkpoints
| Jittor file | Original file | Task | Tile size | Classes |
|---|---|---|---|---|
potsdam_irrg.pth |
Potsdam(i)-source.pth |
Potsdam IRRG β Vaihingen IRRG | 512 Γ 512 | 6 |
loveda_r2u.pth |
R2U.pth |
LoveDA Rural β Urban | 1024 Γ 1024 | 7 |
Download
hf download OryXcc/CrossEarth-Jittor potsdam_irrg.pth loveda_r2u.pth SHA256SUMS --local-dir checkpoints
(cd checkpoints && sha256sum -c SHA256SUMS)
Inference
Run the following with the Jittor port on your Python path and a compatible CUDA device. The model accepts FP32 NCHW tensors at its native tile size. Use near-infrared, red and green channels for the Potsdam model, and RGB for LoveDA. Normalize the 8-bit channel values with mean [123.675, 116.28, 103.53] and standard deviation [58.395, 57.12, 57.375].
import jittor as jt
from crossearth.model import CrossEarth
jt.flags.use_cuda = 1
with jt.no_grad():
model = CrossEarth.from_checkpoint("checkpoints/potsdam_irrg.pth")
Verification
On all 398 Vaihingen tiles with ISPRS eroded labels, the Potsdam model achieved 67.49760% mIoU and 86.67307% overall pixel accuracy. Across all 104,333,312 predicted pixels, including ignored boundary pixels, 29 labels differed from the PyTorch reference.
The LoveDA checkpoint was checked on one 1024 Γ 1024 image assembled from four Urban validation tiles. Its predicted class matched PyTorch at all 1,048,576 pixels. Full-split mIoU was evaluated for Vaihingen only.
Model tree for OryXcc/CrossEarth-Jittor
Base model
Cusyoung/CrossEarth