Exemplo n.º 1
0
def main():
    model = 'LAS'
    accepted_models = ['LAS']
    args = config2parser(model)
    if args.model not in accepted_models:
        raise ValueError(
            'please enter a valid model to train: {}'.format(accepted_models))
    log_dir = prepare_run(args)
    train(args, log_dir)
def main():
    print('initializing preprocessing..')
    args = config2parser(data='train')
    run_preprocess(args)