lightvector / KataGo

GTP engine and self-play learning in Go
https://katagotraining.org/
Other
3.49k stars 564 forks source link

Feat add total visits #905

Open kinfkong opened 7 months ago

kinfkong commented 7 months ago

Add totalVisits in the GTP analyze output. The reason we need this is that: some Go GUI apps shows the search speeds (visits/s), the total visits was calculated by summing up all the "info.visits". Howerver, ikatago-server (a tool helping running katago remotely) only returns the first 25 moves by default (to reduce the network traffic), which causes the total visits calculated in the GUI apps is smaller than it actually is. A totalVisits value output directly in GTP output helps we get the actual total visits at client side.