Views
No views yet
conv1 adapted to 1-channel brightfield input via mean-across-RGB-channels. Trained end-to-end with discriminative learning rates.{0: stem (iPSC), 1: progen (NPC), 2: neuron, 3: astro (astrocyte)}.| epoch | train_loss | train_acc | val_loss | val_acc |
|---|---|---|---|---|
| 0 | 0.4545 | 0.8220 | 0.0981 | 0.9651 |
| 1 | 0.2157 | 0.9249 | 0.2085 | 0.9286 |
| 2 | 0.1640 | 0.9494 | 0.1329 | 0.9553 |
| 3 | 0.1238 | 0.9602 | 0.0448 | 0.9795 |
| 4 | 0.1165 | 0.9623 | 0.0256 | 0.9905 |
3e-5, head LR 3e-4 (discriminative, 0.1x ratio).1import torch
2from huggingface_hub import hf_hub_download
3from cerberus_neuro.model import CellTypeOnlyModel
4
5ckpt_path = hf_hub_download('patrickjreed/cerberus-neuro-cell-type-v0', 'best.pt')
6ckpt = torch.load(ckpt_path, map_location='cpu', weights_only=False)
7
8model = CellTypeOnlyModel(in_channels=1, n_classes=4, pretrained_encoder=False)
9model.load_state_dict(ckpt['model'])
10model.eval()