Life In 19x19
http://lifein19x19.com/

New android app "BadukAI"
http://lifein19x19.com/viewtopic.php?f=18&t=17784
Page 15 of 27

Author:  go4thewin [ Thu Dec 24, 2020 8:28 am ]
Post subject:  Re: New android app "BadukAI"

Apparently the master branch of katago can now run distributed nets https://katagotraining.org/networks/kata1/

is it possible to compile the new katago engine for baduk ai? Either way thanks for a perfect app!

Author:  akigo [ Fri Dec 25, 2020 3:51 pm ]
Post subject:  Re: New android app "BadukAI"

And wrote:
@akigo

are you planning on making an optimized KG 40b network? maybe optional?


Yes, I'm planning to do so, but I will wait until the 40b network grows even stronger. Currently the strength difference between 20b and 40b at equal time is relatively small, so it's not yet worth the effort.

go4thewin wrote:
Apparently the master branch of katago can now run distributed nets https://katagotraining.org/networks/kata1/

is it possible to compile the new katago engine for baduk ai? Either way thanks for a perfect app!


Currently I don't have access to my development environment, but in the new year I will have a look at this.

Author:  akigo [ Fri Jan 01, 2021 1:57 pm ]
Post subject:  Re: New android app "BadukAI"

I made a new version (1.3), available as usual from https://play.google.com/store/apps/details?id=net.kir.baduk_ai or https://github.com/aki65/aki65.github.io/releases/tag/v1.3.0

It includes the current master branch of katago, so that you can now load the new models from distributed training.

Author:  Vargo [ Sat Jan 02, 2021 12:42 am ]
Post subject:  Re: New android app "BadukAI"

Works like a charm !
I tried an H5 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

It was a very easy win for W by resignation, I'll try H6 or H7 !
Attachment:
Screenshot_20210102-074905_BadukAI.jpg
Screenshot_20210102-074905_BadukAI.jpg [ 95.57 KiB | Viewed 8907 times ]

Author:  Vargo [ Sat Jan 02, 2021 1:44 am ]
Post subject:  Re: New android app "BadukAI"

An H6 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

Again, W+R
Woaw.... How strong is this thing ?



Attachments:
h6.sgf [2.21 KiB]
Downloaded 752 times

Author:  Vargo [ Sat Jan 02, 2021 4:09 am ]
Post subject:  Re: New android app "BadukAI"

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 755 times

Author:  Amigo [ Sat Jan 02, 2021 5:42 am ]
Post subject:  Re: New android app "BadukAI"

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

Author:  Vargo [ Sat Jan 02, 2021 7:40 am ]
Post subject:  Re: New android app "BadukAI"

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 742 times
h7Wresigns.sgf [1.29 KiB]
Downloaded 703 times

Author:  And [ Sun Jan 03, 2021 5:47 am ]
Post subject:  Re: New android app "BadukAI"

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 696 times

Author:  And [ Sun Jan 03, 2021 9:30 am ]
Post subject:  Re: New android app "BadukAI"

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 704 times

Author:  And [ Mon Jan 04, 2021 7:31 am ]
Post subject:  Re: New android app "BadukAI"

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 671 times

Author:  And [ Sun Jan 10, 2021 9:54 am ]
Post subject:  Re: New android app "BadukAI"

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 300 times

Author:  And [ Sun Jan 10, 2021 10:26 am ]
Post subject:  Re: New android app "BadukAI"

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 318 times

Author:  akigo [ Sun Jan 10, 2021 4:41 pm ]
Post subject:  Re: New android app "BadukAI"

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.

Author:  And [ Sun Jan 10, 2021 4:58 pm ]
Post subject:  Re: New android app "BadukAI"

Thank you! there is an opportunity to increase memory in the emulator, what value will be enough?

Author:  akigo [ Sun Jan 10, 2021 5:54 pm ]
Post subject:  Re: New android app "BadukAI"

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.

Author:  And [ Mon Jan 11, 2021 2:17 pm ]
Post subject:  Re: New android app "BadukAI"

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?

Author:  akigo [ Mon Jan 11, 2021 3:21 pm ]
Post subject:  Re: New android app "BadukAI"

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.

Author:  And [ Mon Jan 11, 2021 3:50 pm ]
Post subject:  Re: New android app "BadukAI"

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

Author:  Zeed [ Mon Jan 18, 2021 3:49 pm ]
Post subject:  Re: New android app "BadukAI"

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?

Page 15 of 27 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/