Registry / ai-ml / gandlf

gandlf

JSON →
library0.1.5pypypi✓ verified 81d ago

A generalizable AI framework for segmentation, regression, and classification in medical imaging, built on PyTorch. Current version 0.1.5, with releases on PyPI monthly. Supports multiple architectures and modalities.

pip install gandlf
INSTALL
IMPORT
SIG · GANDLF
G
gandlf
ai-mlpythonv0.1.5
Install
Import
Disk
Pass rate
0/ 10
Env Coverage0 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v? · pip install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
build_error
glibc
py 3.103.95 runs
timeout
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

GANDLF
import GANDLF
from gandlf import GANDLF

Basic training with GaNDLF using a YAML config file. Replace paths as needed.

from gandlf import GANDLF import os gandlf_instance = GANDLF( config_path='path/to/config.yaml', data_path='path/to/data/' ) gandlf_instance.train() # For inference: # gandlf_instance.infer(input='path/to/test.nii.gz')
Debug
Known issues
breakingPython version must be >3.9 and <3.13. Installing with Python 3.13+ will fail.
fix
Use Python 3.10, 3.11, or 3.12.
affects: >=0.1.0
deprecatedImporting from gandlf directly (e.g., 'from gandlf import TrainingManager') is deprecated after v0.1.0.
fix
Use full submodule path (e.g., 'from gandlf.training_manager import TrainingManager').
affects: >=0.1.0
gotchaThe config file must have absolute paths for data directories; relative paths may cause file-not-found errors.
fix
Use os.path.abspath() or absolute paths in YAML.
affects: all
breakingGaNDLF requires MONAI and PyTorch to be installed separately; pip does not automatically install them.
fix
Run 'pip install torch monai' before installing gandlf.
affects: all
Upgrade
Version history
0.1.5latest on PyPI · released Aug 14, 2025
Audit
Dependencies
torchrequiredCore deep learning framework
monairequiredMedical imaging utilities and transformations
nibabelrequiredReading/writing NIfTI medical images
Agent activity
23 hits · last 30 days
node
22
OpenAI (training)
1
Resources
gandlf — pip install gandlf · libregistry