New android app "BadukAI"

For discussing go computing, software announcements, etc.
go4thewin
Lives with ko
Posts: 150
Joined: Thu Jan 23, 2020 6:09 am
Rank: 25 kyu
GD Posts: 0
Has thanked: 200 times
Been thanked: 30 times

Re: New android app "BadukAI"

Post by go4thewin »

oh i get it, so without the suicide move it would have been seki. wow what an interesting game. youre right
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: New android app "BadukAI"

Post by And »

I also liked the ending of the game. and besides, it was unexpected! :D
go4thewin
Lives with ko
Posts: 150
Joined: Thu Jan 23, 2020 6:09 am
Rank: 25 kyu
GD Posts: 0
Has thanked: 200 times
Been thanked: 30 times

Re: New android app "BadukAI"

Post by go4thewin »

what do you think about the 6b net kyu rank 7 and up. I was thinking maybe 7 could be used as 25k and -8 is 11k? then the 6b 1 playout would be 10k. kyu rank 7 with the 6b net seems to play well.
6b kyurank 7 vs weakest golaxy bot (“10k“ ant): 1-0


the 6b kyurank 7 plays more human like than the 20b kyurank 15
Attachments
6bkyurank7VSgolaxy10k.sgf
(781 Bytes) Downloaded 1442 times
akigo
Lives with ko
Posts: 186
Joined: Sun Jun 28, 2020 11:20 am
GD Posts: 0
Has thanked: 13 times
Been thanked: 154 times

Re: New android app "BadukAI"

Post by akigo »

I made a new version (0.15) with the following changes:

prevent manual input of illegal moves
kyu-rank bot does not commit multi-stone suicide anymore
keyboard shortcuts removed (due to unwanted side effects when entering sgf name)
akigo
Lives with ko
Posts: 186
Joined: Sun Jun 28, 2020 11:20 am
GD Posts: 0
Has thanked: 13 times
Been thanked: 154 times

Re: New android app "BadukAI"

Post by akigo »

I am very sorry, version 0.15 included a bug which made it play very strangely. Please upgrade to 0.16 which should fix that.
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: New android app "BadukAI"

Post by And »

second game KG BadukAI 20b 9d(-8) - CS Zero 7d 0:1

KG BadukAI 40b 7d(-6) - CS Zero 7d 2:0
KG BadukAI 40b 8d(-7) - CS Zero 8d 0:2
go4thewin
Lives with ko
Posts: 150
Joined: Thu Jan 23, 2020 6:09 am
Rank: 25 kyu
GD Posts: 0
Has thanked: 200 times
Been thanked: 30 times

Re: New android app "BadukAI"

Post by go4thewin »

@akigo
sorry for posting the github issue, thanks for the clarification.
Is this file the same code that your kyu-bot uses? (rank_utils.py) https://github.com/sanderland/katrain-b ... k_utils.py

it says import math, time. What are those two variables? Also, the average without the best and worst 20% is interesting to me. not sure how that effects the move played.
edit: nevermind, guess everything comes from ai.py. it seems to use the policy output though?
Do you have to add or remove any lines to ai.py to get it to work in android, or is self contained? Thanks!

@And
wow the 40b policy > crazystone 7 dan!
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: New android app "BadukAI"

Post by And »

Has anyone considered an option for kyu levels using g65 6 block nets? https://d3dndmfyhecmj0.cloudfront.net/g ... index.html
for example g65 6 block d4.5M (# 20) 1p - CS Zero 5kyu, CS Zero won. but g65 networks probably won't work with BadukAI, the network file is not bin. possibly can be converted
Attachments
katago - cs zero.sgf
(2.15 KiB) Downloaded 1403 times
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: New android app "BadukAI"

Post by And »

KataGo v1.7.0 https://github.com/lightvector/KataGo/releases
forum still not working properly? not all pages open for me
go4thewin
Lives with ko
Posts: 150
Joined: Thu Jan 23, 2020 6:09 am
Rank: 25 kyu
GD Posts: 0
Has thanked: 200 times
Been thanked: 30 times

Re: New android app "BadukAI"

Post by go4thewin »

i think the newer versions of katago can read txt.gz also. maybe if baduk ai file manager displays all files, we can select it and use it for kyu rank? but maybe not, just a guess. i really enjoy your crazystone games!
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: New android app "BadukAI"

Post by And »

in Sabaki, KataGo 1.6.1 with g65 network did not work. I tried it this way and that ...
lightvector
Lives in sente
Posts: 759
Joined: Sat Jun 19, 2010 10:11 pm
Rank: maybe 2d
GD Posts: 0
Has thanked: 114 times
Been thanked: 916 times

Re: New android app "BadukAI"

Post by lightvector »

@And, you shouldn't want to use the g65 networks at all, even if you want weaker networks. Even if you get them to work, they won't support the right rulesets and features that the newer neural nets support.

Go here:
https://d3dndmfyhecmj0.cloudfront.net/g ... index.html

And click on the link "selfplayhistory" just below where it says "Full History of Self-Play Nets". You should see the entire history of nets from g170, starting all the way from the very first neural net following purely random play, going all the way to the final nets of the run. If you want weaker nets, try testing out some of the early nets in here.
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: New android app "BadukAI"

Post by And »

wow! thanks!!! I thought that there were only two g170 6b!
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: New android app "BadukAI"

Post by And »

@lightvector

thanks again! connected 6b to KataGo 1.6.1! now I'll try with CS Zero!
akigo
Lives with ko
Posts: 186
Joined: Sun Jun 28, 2020 11:20 am
GD Posts: 0
Has thanked: 13 times
Been thanked: 154 times

Re: New android app "BadukAI"

Post by akigo »

go4thewin wrote:@akigo
edit: nevermind, guess everything comes from ai.py. it seems to use the policy output though?
Do you have to add or remove any lines to ai.py to get it to work in android, or is self contained? Thanks!
ai.py contains several bot types, I only extracted the parts that are relevant for the kyu-rank bot. It is not self-contained as it uses data like "board state" and "policy values" which come from outside. Therefore I had to make some modifications to adapt this to the environment of BadukAI.

This also means that you can't "run" it stand-alone.

As for android, generally speaking it's no problem to run python code on android. There are python interpreters for android which you can feed the same python sources as on windows or linux (at least if they don't involve too specific OS interaction).
Post Reply