Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/bundle/hybrid_programming/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ This example mainly shows a typical use case that parses the config files in you
Parse the config files in the python program and execute inference from the python program:

```
python -m scripts.inference run --config_file "['configs/data_loading.json','configs/net_inferer.json','configs/post_processing.json']" --ckpt_path <path_to_checkpoint>
python -m scripts.inference run --config_file "['configs/data_loading.json','configs/net_inferer.yaml','configs/post_processing.json']" --ckpt_path <path_to_checkpoint>
```
18 changes: 0 additions & 18 deletions modules/bundle/hybrid_programming/configs/net_inferer.json

This file was deleted.

14 changes: 14 additions & 0 deletions modules/bundle/hybrid_programming/configs/net_inferer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
network:
_target_: UNet
spatial_dims: 3
in_channels: 1
out_channels: 2
channels: [16, 32, 64, 128, 256]
strides: [2, 2, 2, 2]
num_res_units: 2
norm: batch
inferer:
_target_: SlidingWindowInferer
roi_size: [96, 96, 96]
sw_batch_size: 4
overlap: 0.5