monai.deploy.operators.BundleConfigNames

class monai.deploy.operators.BundleConfigNames(preproc_name='preprocessing', postproc_name='postprocessing', inferer_name='inferer', config_names='inference')[source]

Bases: object

This object holds the name of relevant config items used in a MONAI Bundle.

Creates an object holding the names of relevant config items in a MONAI Bundle.

This object holds the names of the config items in a MONAI Bundle that will need to be parsed by the inference operator for automating the object creations and inference. Defaults values are provided per conversion, so the arguments only need to be set as needed.

Parameters
  • preproc_name (str, optional) – Name of the config item for pre-processing transforms. Defaults to “preprocessing”.

  • postproc_name (str, optional) – Name of the config item for post-processing transforms. Defaults to “postprocessing”.

  • inferer_name (str, optional) – Name of the config item for inferer. Defaults to “inferer”.

  • config_names (List[str], optional) – Name of config file(s) in the Bundle for parsing. Defaults to [“inference”]. File ext must be .json.

Methods

__init__([preproc_name, postproc_name, …])

Creates an object holding the names of relevant config items in a MONAI Bundle.

__init__(preproc_name='preprocessing', postproc_name='postprocessing', inferer_name='inferer', config_names='inference')[source]

Creates an object holding the names of relevant config items in a MONAI Bundle.

This object holds the names of the config items in a MONAI Bundle that will need to be parsed by the inference operator for automating the object creations and inference. Defaults values are provided per conversion, so the arguments only need to be set as needed.

Parameters
  • preproc_name (str, optional) – Name of the config item for pre-processing transforms. Defaults to “preprocessing”.

  • postproc_name (str, optional) – Name of the config item for post-processing transforms. Defaults to “postprocessing”.

  • inferer_name (str, optional) – Name of the config item for inferer. Defaults to “inferer”.

  • config_names (List[str], optional) – Name of config file(s) in the Bundle for parsing. Defaults to [“inference”]. File ext must be .json.