common.input package#

Submodules#

common.input.utils module#

common.input.utils.check_and_create_output_dirs(output_dir, filetype)[source]#
common.input.utils.save_params(params, model_dir, fname='params.yaml')[source]#

Writes and saves a dictionary to a file in the model_dir.

Parameters
  • params (dict) – dict we want to write to a file in model_dir

  • model_dir (string) – Directory we want to write to

  • fname (string) – Name of file in model_dir we want to save to.

Module contents#