Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 767 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 767 Bytes

Description

This example mainly shows a typical use case that parses the config files in your own Python program, instantiates the Python components and executes the inference.

commands example

Parse the config files in the Python program and execute inference from the python program, using scripts/inference.py:

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

Parse the config file content in Python and overriding the default values, using the entry point defined in scrips/train_demo.py.

python -m scripts.train_demo run \
    --config_file=configs/net_inferer.yaml \
    --network#in_channels=10