File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
extend_workflow_with_handler Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ This folder contains typical usage examples of the bundles in MONAI model-zoo.
2
+
1
3
## Getting Started
2
4
3
5
To download and get started with the models, please see also https://monai.io/model-zoo .
Original file line number Diff line number Diff line change
1
+ # Overview
2
+ This tutorial shows how to extend the features of workflow in the model-zoo bundles based on ` event-handler ` mechanism.
3
+
4
+ ## Event-handler mechanism
5
+ placeholder
6
+
7
+ ## Download example monai bundle from model-zoo
8
+ ```
9
+ python -m monai.bundle download --name spleen_ct_segmentation --version "0.1.1" --bundle_dir "./"
10
+ ```
11
+
12
+ ## Extend the workflow to print the execution time for every iteration, every epoch and total time
13
+ placeholder
14
+
15
+ ## Commands example
16
+ To run the workflow with customized components, ` PYTHONPATH ` should be revised to include the path to the customized component:
17
+ ```
18
+ export PYTHONPATH=$PYTHONPATH:"<path to 'spleen_ct_segmentation/scripts'>"
19
+ ```
20
+ And please make sure the folder ` spleen_ct_segmentation/scripts ` is a valid python module (it has a ` __init__.py ` file in the folder).
21
+
22
+ Execute training:
23
+
24
+ ```
25
+ python -m monai.bundle run training --meta_file configs/metadata.json --config_file configs/train.json --logging_file configs/logging.conf
26
+ ```
You can’t perform that action at this time.
0 commit comments