GANDLF 0.1.4.dev20250610__tar.gz → 0.1.4.dev20250612__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.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/cli/generate_metrics.py +1 -1
- gandlf-0.1.4.dev20250612/GANDLF/metrics/segmentation_panoptica.py +50 -0
- gandlf-0.1.4.dev20250612/GANDLF/version.py +1 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF.egg-info/PKG-INFO +1 -1
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/PKG-INFO +1 -1
- gandlf-0.1.4.dev20250610/GANDLF/metrics/segmentation_panoptica.py +0 -35
- gandlf-0.1.4.dev20250610/GANDLF/version.py +0 -1
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/.dockerignore +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/CODE_OF_CONDUCT.md +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/CONTRIBUTING.md +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/Dockerfile-CPU +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/Dockerfile-CUDA11.8 +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/Dockerfile-CUDA12.1 +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/Dockerfile-ROCm +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/__init__.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/anonymize/__init__.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/anonymize/convert_to_nifti.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/cli/__init__.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/cli/config_generator.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/cli/data_split_saver.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/cli/deploy.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/cli/huggingface_hub_handler.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/cli/main_run.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/cli/patch_extraction.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/cli/post_training_model_optimization.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/cli/preprocess_and_save.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/cli/recover_config.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/compute/__init__.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/compute/forward_pass.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/compute/generic.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/compute/inference_loop.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/compute/loss_and_metric.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/compute/step.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/compute/training_loop.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/config_manager.py +0 -0
- {gandlf-0.1.4.dev20250610/GANDLF/privacy → gandlf-0.1.4.dev20250612/GANDLF/configuration}/__init__.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/configuration/default_config.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/configuration/differential_privacy_config.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/configuration/exclude_parameters.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/configuration/model_config.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/configuration/nested_training_config.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/configuration/optimizer_config.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/configuration/parameters_config.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/configuration/patch_sampler_config.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/configuration/post_processing_config.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/configuration/pre_processing_config.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/configuration/scheduler_config.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/configuration/user_defined_config.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/configuration/utils.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/configuration/validators.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/ImagesFromDataFrame.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/__init__.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/augmentation/__init__.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/augmentation/blur_enhanced.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/augmentation/hed_augs.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/augmentation/noise_enhanced.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/augmentation/rgb_augs.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/augmentation/rotations.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/augmentation/wrap_torchio.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/inference_dataloader_histopath.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/lightning_datamodule.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/patch_miner/__init__.py +0 -0
- {gandlf-0.1.4.dev20250610/GANDLF/models/seg_modules → gandlf-0.1.4.dev20250612/GANDLF/data/patch_miner/opm}/__init__.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/patch_miner/opm/patch.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/patch_miner/opm/patch_manager.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/patch_miner/opm/utils.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/post_process/__init__.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/post_process/morphology.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/post_process/tensor.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/preprocessing/__init__.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/preprocessing/crop_zero_planes.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/preprocessing/non_zero_normalize.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/preprocessing/normalize_rgb.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/preprocessing/resample_minimum.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/preprocessing/rgb_conversion.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/preprocessing/template_matching/__init__.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/preprocessing/template_matching/base.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/preprocessing/template_matching/histogram_matching.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/preprocessing/template_matching/stain_extractors.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/preprocessing/template_matching/stain_normalizer.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/preprocessing/template_matching/utils.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/preprocessing/threshold_and_clip.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/entrypoints/__init__.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/entrypoints/anonymizer.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/entrypoints/cli_tool.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/entrypoints/collect_stats.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/entrypoints/config_generator.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/entrypoints/construct_csv.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/entrypoints/debug_info.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/entrypoints/deploy.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/entrypoints/generate_metrics.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/entrypoints/hf_hub_integration.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/entrypoints/optimize_model.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/entrypoints/patch_miner.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/entrypoints/preprocess.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/entrypoints/recover_config.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/entrypoints/run.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/entrypoints/split_csv.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/entrypoints/subcommands.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/entrypoints/verify_install.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/grad_clipping/__init__.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/grad_clipping/adaptive_gradient_clipping.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/grad_clipping/clip_gradients.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/grad_clipping/grad_scaler.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/inference_manager.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/logger.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/logging_config.yaml +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/losses/__init__.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/losses/hybrid.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/losses/hybrid_new.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/losses/loss_calculators.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/losses/loss_interface.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/losses/regression.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/losses/regression_new.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/losses/segmentation.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/losses/segmentation_new.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/metrics/__init__.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/metrics/classification.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/metrics/generic.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/metrics/metric_calculators.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/metrics/panoptica_config_brats.yaml +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/metrics/regression.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/metrics/segmentation.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/metrics/synthesis.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/MSDNet.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/__init__.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/brain_age.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/deep_unet.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/densenet.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/dynunet_wrapper.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/efficientnet.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/fcn.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/imagenet_unet.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/imagenet_vgg.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/light_unet.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/light_unet_multilayer.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/lightning_module.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/modelBase.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/resnet.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/sdnet.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/DecodingModule.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/DownsamplingModule.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/EncodingModule.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/FCNUpsamplingModule.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/IncConv.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/IncDownsamplingModule.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/IncDropout.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/IncUpsamplingModule.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/InceptionModule.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/InitialConv.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/Interpolate.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/ResNetModule.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/UpsamplingModule.py +0 -0
- {gandlf-0.1.4.dev20250610/GANDLF/data/patch_miner/opm → gandlf-0.1.4.dev20250612/GANDLF/models/seg_modules}/__init__.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/add_conv_block.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/add_downsample_conv_block.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/average_pool.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/out_conv.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/transunet.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/uinc.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/unet.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/unet_multilayer.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/unetr.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/vgg.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/optimizers/__init__.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/optimizers/thirdparty/__init__.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/optimizers/thirdparty/ademamix.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/optimizers/thirdparty/adopt.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/optimizers/thirdparty/lion.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/optimizers/wrap_monai.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/optimizers/wrap_torch.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/parseConfig.py +0 -0
- {gandlf-0.1.4.dev20250610/GANDLF/configuration → gandlf-0.1.4.dev20250612/GANDLF/privacy}/__init__.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/privacy/opacus/__init__.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/privacy/opacus/config_parsing.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/privacy/opacus/model_handling.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/privacy/opacus/opacus_anonymization_manager.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/privacy/opacus/training_utils.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/schedulers/__init__.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/schedulers/wrap_monai.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/schedulers/wrap_torch.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/training_manager.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/utils/__init__.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/utils/data_splitter.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/utils/exceptions.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/utils/gandlf_logging.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/utils/generic.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/utils/handle_collisions.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/utils/imaging.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/utils/modelbase.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/utils/modelio.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/utils/parameter_processing.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/utils/pred_target_processors.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/utils/tensor.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/utils/write_parse.py +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF.egg-info/SOURCES.txt +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF.egg-info/dependency_links.txt +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF.egg-info/entry_points.txt +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF.egg-info/not-zip-safe +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF.egg-info/requires.txt +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF.egg-info/top_level.txt +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/LICENSE +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/MANIFEST.in +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/README.md +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/SECURITY.md +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/setup.cfg +0 -0
- {gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/setup.py +0 -0
|
@@ -287,7 +287,7 @@ def generate_metrics_dict(
|
|
|
287
287
|
pred_array = pred_tensor.squeeze(0).numpy().astype(int)
|
|
288
288
|
|
|
289
289
|
overall_stats_dict[current_subject_id] = generate_instance_segmentation(
|
|
290
|
-
prediction=pred_array, target=label_array
|
|
290
|
+
prediction=pred_array, target=label_array, parameters=parameters
|
|
291
291
|
)
|
|
292
292
|
|
|
293
293
|
elif problem_type == "synthesis":
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
from pathlib import Path
|
|
2
|
+
import tempfile
|
|
3
|
+
|
|
4
|
+
import numpy as np
|
|
5
|
+
|
|
6
|
+
from panoptica import Panoptica_Evaluator
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def generate_instance_segmentation(
|
|
10
|
+
prediction: np.ndarray,
|
|
11
|
+
target: np.ndarray,
|
|
12
|
+
parameters: dict = None,
|
|
13
|
+
panoptica_config_path: str = None,
|
|
14
|
+
) -> dict:
|
|
15
|
+
"""
|
|
16
|
+
Evaluate a single exam using Panoptica.
|
|
17
|
+
|
|
18
|
+
Args:
|
|
19
|
+
prediction (np.ndarray): The input prediction containing objects.
|
|
20
|
+
label_path (str): The path to the reference label.
|
|
21
|
+
target (np.ndarray): The input target containing objects.
|
|
22
|
+
panoptica_config_path (str): The path to the Panoptica configuration file.
|
|
23
|
+
|
|
24
|
+
Returns:
|
|
25
|
+
dict: The evaluation results.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
cwd = Path(__file__).parent.absolute()
|
|
29
|
+
# the parameters dict takes precedence over the panoptica_config_path
|
|
30
|
+
panoptica_config = parameters.get("panoptica_config", None)
|
|
31
|
+
if panoptica_config is None:
|
|
32
|
+
panoptica_config_path = (
|
|
33
|
+
cwd / "panoptica_config_brats.yaml"
|
|
34
|
+
if panoptica_config_path is None
|
|
35
|
+
else panoptica_config_path
|
|
36
|
+
)
|
|
37
|
+
else:
|
|
38
|
+
# write the panoptica config to a file
|
|
39
|
+
panoptica_config_path = tempfile.NamedTemporaryFile(
|
|
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)
|
|
45
|
+
|
|
46
|
+
# call evaluate
|
|
47
|
+
group2result = evaluator.evaluate(prediction_arr=prediction, reference_arr=target)
|
|
48
|
+
|
|
49
|
+
results = {k: r.to_dict() for k, r in group2result.items()}
|
|
50
|
+
return results
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.4-dev20250612"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: GANDLF
|
|
3
|
-
Version: 0.1.4.
|
|
3
|
+
Version: 0.1.4.dev20250612
|
|
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.4.
|
|
3
|
+
Version: 0.1.4.dev20250612
|
|
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,35 +0,0 @@
|
|
|
1
|
-
from pathlib import Path
|
|
2
|
-
|
|
3
|
-
import numpy as np
|
|
4
|
-
|
|
5
|
-
from panoptica import Panoptica_Evaluator
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
def generate_instance_segmentation(
|
|
9
|
-
prediction: np.ndarray, target: np.ndarray, panoptica_config_path: str = None
|
|
10
|
-
) -> dict:
|
|
11
|
-
"""
|
|
12
|
-
Evaluate a single exam using Panoptica.
|
|
13
|
-
|
|
14
|
-
Args:
|
|
15
|
-
prediction (np.ndarray): The input prediction containing objects.
|
|
16
|
-
label_path (str): The path to the reference label.
|
|
17
|
-
panoptica_config_path (str): The path to the Panoptica configuration file.
|
|
18
|
-
|
|
19
|
-
Returns:
|
|
20
|
-
dict: The evaluation results.
|
|
21
|
-
"""
|
|
22
|
-
|
|
23
|
-
cwd = Path(__file__).parent.absolute()
|
|
24
|
-
panoptica_config_path = (
|
|
25
|
-
cwd / "panoptica_config_brats.yaml"
|
|
26
|
-
if panoptica_config_path is None
|
|
27
|
-
else panoptica_config_path
|
|
28
|
-
)
|
|
29
|
-
evaluator = Panoptica_Evaluator.load_from_config(panoptica_config_path)
|
|
30
|
-
|
|
31
|
-
# call evaluate
|
|
32
|
-
group2result = evaluator.evaluate(prediction_arr=prediction, reference_arr=target)
|
|
33
|
-
|
|
34
|
-
results = {k: r.to_dict() for k, r in group2result.items()}
|
|
35
|
-
return results
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.1.4-dev20250610"
|
|
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.dev20250610 → gandlf-0.1.4.dev20250612}/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.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/configuration/default_config.py
RENAMED
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/configuration/exclude_parameters.py
RENAMED
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/configuration/nested_training_config.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/configuration/optimizer_config.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/configuration/parameters_config.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/configuration/patch_sampler_config.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/configuration/post_processing_config.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/configuration/pre_processing_config.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/configuration/scheduler_config.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/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.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/augmentation/blur_enhanced.py
RENAMED
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/augmentation/noise_enhanced.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/augmentation/wrap_torchio.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/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.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/patch_miner/opm/patch_manager.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/post_process/morphology.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/preprocessing/crop_zero_planes.py
RENAMED
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/preprocessing/normalize_rgb.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/data/preprocessing/resample_minimum.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/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.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/entrypoints/config_generator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/entrypoints/generate_metrics.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/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.dev20250610 → gandlf-0.1.4.dev20250612}/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.dev20250610 → gandlf-0.1.4.dev20250612}/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.dev20250610 → gandlf-0.1.4.dev20250612}/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.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/DecodingModule.py
RENAMED
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/EncodingModule.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/IncDropout.py
RENAMED
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/InceptionModule.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/InitialConv.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/Interpolate.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/ResNetModule.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/UpsamplingModule.py
RENAMED
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/models/seg_modules/add_conv_block.py
RENAMED
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/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.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/optimizers/thirdparty/__init__.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/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.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/privacy/opacus/config_parsing.py
RENAMED
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/GANDLF/privacy/opacus/model_handling.py
RENAMED
|
File without changes
|
|
File without changes
|
{gandlf-0.1.4.dev20250610 → gandlf-0.1.4.dev20250612}/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.dev20250610 → gandlf-0.1.4.dev20250612}/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
|