Ejemplo n.º 1
0
def setup_experiments(args):
    set_up_gpu(args)
    fix_random_seed_as(args.random_seed)

    export_root = create_experiment_export_folder(args)
    export_experiments_config_as_json(args, export_root)

    pp.pprint(vars(args), width=1)
    return export_root, args
Ejemplo n.º 2
0
def _setup_experiments(args):
    set_up_gpu(args)
    fix_random_seed_as(args.random_seed)
    export_root = create_experiment_export_folder(args)