pyiqa.utils.options

Module Contents

pyiqa.utils.options.ordered_yaml()[source]

Support OrderedDict for yaml.

Returns:

yaml Loader and Dumper.

pyiqa.utils.options.dict2str(opt, indent_level=1)[source]

dict to string for printing options.

Parameters:
  • opt (dict) – Option dict.

  • indent_level (int) – Indent level. Default: 1.

Returns:

Option string for printing.

Return type:

(str)

pyiqa.utils.options.make_paths(opt, root_path)[source]
pyiqa.utils.options.parse_options(root_path, is_train=True)[source]
pyiqa.utils.options.copy_opt_file(opt_file, experiments_root)[source]