You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "human_play.py", line 88, in
run()
File "human_play.py", line 81, in run
game.start_play(human, mcts_player, start_player=0, is_shown=1)
File "C:\Users\lucky\Desktop\AlphaZero_Gomoku-master\AlphaZero_Gomoku-master\game.py", line 177, in start_play
move = player_in_turn.get_action(self.board)
File "C:\Users\lucky\Desktop\AlphaZero_Gomoku-master\AlphaZero_Gomoku-master\mcts_alphaZero.py", line 190, in get_action
acts, probs = self.mcts.get_move_probs(board, temp)
File "C:\Users\lucky\Desktop\AlphaZero_Gomoku-master\AlphaZero_Gomoku-master\mcts_alphaZero.py", line 147, in get_move_probs
self._playout(state_copy)
File "C:\Users\lucky\Desktop\AlphaZero_Gomoku-master\AlphaZero_Gomoku-master\mcts_alphaZero.py", line 122, in _playout
action_probs, leaf_value = self._policy(state)
File "C:\Users\lucky\Desktop\AlphaZero_Gomoku-master\AlphaZero_Gomoku-master\policy_value_net_numpy.py", line 104, in policy_value_fn
X = relu(conv_forward(X, self.params[i], self.params[i+1]))
TypeError: 'int' object is not subscriptable
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "human_play.py", line 88, in
run()
File "human_play.py", line 81, in run
game.start_play(human, mcts_player, start_player=0, is_shown=1)
File "C:\Users\lucky\Desktop\AlphaZero_Gomoku-master\AlphaZero_Gomoku-master\game.py", line 177, in start_play
move = player_in_turn.get_action(self.board)
File "C:\Users\lucky\Desktop\AlphaZero_Gomoku-master\AlphaZero_Gomoku-master\mcts_alphaZero.py", line 190, in get_action
acts, probs = self.mcts.get_move_probs(board, temp)
File "C:\Users\lucky\Desktop\AlphaZero_Gomoku-master\AlphaZero_Gomoku-master\mcts_alphaZero.py", line 147, in get_move_probs
self._playout(state_copy)
File "C:\Users\lucky\Desktop\AlphaZero_Gomoku-master\AlphaZero_Gomoku-master\mcts_alphaZero.py", line 122, in _playout
action_probs, leaf_value = self._policy(state)
File "C:\Users\lucky\Desktop\AlphaZero_Gomoku-master\AlphaZero_Gomoku-master\policy_value_net_numpy.py", line 104, in policy_value_fn
X = relu(conv_forward(X, self.params[i], self.params[i+1]))
TypeError: 'int' object is not subscriptable
The text was updated successfully, but these errors were encountered: