From e67bb6c30e654b0aa168e1edc7c824b2ae513d76 Mon Sep 17 00:00:00 2001
From: Adrian Egli <adrian.egli@sbb.ch>
Date: Sat, 7 Nov 2020 00:01:32 +0100
Subject: [PATCH] .

---
 run.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/run.py b/run.py
index d610fab..a7e7e7b 100644
--- a/run.py
+++ b/run.py
@@ -138,8 +138,8 @@ while True:
                             nb_hit += 1
                         else:
                             action = policy.act(observation[agent], eps=0.01)
-                            if observation[agent][26] == 1:
-                                action = RailEnvActions.STOP_MOVING
+                            #if observation[agent][26] == 1:
+                            #    action = RailEnvActions.STOP_MOVING
 
                         action_dict[agent] = action
 
-- 
GitLab