Instructions to use VBoussot/ImpactSynth with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KonfAI
How to use VBoussot/ImpactSynth with KonfAI:
pip install "konfai[imaging]" konfai-apps
# List the apps this repository holds konfai-apps list VBoussot/ImpactSynth # Run one of them on an image konfai-apps infer VBoussot/ImpactSynth:<app> -i image.nii.gz -o Output
- Notebooks
- Google Colab
- Kaggle
Commit History
26 days ago
-
Add the weights as safetensors
Verified signatureThe same tensors as the .pt files beside them, which stay for konfai-apps up to 1.8.7. Newer versions read the .safetensors.b8c114d
-
Release the weights under Apache-2.0
Verified signature18ca36f
-
Accept source images of any intensity range
Verified signatureRead the input in float32, clip it to [-1024, max] instead of [-1024, 5000] and drop the int16 cast. MRIs stored with an offset (e.g. +32768) or with values above 5000 were flattened before normalization. Normal MRIs change by 0.2 HU on average; CBCT predictions are unchanged.6a91780
-
Release the weights under CC BY-NC 4.0, the terms of their training data
Verified signatureb3c0592
-
Name the KonfAIInference stage by its classpath
Verified signatureKonfAI 1.8.7 no longer resolves the bare name; konfai_apps.transforms:KonfAIInference resolves on 1.8.6 and 1.8.7 alike.4fc9a65
-
Write the configs in KonfAI 1.8.7's spellings
Verified signatureThe sink is OutputDataset, and a repeated stage is keyed Name, Name#2 in the order it runs; KonfAI 1.8.7 refuses OutSameAsGroupDataset and Name/N.0bf3bb5
-
feat: no VRAM plan, the prediction config asks for a measured batch
Verified signatureThe apps declare no `vram_plan` any more and their `Prediction.yml` says `batch_size: 0`: konfai measures the batch its forward fits on the GPU (one patch at a time on a CPU). Needs the konfai release that measures the batch: an older konfai refuses a batch of 0.8006631
-
TotalSynth model card and app descriptions
Verified signatureThe README becomes the TotalSynth card (arXiv:2609.13838): the four apps, the training data, the held-out performance overall and by region, the external BIC-MAC evaluation before and after fine-tuning, usage from Slicer, the command line and konfai-apps fine-tune, and what an app does at inference. The app.json short and long descriptions now cite the TotalSynth paper. The Finetune app is described as the MR model fine-tuned on BIC-MAC whole-body Dixon MRI, and its input is labelled MR.a07f576
-
Drop the config keys konfai 1.8 no longer reads
Verified signatureimages_log, Dataset.filter, Dataset.use_cache, Dataset.Patch.mask, OutputDataset.inverse_transform, Predictor.Concat, the Evaluator's is_input/patch_transforms and StepLR's verbose: nothing binds them since konfai 1.8.2, so every run printed an unknown-key warning. Found by building each workflow file and reading strict_config's report; each edit checked to parse to the old tree minus those keys. The ImpactSynth MR sCT on a test case is bit-identical before and after.1f67be0
-
Rename ResampleToResolution to Resample, the spelling konfai 1.8 accepts
Verified signatured00d991
-
Add per-app icons and declare the app task
Verified signature7dadaa7
-
Add IMPACT-Synth training config (losses + optimizer) so the app is fine-tunable
Verified signatureRestore the training loss the shipped prediction config lacked: MAE + SAM_Perceptual (SAM2.1) + L1 on the Tanh head vs CT, a masked MAE metric, AdamW + StepLR. Output key Tanh verified against UNetPlusPlus.yml. Enables fine_tune (was a no-op RESUME with outputs_criterions: None).d382d12
-
fix: name the output group after the module the model exposes
Verified signatureoutputs_dataset keyed on Head:Tanh, a path of the former Python model; the config builds the model from UNetPlusPlus.yml, which exposes Tanh, so prediction failed to resolve the output group.db04a8e -
fix: log the image of the module the model exposes
Verified signaturedata_log named Head:Tanh, a path of the former Python model; the config builds the model from UNetPlusPlus.yml, which exposes Tanh, so the sCT image was never logged.15f7c94 -
fix: log the image of the module the model exposes
Verified signaturedata_log named Head:Tanh, a path of the former Python model; the config builds the model from UNetPlusPlus.yml, which exposes Tanh, so the sCT image was never logged.904762e -
fix: log the image of the module the model exposes
Verified signaturedata_log named Head:Tanh, a path of the former Python model; the config builds the model from UNetPlusPlus.yml, which exposes Tanh, so the sCT image was never logged.330c7e3 -
fix: log the image of the module the model exposes
Verified signaturedata_log named Head:Tanh, a path of the former Python model; the config builds the model from UNetPlusPlus.yml, which exposes Tanh, so the sCT image was never logged.4b9072f -
fix: name the output group after the module the model exposes
Verified signatureoutputs_dataset keyed on Head:Tanh, a path of the former Python model; the config builds the model from UNetPlusPlus.yml, which exposes Tanh, so prediction failed to resolve the output group.dcd38e0 -
fix: name the output group after the module the model exposes
Verified signatureoutputs_dataset keyed on Head:Tanh, a path of the former Python model; the config builds the model from UNetPlusPlus.yml, which exposes Tanh, so prediction failed to resolve the output group.0a71ca4 -
fix: name the output group after the module the model exposes
Verified signatureoutputs_dataset keyed on Head:Tanh, a path of the former Python model; the config builds the model from UNetPlusPlus.yml, which exposes Tanh, so prediction failed to resolve the output group.b0ab3c0
-
Drop the 2077-line UNetpp.yml (replaced by block-level UNetPlusPlus.yml)
Verified signature41d7603 -
Drop the 2077-line UNetpp.yml (replaced by block-level UNetPlusPlus.yml)
Verified signaturee340746 -
Drop the 2077-line UNetpp.yml (replaced by block-level UNetPlusPlus.yml)
Verified signature35b5902 -
Drop the 2077-line UNetpp.yml (replaced by block-level UNetPlusPlus.yml)
Verified signatured7fd0d4 -
Block-level UNetPlusPlus.yml + Tanh + clean-key checkpoints (forward-exact 0.0)
Verified signaturebd77191 -
Block-level UNetPlusPlus.yml + Tanh + clean-key checkpoints (forward-exact 0.0)
Verified signature727eb15 -
Block-level UNetPlusPlus.yml + Tanh + clean-key checkpoints (forward-exact 0.0)
Verified signatured7f37b8 -
Block-level UNetPlusPlus.yml + Tanh + clean-key checkpoints (forward-exact 0.0)
Verified signature24659bc -
Use declarative UNetpp.yml + clean-key checkpoints (forward-exact 0.0, inference-only)
Verified signature936f8c4 -
Use declarative UNetpp.yml + clean-key checkpoints (forward-exact 0.0, inference-only)
Verified signatured1f9106 -
Use declarative UNetpp.yml + clean-key checkpoints (forward-exact 0.0, inference-only)
Verified signature1a5ad78 -
Use declarative UNetpp.yml + clean-key checkpoints (forward-exact 0.0, inference-only)
Verified signaturefce0ea2
-
perf: recalibrate vram_plan (leave GPU headroom) + refresh perf README
Verified signature6a99326 -
perf: recalibrate vram_plan (leave GPU headroom) + refresh perf README
Verified signaturee347b68
-
Fix model-intrinsic params in the model (input channels / class count / network architecture) instead of exposing them in the config
Verified signature58f17c4 -
app.json: drop redundant top-level patch_size (now read from Prediction.yml)
Verified signature63a95fe
-
Update model card, app.json (patch size + VRAM plan) and inference configs
Verified signature1336bec
-
Make SAM_Perceptual metric explicit (train=False) in evaluation configs
Verified signatureeb7f804 -
Use SAM_Perceptual(train=True, weights=[0,1,1,0]) as training loss instead of IMPACTReg
Verified signature9833ede
-
Update
Valentin Boussot7ae66df
-
Update CV_3.pt MR/CT models
Valentin Boussot876f3f9 -
Update app.conf
Valentin Boussot6745556 -
Add Finetune models
Valentin Boussot680c14b -
Add MR/CT models
Valentin Boussot9278e76
-
Add finetune models
Valentin Boussot39b84cb -
Add finetune models
Valentin Boussot0e9eb18 -
Add finetune models
Valentin Boussot7659e57 -
Update MR/Prediction.yml
Verified signature234b9b4 -
Update MR_CBCT/Prediction.yml
Verified signaturefccfd77 -
Update CBCT/Prediction.yml
Verified signaturede48fa3