Downloads · 30 days
0
Xiang-zx-zx/xenium-senescence-checkpoints
xenium-senescence-checkpoints is a machine learning model from Xiang-zx-zx. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
UNet (42M params) trained with OT-CFM for cell trajectory generation.
Downloads · 30 days
0
Access
Public
Updated Apr 24, 2026
Repo size
16.4 GB
Likes
0
Public
Click a slice to open those files.
.pt16.4 GB · 100%
From the Hugging Face model README
UNet (42M params) trained with OT-CFM for cell trajectory generation.
v8_{tissue}/model-50000.pt # V8 baseline (50K steps, constant LR 5e-5)
c25_20k/model-{step}.pt # C25 (cosine LR 2e-4, contrastive, 20K steps)
ckpt = torch.load("model-50000.pt")
# Keys: 'model' (state_dict), 'ema' (EMA state_dict), 'step' (int)
from unet_ccdm_latent_cond import UNet_CCDM_LatentCond
unet = UNet_CCDM_LatentCond(
dim=64, dim_mults=[1,2,2,4,8], cond_emb_dim_init=128,
channels=1, num_cell_types=10, dropout=0.0
)
ckpt = torch.load("model-50000.pt", map_location="cpu")
unet.load_state_dict(ckpt['model'])
accelerate launch --multi_gpu --num_processes 8 train_flow_matching.py \
--image_start --batch_size 512 --train_steps 20000 \
--lr 2e-4 --lr_schedule cosine --warmup_steps 2000 --lr_min 1e-6 \
--weight_decay 0.01 --contrastive_weight 0.1 \
--latent_drop_prob 0.5 --noise_prob 0.2 --noise_level 0.2 \
--num_cell_types 10 --auto_resume
| Config | FID | Area Dir | T cells Int |
|---|---|---|---|
| V8 baseline | 22.92 | ✓ 100% | ✓ rho=0.60 |
| C25 cosine LR (20K) | TBD | ✓ | TBD |