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

stuff #19

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
changed memory thingy
  • Loading branch information
Sean Wu committed Jul 14, 2018
commit 988cd8947655253af1bc9e03249b358130e9f21a
6 changes: 3 additions & 3 deletions funcs.py
Original file line number Diff line number Diff line change
@@ -86,9 +86,9 @@ def playMatches(player1, player2, EPISODES, logger, turns_until_tau0, memory = N
else:
action, pi, MCTS_value, NN_value = players[state.playerTurn]['agent'].act(state, 0)
print(MCTS_value)
if memory != None:
####Commit the move to memory
memory.commit_stmemory(env.identities, state, pi)
# if memory != None:
# ####Commit the move to memory
# memory.commit_stmemory(env.identities, state, pi)

print("hello from the middle of the stuff")
# logger.info('action: %d', action)