From 71390b50a24c7e0e18a889e32ed6219b32cf6466 Mon Sep 17 00:00:00 2001
From: MLErik <baerenjesus@gmail.com>
Date: Thu, 10 Oct 2019 11:09:03 -0400
Subject: [PATCH] minor updates to code

---
 examples/introduction_flatland_2_1.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/introduction_flatland_2_1.py b/examples/introduction_flatland_2_1.py
index 42917fb7..607bbf74 100644
--- a/examples/introduction_flatland_2_1.py
+++ b/examples/introduction_flatland_2_1.py
@@ -241,7 +241,7 @@ score = 0
 # Run episode
 frame_step = 0
 
-for step in range(10):
+for step in range(100):
     # Chose an action for each agent in the environment
     for a in range(env.get_num_agents()):
         action = controller.act(observations[a])
@@ -252,7 +252,7 @@ for step in range(10):
 
     next_obs, all_rewards, done, _ = env.step(action_dict)
 
-    # env_renderer.render_env(show=True, show_observations=False, show_predictions=False)
+    env_renderer.render_env(show=True, show_observations=False, show_predictions=False)
     frame_step += 1
     # Update replay buffer and train agent
     for a in range(env.get_num_agents()):
-- 
GitLab