opengsl.config¶
- opengsl.config.load_conf(path: Optional[str] = None, method: Optional[str] = None, dataset: Optional[str] = None)[source]¶
Function to load config file.
- Parameters
path (str) – Path to load config file. Load default configuration if set to None.
method (str) – Name of the used mathod. Necessary if
pathis set to None.dataset (str) – Name of the corresponding dataset. Necessary if
pathis set to None.
- Returns
conf – The config file converted to Namespace.
- Return type
argparse.Namespace