n_explore = 4 xp = Experiment(seed=seed, explo_noise=explo_noise, rmb_prop=rmb_prop, optim_explo=optim_explo, n_explore=n_explore, condition=condition, end_point=end_point, distractors=distractors) xp.run(iterations=iterations, print_logs=False) filename = "-".join([str(arg) for arg in (seed, distractors, optim_explo, end_point, condition, iterations)]) xp.compute_explo() if not os.path.exists(log_dir): os.mkdir(log_dir) xp.dump(os.path.join(log_dir, filename))