Page 32 of 37
Re: New android app "BadukAI"
Posted: Fri Jun 10, 2022 8:55 am
by And
after kyu-rank bot makes a pass, the engine turns off
Re: New android app "BadukAI"
Posted: Fri Jun 10, 2022 8:57 am
by And
kyu-rank bot has become much better at playing. have there been any changes?
Re: New android app "BadukAI"
Posted: Fri Jun 10, 2022 12:32 pm
by akigo
And wrote:when I want to download the network, via Choose *.txt.gz/*.bin.gz, I can't select any file. any networks are loaded through Choose *.tflite (bin and txt, and not optimized)!
Yes, this can happen on older devices (and can't be avoided). I have explained the reason here:
https://github.com/aki65/aki65.github.i ... -984968944
And wrote:network g170small-b4c32-s709658624-d275852492 does not load in any way

Do you mean "It can't be selected in the file picker" or do you mean "Katago crashes when loading it" ?
And wrote:after kyu-rank bot makes a pass, the engine turns off
Yes, after a pass by black (for example) the mode "play B" is switched off. If you want the bot to continue playing as black, you can simply tap "play B" again (but why should you, it has already passed).
I did this for the following reason:
On a fast device, the kyu-rank bot takes only some milliseconds to play. So, if you let two kyu-rank bots play against each other (for fun or for testing purposes), then at some point they will both pass forever. Without the precaution above this would mean that they will throw hundreds of "KG passes" popups per second at the UI. So the UI would be completely blocked and you wouldn't be able to get at the buttons to stop this. So the app would become unusable.
And wrote:kyu-rank bot has become much better at playing. have there been any changes?
No, but keep in mind that:
a) The strength of the kyu-rank bot depends on the network used.
b) The choice of move by the kyu-rank bot involves a lot of randomness. So its quality of play may vary a lot from game to game.
Re: New android app "BadukAI"
Posted: Fri Jun 10, 2022 12:34 pm
by And
"It can't be selected in the file picker"
EDIT sorry, it is selected, but the "load" is not active
for other questions, everything is clear, thank you!
Re: New android app "BadukAI"
Posted: Fri Jun 10, 2022 1:27 pm
by akigo
And wrote:"It can't be selected in the file picker"
I found the model in your KG thread and could check the issue.
I can select default_model.bin.gz in the file picker, but you are right: it can't be loaded because "Load" remains disabled. The reason is as follows:
I want to let the inexperienced user know, that he must load two files (.bin.gz and .tflite) for an optimized model, but only one for an original model. So if the user first loads a .bin.gz, the UI tries to guess if it is part of an optimized model (then "Load" should remain disabled until the .tflite is selected) or if it is an original model (then "Load" should be enabled). How does the UI "guess" this (after all, it doesn't know the internal structure of the files) ? Well, it looks at the size: The .bin.gz, which are part of an optimized model are very small (because most is in the .tflite), the original .bin.gz are much bigger (because they contain the whole model). And now comes the problem: The 4 blocks default_model.bin.gz is so small, that the UI thinks, it must be part of an optimized model, so "Load" remains disabled.
To make a long story short: The file must be bigger to load it. So I added some junk at the end (which KG doesn't read because it knows when the model is complete) and arrived at the attached file. I can load it and it runs well. Please try if it works for you.
Re: New android app "BadukAI"
Posted: Fri Jun 10, 2022 1:30 pm
by And
thank you very much!

Re: New android app "BadukAI"
Posted: Sat Jun 11, 2022 6:26 pm
by lovego
Oh, you are the god of baduk!

Re: New android app "BadukAI"
Posted: Fri Jun 17, 2022 12:22 pm
by akigo
Re: New android app "BadukAI"
Posted: Wed Jun 22, 2022 1:09 pm
by Amigo
kyu-rank does not show the winrate. when a beginner plays, he does not understand how he plays. is it possible to add such an option? and thank you for the wonderful program!

Re: New android app "BadukAI"
Posted: Wed Jun 22, 2022 1:22 pm
by And
Amigo wrote:kyu-rank does not show the winrate. when a beginner plays, he does not understand how he plays. is it possible to add such an option? and thank you for the wonderful program!

what the bot thinks is interesting not only for beginners

Re: New android app "BadukAI"
Posted: Fri Jun 24, 2022 2:23 pm
by akigo
The kyu-rank bot doesn't calculate winrates for his moves, that's why nothing is displayed. But I could show the winrate for the current position from KataGo's network (without any playouts). That should be enough to know how the game is going.
Re: New android app "BadukAI"
Posted: Fri Jun 24, 2022 2:49 pm
by And
akigo wrote:The kyu-rank bot doesn't calculate winrates for his moves, that's why nothing is displayed. But I could show the winrate for the current position from KataGo's network (without any playouts). That should be enough to know how the game is going.
it's interesting!
please make the board size selection buttons bigger in the next version, they are difficult to get into. and if you miss, the engine starts loading...

Re: New android app "BadukAI"
Posted: Sat Jun 25, 2022 1:32 am
by Amigo
akigo wrote:The kyu-rank bot doesn't calculate winrates for his moves, that's why nothing is displayed. But I could show the winrate for the current position from KataGo's network (without any playouts). That should be enough to know how the game is going.
probably this is a good solution.
Re: New android app "BadukAI"
Posted: Sun Sep 11, 2022 7:54 am
by akigo
I made a new version (1.18) available on play store
https://play.google.com/store/apps/deta ... r.baduk_ai and github
https://github.com/aki65/aki65.github.i ... ag/v1.18.0 with the following new features:
1) pan/zoom for board
As usual: If you put two fingers on the board and move them apart, the board will be increased (and vice versa). If you move both fingers in parallel (i.e. without changing their distance) the visible part of the board will be moved.
2) display winrate for kyu-rank bot
as discussed in the previous posts
3) more tolerant sgf reading
4) speed of jumping through game tree is optimized
5) ready for android 13
Re: New android app "BadukAI"
Posted: Thu Dec 01, 2022 4:38 am
by lovego
Katago recently release a weight of 18b and won the second place in UEC competition. It is said that the same playout amount is stronger than the weight of 60b. Can you support it
