From 350f71df236d4cda9812a276005b9630884d14c0 Mon Sep 17 00:00:00 2001 From: Sharad Chitlangia Date: Thu, 27 Aug 2020 21:02:54 +0530 Subject: [PATCH] Sharad24 build patch (#273) * Format example --- examples/hyperparameters/optuna/a2c_cartpole-v0.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/hyperparameters/optuna/a2c_cartpole-v0.py b/examples/hyperparameters/optuna/a2c_cartpole-v0.py index 2faedacf..0fc0b042 100644 --- a/examples/hyperparameters/optuna/a2c_cartpole-v0.py +++ b/examples/hyperparameters/optuna/a2c_cartpole-v0.py @@ -26,7 +26,11 @@ def tune_A2C(trial): entropy_coeff=entropy_coeff, ) trainer = OnPolicyTrainer( - agent, env, log_interval=10, epochs=100, evaluate_episodes=10, + agent, + env, + log_interval=10, + epochs=100, + evaluate_episodes=10, ) trainer.train()