Create worker classes call in deadly_corridor, defend_the_center, healthpack_gathering is wrong:
Wrong
# Create worker classes
for i in range(num_workers):
agents.append(agent.Agent(DoomGame(), i, s_size, a_size, optimizer, model_path, global_episodes))
Solution
# Create worker classes
for i in range(num_workers):
agents.append(agent.Agent(game=DoomGame(),
name=i,
optimizer=optimizer,
model_path=cfg.model_path,
global_episodes=global_episodes))
Create worker classes call in deadly_corridor, defend_the_center, healthpack_gathering is wrong:
Wrong
Solution