Skip to content
Snippets Groups Projects
Commit f45d2e33 authored by u214892's avatar u214892
Browse files

#42 run baselines in ci

parent 22c5f02c
No related branches found
No related tags found
No related merge requests found
...@@ -148,15 +148,15 @@ def main(argv): ...@@ -148,15 +148,15 @@ def main(argv):
env_renderer.gl.saveImage("./Images/flatland_frame_{:04d}.bmp".format(frame_step)) env_renderer.gl.saveImage("./Images/flatland_frame_{:04d}.bmp".format(frame_step))
frame_step += 1 frame_step += 1
# print(step) # print(step)
# # Action # Action
# for a in range(env.get_num_agents()): for a in range(env.get_num_agents()):
# if demo: if demo:
# eps = 0 eps = 0
# # action = agent.act(np.array(obs[a]), eps=eps) # action = agent.act(np.array(obs[a]), eps=eps)
# action = agent.act(agent_obs[a], eps=eps) action = agent.act(agent_obs[a], eps=eps)
# action_prob[action] += 1 action_prob[action] += 1
# action_dict.update({a: action}) action_dict.update({a: action})
# # Environment step # Environment step
# #
# next_obs, all_rewards, done, _ = env.step(action_dict) # next_obs, all_rewards, done, _ = env.step(action_dict)
# # print(all_rewards,action) # # print(all_rewards,action)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment