implicitstainer-hemit / UPSTREAM_NOTICE.md
thomasdekerf's picture
Publish selected FP32 HEMIT benchmark weights and inference package
54fd3a8 verified
|
Raw History Blame Contribute Delete
1.97 kB

HEMIT release note

This checkpoint uses three RGB H&E inputs and three numerical fluorescence outputs in DAPI/CD3/panCK order, as specified by config.json. The historical architecture notice retained verbatim below describes the earlier ORION use of the same configurable constructor; its 17-input-channel description does not describe this HEMIT checkpoint. The source license file named in that notice is provided here as LICENSE. Perceptual feature networks used during training or evaluation are not inference dependencies and are not included.


ImplicitStainer CNN adaptation

Architecture source: https://github.com/tushaarkataria/ImplicitStainer, models/implicitstainer.py, models/edsr.py, models/mlp.py, configs/train-he2ihc/train_he_to_ihc_liif.yaml. Copyright 2025 Tushar Kataria; adapted upstream from LIIF (Yinbo Chen, 2020). BSD-3-Clause license retained in IMPLICITSTAINER_LICENSE.txt.

The implemented recipe is the released YAML's CNN configuration: EDSR baseline, 16 residual blocks, width64, learned 2-to-64 coordinate MLP and concatenated 128-to-RGB MLP, each four 256-wide PReLU hidden layers. The released query function uses nearest sampling and absolute coordinates, not four-way LIIF ensembling. Input changes to17 channels. Output stays RGB. Coordinate queries are chunked without changing the dense spatial objective. Disabled RGB MeanShift modules and unused flags are omitted. No pretrained encoder is used.

Reference objective is signed SmoothL1 with author MONAI Generative perceptual terms (AlexNet, VGG, ResNet50), each weight1. These require the optional monai-generative runtime and pretrained feature weights. The explicit ORION variant uses the common multiscale/LPIPS recipe instead. Optimizer/schedule in the common ORION trainer differ from the author Adam/epoch milestones. The Swin/hybrid encoder is not included in this CNN recipe and must not be claimed as tested. Source commit is in the priority audit.