Gallery¶
Every figure below was made by the scripts in examples/
and is committed to the repository. Click a figure to enlarge it. How each was made and what to
look for: Examples explained.
ResNet-50 looks at a cat¶
ImageNet weights, the scikit-image "chelsea" photograph (CC0).


neural-flow demo cat # or: python examples/resnet.py
neural-flow render resnet50 -i photo.jpg --style technical -o flow.png
Vision transformer (ViT-B/16)¶


Chest X-ray (TorchXRayVision DenseNet-121)¶
A public NIH ChestX-ray14 radiograph. 18 pathology outputs, shown as independent probabilities.


2-D U-Net¶
Trained on synthetic microscopy images. Skip connections are drawn as bridges.


3-D U-Net on an MRI-like volume¶
[B, C, X, Y, Z] as a first-class object: anatomy → translucent voxel blocks → a 3-D segmentation.


3-D transformer U-Nets on a whole head¶
MONAI UNETR and Swin UNETR, trained here on 64³ windows of a synthetic head with five structures. The transformer levels are stages; the output card is the whole head fused from sliding windows.




python examples/transformer_3d.py [--model swinunetr] [--flat] [--movie]
neural-flow render unest -i T1_mni.nii.gz --sliding-window --style cinematic # MASI UNesT, real weights
See 3-D models.
nnU-Net: TotalSegmentator on a CT¶
Real TotalSegmentator weights (nnU-Net v2) on its public example CT, with nnU-Net's own preprocessing and sliding windows. Encoder levels bridge to the decoder levels of the same resolution.


neural-flow fetch totalseg totalseg-organs
neural-flow render totalseg-organs -i sample:ct --sliding-window --style cinematic
neural-flow render nnunet:path/to/results_folder -i case.nii.gz --sliding-window # your nnU-Net
See nnU-Net and TotalSegmentator.
Multi-input, multi-head¶
An MRI volume and a clinical vector → lesion segmentation, lesion probability and brain age.


Movies¶
Stages, channels, colours and scales are fixed across frames. See Movies.
Interactive explorer¶
Open the ResNet-50 explorer
made with neural-flow render resnet50 -i sample:cat --html -o flow.png.