Open weichen55 opened 3 years ago
I'm not aware of the problem you describe. There should be no orientation changes of the board because of genmove under any circumstances. Can you give an example sequence of input that results in this?
Keep in mind that KataGo does randomize so that it doesn't always play the same move. But it shouldn't be rotating or flipping the board itself.
Hi, Lightvector, This is what i observed, i loaded an SGF file with just one stone on board, let's say it's R4, how do i make sure this stone keeps the same coordinate when loaded into Katago? As i found in the Katago showboard command, its coordinate became C16.
Does the coordinate have something to do with the stone sequence in "AB", "AW"?
Seems fine to me.
tmp.sgf:
(;GM[1]FF[4]CA[UTF-8]AP[CGoban:3]ST[2]
RU[Japanese]SZ[19]KM[0.00]
PW[White]PB[Black]
;B[qp])
Within GTP:
loadsgf tmp/tmp.sgf
Changing rules to {"friendlyPassOk":false,"hasButton":false,"ko":"SIMPLE","scoring":"TERRITORY","suicide":false,"tax":"SEKI","whiteHandicapBonus":"0"}
Changing komi to 0
=
showboard
= MoveNum: 1 HASH: F19857B2A2B00E3CA2C67ECEB0719FCA
A B C D E F G H J K L M N O P Q R S T
19 . . . . . . . . . . . . . . . . . . .
18 . . . . . . . . . . . . . . . . . . .
17 . . . . . . . . . . . . . . . . . . .
16 . . . . . . . . . . . . . . . . . . .
15 . . . . . . . . . . . . . . . . . . .
14 . . . . . . . . . . . . . . . . . . .
13 . . . . . . . . . . . . . . . . . . .
12 . . . . . . . . . . . . . . . . . . .
11 . . . . . . . . . . . . . . . . . . .
10 . . . . . . . . . . . . . . . . . . .
9 . . . . . . . . . . . . . . . . . . .
8 . . . . . . . . . . . . . . . . . . .
7 . . . . . . . . . . . . . . . . . . .
6 . . . . . . . . . . . . . . . . . . .
5 . . . . . . . . . . . . . . . . . . .
4 . . . . . . . . . . . . . . . . X . .
3 . . . . . . . . . . . . . . . . . . .
2 . . . . . . . . . . . . . . . . . . .
1 . . . . . . . . . . . . . . . . . . .
Thank you very much. i will double check my code.
Hi, Is it possible for Katago use fixed goban orientation for its genmove command? When i call genmove consecutively with SGF files, the move coordinates don't have the same orientation. Move coordinate really has 4 possibilities based on how Katago generates the next move. It would be nice for the moves to have a fixed orientation.
is there way to work around this problem?