New android app "BadukAI"

For discussing go computing, software announcements, etc.
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 »

@And

I made a new version (0.4) in which the settings menu displays the current network in the first field (if KataGo is in use). If you tap on this field, a file dialog opens where you can select a network file from your device storage. Please note: To avoid duplication the network file is not copied into the app. Instead it will be read from the chosen location on each subsequent start, so please don't delete it while still in use.

@veikko

BadukAI doesn't use nor require internet connection (you can check that in app permissions). So I have no idea how this usage statistics can occur. On my phone it doesn't appear in internet data usage.
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 »

akigo many thanks!!!
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 »

Another H6 game with komi 7.5 : BadukAI (KG20b, 10s/move, Exynos 990) v. CSDL 5dan
With only 10s/move, on a smartphone, it wins at H6 against 5d, woaw... How strong is it ?
Attachments
BadukAI10secKG20b_CSDL5danH6komi75.sgf
(1.78 KiB) Downloaded 1623 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 »

after selecting "load sgf" it often crash - the touch does not work correctly (below touch) and the main screen:
Attachments
Screenshot_20200926-014910.jpg
Screenshot_20200926-014910.jpg (81.29 KiB) Viewed 48855 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 »

@And

the main screen looks pretty normal: After loading sgf it displays the starting position of the game (no stones on the board), the circle shows the position of the next move. In the grey histogram below the board the red triangle (which indicates the current position within the sgf) is at the beginning.

You should now be able to navigate within the sgf by the "<" and ">" button or by tapping on the desired position in the grey histogram (e.g. rightmost segment to get to the end of the sgf). If this does not work, please post the sgf, then I could try to reproduce the problem.
Last edited by akigo on Sat Sep 26, 2020 11:55 am, edited 2 times in total.
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 »

@And

The only irregular thing I can see in the screenshot is the black zone on top which seems to shrink the layout (therefore hiding part of the board). This could also be responsible for a touch offset. I'm afraid, I have no idea why this occurs, it never happened on my phone.

To work around this, you could try the alternative way to open an sgf:
Select the sgf file in the system's file explorer, choose action "share" or "open in" and select "BadukAI" as target.
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 »

the top panel has moved down and covers part of the board (19th line). to get to the menu, you must click above (red arrow). does not depend on sgf, it happens after touch "load sgf"
Attachments
Screenshot.jpg
Screenshot.jpg (19.6 KiB) Viewed 48835 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 »

the fact is that after connecting a new network (when switching screen), this also happens
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 »

@And

thanks for the additional information and all the screenshots. So the popup file dialog is probably the culprit. It seems that it has a bug. Unfortunately this is a standard element of the thirdparty UI toolkit that I use, so I can't fix this.

I can only try for a workaround. To this end I made a new version (0.5) where the file dialog is not fullscreen anymore. I can't check if this helps since I did not have the problem on my device before. So it's just a try. Please check if it improves things for you ...
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 »

all OK! Thank you very much!
Before version 0.5, I noticed that if in version 0.4, when the top panel is moved, I minimize the application and expand, panel snaps into place. this is inconvenient, but perhaps it will clarify the reason for the failure
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

This is probably too much to ask since you have provided such great work to us for free. But could you do a paid version of the app with a kyu_rank option that uses sanderbaduk and balego's calibrated ai equation ( https://github.com/sanderland/katrain/issues/74 ) ? The equation allows you to put in an integer value for the variable "kyu_rank", which will adjust the strength of katago to your desired ranking by weakening the policy network through randomization and playing with 1 visit. Sanderbaduk has been willing to release the equation in the past and guide in its implementation. I think that would make Badukai a $15 app, because its stronger than crazystone.
set katago to play at your level https://docdro.id/sHZU1ti or experiment with gtp4zen ( https://rb.gy/kx2ilb )
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 »

Crazy Stone doesn't use a third party engine.
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

Sounds interesting, I will have a look into that. Stay tuned ...
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 »

is it possible to put networks in an accessible folder like android\data to delete unnecessary ones? take up a lot of space, inconvenient. or make optional loading of networks?
and can be added to the menu, where the "coordinates" are on/off, "show winrate" and "visits/sec" (or "visits"), also on/off?
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 release (0.6):

@go4thewin
It includes a calibrated bot as in KaTrain (full credit to sanderland's great KaTrain project for the underlying algorithms). If KataGo is active, you can edit a "kyu-rank" in settings. If you enter a number between 30 and -8 (denoting 9-dan), a calibrated bot of roughly this strength will make the AI moves. If you enter anything else, full KataGo will be in charge of AI moves again. Analysis (via "ponder" or "analyse all") will always be done by full KataGo.

This is quite a big change, so if there are problems, please tell me and I will try to fix.

@And
Since your goal is to get rid of unused networks, I decided to implement this directly. The network dialog now also includes buttons to delete some (or all) of the internal networks.
Post Reply