Skip to content
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.

SelfPlay Illegal Move #46

Open
xhw98 opened this issue May 3, 2020 · 0 comments
Open

SelfPlay Illegal Move #46

xhw98 opened this issue May 3, 2020 · 0 comments

Comments

@xhw98
Copy link

xhw98 commented May 3, 2020

here is traceback,i will be grateful if you can help me!
Traceback (most recent call last):
File "C:/Users/allen/Downloads/TaDing-MuGo-master/MuGo/selfplay.py", line 43, in
winners, losers = extract_moves(positions)
File "C:/Users/allen/Downloads/TaDing-MuGo-master/MuGo/selfplay.py", line 32, in extract_moves
sgf_wrapper.replay_position(final_position))
File "C:\Users\allen\Downloads\TaDing-MuGo-master\MuGo\utils.py", line 67, in take_n
return list(itertools.islice(iterable, n))
File "C:\Users\allen\Downloads\TaDing-MuGo-master\MuGo\sgf_wrapper.py", line 174, in replay_position
pos = pos.play_move(next_move, color=color)
File "C:\Users\allen\Downloads\TaDing-MuGo-master\MuGo\go.py", line 354, in play_move
raise IllegalMove("Move at {} is illegal: \n{}".format(c, self))
go.IllegalMove: Move at (7, 18) is illegal:
A B C D E F G H J K L M N O P Q R S T
19 . . . . . . . . . . . . . . . . . . . 19
18 . . . O . . . X . . . . . . X . . . . 18
17 . . X . . O . O O . . X X X O X X X . 17
16 . . . X . . . . . . . X O O O O O X . 16
15 . . . . . . . . . . X O X X X<O O O O 15
14 . . X . . . . . . . . O . . X O X X O 14
13 . . . . . . . . . . O . . X X O O X X 13
12 . . . . . . . . . . X X X . X X O X . 12
11 . . . . . . . . . X O O . X O O X X O 11
10 . . . . . . . . . . X O O O O O O X O 10
9 . . . . . . . . . . . X . . O X X X O 9
8 . . . . . . . . . . X . O X O X O O . 8
7 . . O . . . . . . . . . X O X X O X . 7
6 . O X . . . . . . . . . O O O O O . . 6
5 . O X O O . . . . O . . . . . . . O . 5
4 . . O X . X . . . . . . O X . X . X . 4
3 . O O X . O X . . . . . . X . . . . . 3
2 . O X X . . . . . . . X . . . . . . . 2
1 . X . . . . . . . . . . . . . . . . . 1
A B C D E F G H J K L M N O P Q R S T
Move: 122. Captures X: 0 O: 1

Process finished with exit code 1

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

No branches or pull requests

1 participant