New android app "BadukAI"

For discussing go computing, software announcements, etc.
Vargo
Lives in gote
Posts: 337
Joined: Sat Aug 17, 2013 5:28 am
GD Posts: 0
Has thanked: 22 times
Been thanked: 97 times

Re: New android app "BadukAI"

Post by Vargo »

And an H7 game :

B : CSDL set at 5d , komi 0.5
W : BadukAI 1.3 , KG and the new 40b network kata1-b40c256-s5464776448-d1316114216, Samsung S20+, Android 11, komi 0.5, default settings for badukAI

(some endgame moves omitted : W plays inside his territory, B passes, W plays again inside, B passes, etc. but the final score is the same : B+1.5)
Attachments
h7.sgf
(2.2 KiB) Downloaded 1460 times
Amigo
Dies in gote
Posts: 54
Joined: Sat Sep 28, 2019 12:06 pm
GD Posts: 0
Has thanked: 60 times
Been thanked: 10 times

Re: New android app "BadukAI"

Post by Amigo »

last network before distributed training kata1-b40c256x2-s5095420928-d1229425124 Elo Rating 13227.9

kata1-b40c256-s5464776448-d1316114216 Elo Rating 13246.5 (+18.6)
kata1-b40c256-s5390619136-d1297760597 Elo Rating 13279.7 (+51.8)

why not test the strongest network?

EDIT Strongest confidently-rated network: kata1-b40c256-s5390619136-d1297760597 https://katagotraining.org
Vargo
Lives in gote
Posts: 337
Joined: Sat Aug 17, 2013 5:28 am
GD Posts: 0
Has thanked: 22 times
Been thanked: 97 times

Re: New android app "BadukAI"

Post by Vargo »

Two more H7 games, with the network kata1-b40c256-s5390619136-d1297760597

B : CSDL set at 5d , komi 0.5
W : BadukAI 1.3 , KG , Samsung S20+, Android 11, komi 0.5, default settings for badukAI

B+R
W+R (bad endgame by B ?)
Attachments
h7WbyR.sgf
(1.7 KiB) Downloaded 1454 times
h7Wresigns.sgf
(1.29 KiB) Downloaded 1398 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 »

BadukAI s539 1p - CS Zero 8d 0:2
BadukAI s548 1p - CS Zero 8d 1:0
Attachments
BadukAI - CS Zero.sgf
(1.85 KiB) Downloaded 1424 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 »

BadukAI s548 1p - CS Zero 8d 1:1 (W+, W+)
BadukAI s550 1p - CS Zero 8d 1:1 (W+, W+)
Attachments
BadukAI - CS Zero.sgf
(2.13 KiB) Downloaded 1450 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 »

BadukAI s551 1p - CS Zero 8d
in the first game won by CS Zero (W). in the second game, KG resigned on move 172, resignThreshold was -0.99, but after resignThreshold was changed to -0.999 he continued the game and won!
Attachments
BadukAI - CS Zero.sgf
(1.7 KiB) Downloaded 1407 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 »

for some reason KG with the latest networks (kata1) sometimes crashes - "KG is dead/crashed". usually before the start of the game, but today during the game
Attachments
20210110-162713-BD9D0964.log.gz
(10.94 KiB) Downloaded 592 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 »

installed it on another emulator, connected the network, everything is in order, I wanted to start the game and - crash.
minimized the application to copy the log, deployed, the application rebooted, then everything is fine
Attachments
20210110-211358-E3327ECF.log.gz
(516 Bytes) Downloaded 641 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 »

The log files don't contain anything unusual. As the 40b networks are quite large, it might be a memory problem. You could try saving some memory by setting

numSearchThreads = 1
nnCacheSizePowerOfTwo = 10

in the configuration, since you are doing only one playout anyway.
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 »

Thank you! there is an opportunity to increase memory in the emulator, what value will be enough?
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 »

Unfortunately I can't tell you an absolute number here, as this depends on many factors (how much is needed by operating system and so on). I would recommend increasing the RAM by 50% (if possible), for example if you now have 2GB, try 3GB.
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 »

it was 1.5, I made 2 GB. but there were no failures with the g170-b40c256x2-s509 network before. kata1 networks use more memory? or a new version of the application? Or was I just lucky?
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 »

Network size is almost identical, so that can't be the reason.

The amount of RAM needed by BadukAI itself increased when I added the optimization to the 32 bit version, since that involved a lot of extra code. If you last worked with the old 40b network before that, it might be the cause.

Moreover, you are exactly right, there is some luck involved: Even if you only start BadukAI, there are a lot of other processes running (system services and so on), whose RAM usage varies.
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 »

Thank you! I'm glad the BadukAI is okay! I found lz 40 block works fine on my tablet! I have 20 blocks freezing! incredible! :D
Zeed
Beginner
Posts: 8
Joined: Mon Jan 18, 2021 3:29 pm
GD Posts: 0

Re: New android app "BadukAI"

Post by Zeed »

Thanks for the great app! Everything works good on my phone (snapdragon 845, gpu adreno 630) but not when I try to load a new katago network. I took the network from my PC, loaded it on my phone but the app just doesn't see it. I've tried it with both .txt and .gz format - still doesn't work. The app only shows me an empty folder while there's sure some katago nets.
I use the last 1.3.0 version and already loaded katago 10 and 20 block nets works fine.
What could be the problem here? Or perhaps I am doing something wrong?
Post Reply