GANDLF 0.1.4.dev20250707__tar.gz → 0.1.5.dev20250709__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of GANDLF might be problematic. Click here for more details.
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/metrics/segmentation_panoptica.py +14 -15
- gandlf-0.1.5.dev20250709/GANDLF/version.py +1 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF.egg-info/PKG-INFO +1 -1
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/PKG-INFO +1 -1
- gandlf-0.1.4.dev20250707/GANDLF/version.py +0 -1
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/.dockerignore +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/CODE_OF_CONDUCT.md +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/CONTRIBUTING.md +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/Dockerfile-CPU +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/Dockerfile-CUDA11.8 +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/Dockerfile-CUDA12.1 +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/Dockerfile-ROCm +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/__init__.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/anonymize/__init__.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/anonymize/convert_to_nifti.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/cli/__init__.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/cli/config_generator.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/cli/data_split_saver.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/cli/deploy.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/cli/generate_metrics.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/cli/huggingface_hub_handler.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/cli/main_run.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/cli/patch_extraction.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/cli/post_training_model_optimization.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/cli/preprocess_and_save.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/cli/recover_config.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/compute/__init__.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/compute/forward_pass.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/compute/generic.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/compute/inference_loop.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/compute/loss_and_metric.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/compute/step.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/compute/training_loop.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/config_manager.py +0 -0
- {gandlf-0.1.4.dev20250707/GANDLF/privacy → gandlf-0.1.5.dev20250709/GANDLF/configuration}/__init__.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/configuration/default_config.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/configuration/differential_privacy_config.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/configuration/exclude_parameters.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/configuration/model_config.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/configuration/nested_training_config.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/configuration/optimizer_config.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/configuration/parameters_config.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/configuration/patch_sampler_config.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/configuration/post_processing_config.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/configuration/pre_processing_config.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/configuration/scheduler_config.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/configuration/user_defined_config.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/configuration/utils.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/configuration/validators.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/ImagesFromDataFrame.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/__init__.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/augmentation/__init__.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/augmentation/blur_enhanced.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/augmentation/hed_augs.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/augmentation/noise_enhanced.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/augmentation/rgb_augs.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/augmentation/rotations.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/augmentation/wrap_torchio.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/inference_dataloader_histopath.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/lightning_datamodule.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/patch_miner/__init__.py +0 -0
- {gandlf-0.1.4.dev20250707/GANDLF/models/seg_modules → gandlf-0.1.5.dev20250709/GANDLF/data/patch_miner/opm}/__init__.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/patch_miner/opm/patch.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/patch_miner/opm/patch_manager.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/patch_miner/opm/utils.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/post_process/__init__.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/post_process/morphology.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/post_process/tensor.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/preprocessing/__init__.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/preprocessing/crop_zero_planes.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/preprocessing/non_zero_normalize.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/preprocessing/normalize_rgb.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/preprocessing/resample_minimum.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/preprocessing/rgb_conversion.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/preprocessing/template_matching/__init__.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/preprocessing/template_matching/base.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/preprocessing/template_matching/histogram_matching.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/preprocessing/template_matching/stain_extractors.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/preprocessing/template_matching/stain_normalizer.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/preprocessing/template_matching/utils.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/preprocessing/threshold_and_clip.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/entrypoints/__init__.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/entrypoints/anonymizer.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/entrypoints/cli_tool.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/entrypoints/collect_stats.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/entrypoints/config_generator.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/entrypoints/construct_csv.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/entrypoints/debug_info.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/entrypoints/deploy.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/entrypoints/generate_metrics.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/entrypoints/hf_hub_integration.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/entrypoints/optimize_model.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/entrypoints/patch_miner.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/entrypoints/preprocess.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/entrypoints/recover_config.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/entrypoints/run.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/entrypoints/split_csv.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/entrypoints/subcommands.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/entrypoints/verify_install.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/grad_clipping/__init__.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/grad_clipping/adaptive_gradient_clipping.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/grad_clipping/clip_gradients.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/grad_clipping/grad_scaler.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/inference_manager.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/logger.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/logging_config.yaml +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/losses/__init__.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/losses/hybrid.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/losses/hybrid_new.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/losses/loss_calculators.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/losses/loss_interface.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/losses/regression.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/losses/regression_new.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/losses/segmentation.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/losses/segmentation_new.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/metrics/__init__.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/metrics/classification.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/metrics/generic.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/metrics/metric_calculators.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/metrics/panoptica_config_brats.yaml +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/metrics/regression.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/metrics/segmentation.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/metrics/synthesis.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/MSDNet.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/__init__.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/brain_age.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/deep_unet.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/densenet.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/dynunet_wrapper.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/efficientnet.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/fcn.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/imagenet_unet.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/imagenet_vgg.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/light_unet.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/light_unet_multilayer.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/lightning_module.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/modelBase.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/resnet.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/sdnet.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/DecodingModule.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/DownsamplingModule.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/EncodingModule.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/FCNUpsamplingModule.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/IncConv.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/IncDownsamplingModule.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/IncDropout.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/IncUpsamplingModule.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/InceptionModule.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/InitialConv.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/Interpolate.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/ResNetModule.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/UpsamplingModule.py +0 -0
- {gandlf-0.1.4.dev20250707/GANDLF/data/patch_miner/opm → gandlf-0.1.5.dev20250709/GANDLF/models/seg_modules}/__init__.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/add_conv_block.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/add_downsample_conv_block.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/average_pool.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/out_conv.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/transunet.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/uinc.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/unet.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/unet_multilayer.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/unetr.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/vgg.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/optimizers/__init__.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/optimizers/thirdparty/__init__.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/optimizers/thirdparty/ademamix.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/optimizers/thirdparty/adopt.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/optimizers/thirdparty/lion.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/optimizers/wrap_monai.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/optimizers/wrap_torch.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/parseConfig.py +0 -0
- {gandlf-0.1.4.dev20250707/GANDLF/configuration → gandlf-0.1.5.dev20250709/GANDLF/privacy}/__init__.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/privacy/opacus/__init__.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/privacy/opacus/config_parsing.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/privacy/opacus/model_handling.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/privacy/opacus/opacus_anonymization_manager.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/privacy/opacus/training_utils.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/schedulers/__init__.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/schedulers/wrap_monai.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/schedulers/wrap_torch.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/training_manager.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/utils/__init__.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/utils/data_splitter.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/utils/exceptions.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/utils/gandlf_logging.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/utils/generic.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/utils/handle_collisions.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/utils/imaging.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/utils/modelbase.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/utils/modelio.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/utils/parameter_processing.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/utils/pred_target_processors.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/utils/tensor.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/utils/write_parse.py +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF.egg-info/SOURCES.txt +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF.egg-info/dependency_links.txt +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF.egg-info/entry_points.txt +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF.egg-info/not-zip-safe +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF.egg-info/requires.txt +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF.egg-info/top_level.txt +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/LICENSE +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/MANIFEST.in +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/README.md +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/SECURITY.md +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/setup.cfg +0 -0
- {gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/setup.py +0 -0
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/metrics/segmentation_panoptica.py
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from pathlib import Path
|
|
2
|
-
import
|
|
2
|
+
import os
|
|
3
3
|
|
|
4
|
+
from typing import Optional
|
|
4
5
|
import numpy as np
|
|
5
6
|
|
|
6
7
|
from panoptica import Panoptica_Evaluator
|
|
@@ -9,8 +10,8 @@ from panoptica import Panoptica_Evaluator
|
|
|
9
10
|
def generate_instance_segmentation(
|
|
10
11
|
prediction: np.ndarray,
|
|
11
12
|
target: np.ndarray,
|
|
12
|
-
parameters: dict
|
|
13
|
-
panoptica_config_path: str = None,
|
|
13
|
+
parameters: dict,
|
|
14
|
+
panoptica_config_path: Optional[str] = None,
|
|
14
15
|
) -> dict:
|
|
15
16
|
"""
|
|
16
17
|
Evaluate a single exam using Panoptica.
|
|
@@ -19,29 +20,27 @@ def generate_instance_segmentation(
|
|
|
19
20
|
prediction (np.ndarray): The input prediction containing objects.
|
|
20
21
|
label_path (str): The path to the reference label.
|
|
21
22
|
target (np.ndarray): The input target containing objects.
|
|
23
|
+
parameters (dict): The GaNDLF parameters from which panoptica config is to be extracted.
|
|
22
24
|
panoptica_config_path (str): The path to the Panoptica configuration file.
|
|
23
25
|
|
|
24
26
|
Returns:
|
|
25
27
|
dict: The evaluation results.
|
|
26
28
|
"""
|
|
27
29
|
|
|
28
|
-
|
|
30
|
+
os.environ["PANOPTICA_CITATION_REMINDER"] = "False"
|
|
31
|
+
|
|
29
32
|
# the parameters dict takes precedence over the panoptica_config_path
|
|
30
|
-
|
|
31
|
-
if
|
|
33
|
+
evaluator = parameters.get("panoptica_config", None)
|
|
34
|
+
if evaluator is None:
|
|
35
|
+
cwd = Path(__file__).parent.absolute()
|
|
32
36
|
panoptica_config_path = (
|
|
33
|
-
cwd / "panoptica_config_brats.yaml"
|
|
37
|
+
str(cwd / "panoptica_config_brats.yaml")
|
|
34
38
|
if panoptica_config_path is None
|
|
35
39
|
else panoptica_config_path
|
|
36
40
|
)
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
mode="w", delete=False, suffix=".yaml"
|
|
41
|
-
).name
|
|
42
|
-
with open(panoptica_config_path, "w") as f:
|
|
43
|
-
f.write(panoptica_config)
|
|
44
|
-
evaluator = Panoptica_Evaluator.load_from_config(panoptica_config_path)
|
|
41
|
+
evaluator = Panoptica_Evaluator.load_from_config(panoptica_config_path)
|
|
42
|
+
|
|
43
|
+
assert evaluator is not None, "Panoptica evaluator could not be initialized."
|
|
45
44
|
|
|
46
45
|
# call evaluate
|
|
47
46
|
group2result = evaluator.evaluate(prediction_arr=prediction, reference_arr=target)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.5-dev20250709"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: GANDLF
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.5.dev20250709
|
|
4
4
|
Summary: PyTorch-based framework that handles segmentation/regression/classification using various DL architectures for medical imaging.
|
|
5
5
|
Author: MLCommons
|
|
6
6
|
Author-email: gandlf@mlcommons.org
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: GANDLF
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.5.dev20250709
|
|
4
4
|
Summary: PyTorch-based framework that handles segmentation/regression/classification using various DL architectures for medical imaging.
|
|
5
5
|
Author: MLCommons
|
|
6
6
|
Author-email: gandlf@mlcommons.org
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.1.4-dev20250707"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/cli/post_training_model_optimization.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/configuration/default_config.py
RENAMED
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/configuration/exclude_parameters.py
RENAMED
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/configuration/nested_training_config.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/configuration/optimizer_config.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/configuration/parameters_config.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/configuration/patch_sampler_config.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/configuration/post_processing_config.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/configuration/pre_processing_config.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/configuration/scheduler_config.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/configuration/user_defined_config.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/augmentation/blur_enhanced.py
RENAMED
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/augmentation/noise_enhanced.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/augmentation/wrap_torchio.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/inference_dataloader_histopath.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/patch_miner/opm/patch_manager.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/post_process/morphology.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/preprocessing/crop_zero_planes.py
RENAMED
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/preprocessing/normalize_rgb.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/preprocessing/resample_minimum.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/data/preprocessing/rgb_conversion.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/entrypoints/config_generator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/entrypoints/generate_metrics.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/entrypoints/hf_hub_integration.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/grad_clipping/clip_gradients.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/metrics/panoptica_config_brats.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/light_unet_multilayer.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/DecodingModule.py
RENAMED
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/EncodingModule.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/IncDropout.py
RENAMED
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/InceptionModule.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/InitialConv.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/Interpolate.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/ResNetModule.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/UpsamplingModule.py
RENAMED
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/add_conv_block.py
RENAMED
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/models/seg_modules/average_pool.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/optimizers/thirdparty/__init__.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/optimizers/thirdparty/ademamix.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/privacy/opacus/config_parsing.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/privacy/opacus/model_handling.py
RENAMED
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/privacy/opacus/training_utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250707 → gandlf-0.1.5.dev20250709}/GANDLF/utils/pred_target_processors.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|