def write_hyp(params):
    with open(params['hyp_file'], mode='w') as f:
        for (key, val) in params['hyp_param'].items():
            f.write(f'''{key}: {val}
''')
def write_hyp(params):
    with open(params['hyp_file'], mode='w') as f:
        for (key, val) in params['hyp_param'].items():
            f.write(f'{key}: {val}
')