

def launch_learn(params):
    filename = params_to_filename(params)
    print(('Trying %s' % filename))
    if (not os.path.isfile((('results/sonar-frames/loss_data-' + filename) + '.csv'))):
        open((('results/sonar-frames/loss_data-' + filename) + '.csv'), 'a').close()
        print('Starting test.')
        model = neural_net(NUM_INPUT, params['nn'])
        train_net(model, params)
    else:
        print('Already tested.')

dataset/ETHPy150Open harvitronix/reinforcement-learning-car/learning.py launch_learn/original