Skip to content
Snippets Groups Projects
Commit d948fe5b authored by Erik Nygren's avatar Erik Nygren
Browse files

bugfixes: environment gets stuck at episode 114, step 35 --> Investigating

parent c528e652
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,8 @@ for trials in range(1, n_trials + 1):
env_done = 0
# Run episode
for step in range(100):
for step in range(50):
#env_renderer.renderEnv(show=True)
# Action
for a in range(env.number_of_agents):
......@@ -71,9 +72,6 @@ for trials in range(1, n_trials + 1):
# Environment step
next_obs, all_rewards, done, _ = env.step(action_dict)
# Update replay buffer and train agent
for a in range(env.number_of_agents):
agent.step(obs[a], action_dict[a], all_rewards[a], next_obs[a], done[a])
......
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