Skip to main content

MONAI NVIDIA FLARE integration

Project description

MONAI Integration

Objective

Integration with MONAI's federated learning capabilities.

Add ClientAlgoExecutor class to allow using MONAI's ClientAlgo class in federated scenarios.

Goals:

Allow the use of bundles from the MONAI model zoo or custom configurations with NVFlare.

Non-goals:

n/a

Background

MONAI allows the definition of AI models using the "bundle" concept. It allows for easy experimentation and sharing of models that have been developed using MONAI. Using the bundle configurations, we can use MONAI's MonaiAlgo (the implementation of ClientAlgo) to execute a bundle model in a federated scenario using NVFlare.

Federated Learning Module in MONAI (https://docs.monai.io/en/stable/modules.html#federated-learning)

Description

NVFlare executes the ClientAlgo class using the ClientAlgoExecutor class provided with this package.

Examples

For an example of using NVIDIA FLARE to train a medical image analysis model using federated averaging (FedAvg) and MONAI Bundle, see the examples.

Requirements

We recommend following the instructions for setting up a virtual environment, and using it in JupyterLab for running the notebooks the MONAI integration examples.

Install MONAI-NVFlare integration from PyPI:

pip install monai_nvflare

(Optional) Install MONAI-NVFlare integration from source:

pip install -e .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

monai_nvflare-0.2.2-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file monai_nvflare-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: monai_nvflare-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.12.0 pkginfo/1.8.2 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for monai_nvflare-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f70233607fc267a656ccd58068bee120d30c35a54cb9ba64e9767564aaeeead3
MD5 46847d0ef68b6bfd818ef3c31fe7b65f
BLAKE2b-256 528abd7f5262130d24befc6e6d05ab3fc40a5676f0df9480fa6a9ea931db95cc

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page