Downloads · 30 days
0
KapoorLabs/xenopus-unet-pytorch
xenopus-unet-pytorch is a machine learning model from KapoorLabs. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as bsd-3-clause.
PyTorch-Lightning checkpoint trained with kapoorlabsvollseg (modelsunetpytorch). Flat layout — the folder ships:
Downloads · 30 days
0
Access
Public
Updated Jun 20, 2026
Repo size
393 MB
Likes
0
Public
Click a slice to open those files.
.ckpt393 MB · 100%
From the Hugging Face model README
PyTorch-Lightning checkpoint trained with kapoorlabs_vollseg
(models_unet_pytorch). Flat layout — the folder ships:
last.ckpt (and optionally per-epoch <model_name>-epoch=NNN.ckpt)training_config.json — Hydra parameters block, what
kapoorlabs_vollseg reads first to rebuild the architecture<model_name>.json — legacy CareInception fallback configStarDist rays are regenerated deterministically from
(conv_dims, n_rays, anisotropy) in the JSON; no rays.npy
sidecar is needed.
# StarDist
from kapoorlabs_vollseg import StarDistSegmenter, ensure_model
folder = ensure_model("./local_models", "models_unet_pytorch",
repo_id="KapoorLabs/xenopus-unet-pytorch")
star = StarDistSegmenter.from_folder(folder)
labels = star.predict(volume).labels
# U-Net
from kapoorlabs_vollseg import UNetSegmenter, ensure_model
folder = ensure_model("./local_models", "models_unet_pytorch",
repo_id="KapoorLabs/xenopus-unet-pytorch")
unet = UNetSegmenter.from_folder(folder)
labels = unet.predict(volume).labels
# CARE
from kapoorlabs_vollseg import CAREDenoiser, ensure_model
folder = ensure_model("./local_models", "models_unet_pytorch",
repo_id="KapoorLabs/xenopus-unet-pytorch")
care = CAREDenoiser.from_folder(folder)
denoised = care.predict(volume).denoised
See https://github.com/Kapoorlabs-CAPED/KapoorLabs-VollSeg for the full segmentation pipeline.