Skip to content

Commit fe7051c

Browse files
committed
[DLMED] init the tutorial
Signed-off-by: Nic Ma <[email protected]>
1 parent a583b9a commit fe7051c

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
This folder contains typical usage examples of the bundles in MONAI model-zoo.
2+
13
## Getting Started
24

35
To download and get started with the models, please see also https://monai.io/model-zoo.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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+
```

0 commit comments

Comments
 (0)