Project-MONAI / Project-MONAI/monai-deploy-app-sdk

Visualize workflow diagram in Jupyter notebook or Terminal

Open
#83 0 comments 0 reactions 1 assignee View on GitHub

@gigony is already working on this.

Since Aug 27, 2021.

architectural story
Dominant language
Python
Stars
138
Forks
70
PR merge metrics
No merged PRs in 30d

Description

Users may want to check the current workflow diagram inside the Jupyter notebook.

For example,

...

@resource(cpu=1)
@env(pip_packages=["torch", "numpy", "monai", "pillow"])
class App(Application):
    def compose(self):
        load_pil_op = LoadPILOperator()
        classifier_op = MedNISTClassifierOperator()

        self.add_flow(load_pil_op, classifier_op)

my_app = App()

my_app.show()  # or just 'my_app'

We would like to see the DAG in the Jupytergraph by executing my_app.show().

scikit-learn recently introduced awesome visualization of pipeline

References:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.