Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't create workers #3

Open
eyyi opened this issue Oct 19, 2017 · 1 comment
Open

Can't create workers #3

eyyi opened this issue Oct 19, 2017 · 1 comment

Comments

@eyyi
Copy link

eyyi commented Oct 19, 2017

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))
@GoingMyWay
Copy link
Owner

@eyyi thank you, I will check that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants