Skip to content

Commit 25e89e1

Browse files
authored
[DLMED] show a YAML config example (#682)
Signed-off-by: Nic Ma <[email protected]>
1 parent cd08cbe commit 25e89e1

File tree

3 files changed

+15
-19
lines changed

3 files changed

+15
-19
lines changed

modules/bundle/hybrid_programming/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ This example mainly shows a typical use case that parses the config files in you
66
Parse the config files in the python program and execute inference from the python program:
77

88
```
9-
python -m scripts.inference run --config_file "['configs/data_loading.json','configs/net_inferer.json','configs/post_processing.json']" --ckpt_path <path_to_checkpoint>
9+
python -m scripts.inference run --config_file "['configs/data_loading.json','configs/net_inferer.yaml','configs/post_processing.json']" --ckpt_path <path_to_checkpoint>
1010
```

modules/bundle/hybrid_programming/configs/net_inferer.json

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
network:
2+
_target_: UNet
3+
spatial_dims: 3
4+
in_channels: 1
5+
out_channels: 2
6+
channels: [16, 32, 64, 128, 256]
7+
strides: [2, 2, 2, 2]
8+
num_res_units: 2
9+
norm: batch
10+
inferer:
11+
_target_: SlidingWindowInferer
12+
roi_size: [96, 96, 96]
13+
sw_batch_size: 4
14+
overlap: 0.5

0 commit comments

Comments
 (0)