MONAI icon indicating copy to clipboard operation
MONAI copied to clipboard

Enhance the `bundle.ConfigWorkflow` and `engines.Workflow` APIs and clarify the usage

Open wyli opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. Part of https://github.com/Project-MONAI/MONAI/discussions/6641 for the bundle enhancement, currently it's unclear how bundle.ConfigWorkflows and engines.Workflow APIs interact and how the user is expected to build a bundle for many 'non-standard' use cases.

The current example demonstrates a simple supervised segmentation workflow

  • https://github.com/Project-MONAI/tutorials/blob/main/bundle/python_bundle_workflow/scripts/train.py

The recommended way of creating a bundle for the flexible workflows still needs to be defined, such as

  • https://github.com/Project-MONAI/model-zoo/pull/262
  • https://github.com/Project-MONAI/model-zoo/tree/dev/models/lung_nodule_ct_detection
  • https://github.com/Project-MONAI/research-contributions/blob/main/auto3dseg/algorithm_templates/swinunetr/scripts/train.py

wyli avatar Jul 20 '23 11:07 wyli

A new tutorial tell user they can define things purely Python code and not have the config files under https://github.com/Project-MONAI/tutorials/tree/main/bundle

KumoLiu avatar Sep 20 '24 14:09 KumoLiu