Views
No views yet
| Architecture | UNet |
| Framework | torch |
| Spatial Dims | 3 |
| Input Channels | 1 |
| Output Channels | 3 |
| Channel Names | mito_aff_1, mito_aff_2, mito_aff_3 |
| Iteration | 370000 |
| Input Voxel Size | 16, 16, 16 nm |
| Output Voxel Size | 16, 16, 16 nm |
| Inference Input Shape | 378, 378, 378 |
| Inference Output Shape | 256, 256, 256 |
| File | Format | Usage |
|---|---|---|
model.pt | PyTorch pickle | torch.load("model.pt") |
model.ts | TorchScript | torch.jit.load("model.ts") |
model.onnx | ONNX | onnxruntime.InferenceSession("model.onnx") |
metadata.json | JSON | Model metadata |
pip install cellmap-models1from cellmap_models.model_export.cellmap_model import CellmapModel
2
3model = CellmapModel("path/to/model/folder")
4
5# Inference
6output = model.ts_model(input_tensor)
7
8# Finetuning
9trainable_model = model.train()1from huggingface_hub import snapshot_download
2from cellmap_models.model_export.cellmap_model import CellmapModel
3
4path = snapshot_download(repo_id="mito_aff_unet_setup_19_worms")
5model = CellmapModel(path)