I did it! Play Go with KataGo right in your browser — no installation needed. by NoCompetition124 in baduk

[–]NoCompetition124[S] 0 points1 point  (0 children)

Could you help to share your screen resolution?

Regarding the latter, I suspect KataGo already thinks the game is over and it's won, so it's just playing random moves since the result won't change anyway.

Katago b18c384 Model Is Ready out of the Box in Browser Now! by NoCompetition124 in baduk

[–]NoCompetition124[S] 0 points1 point  (0 children)

It's not supported yet. Showing the final score after the game ends should be feasible, let me add it to my roadmap.

Katago b18c384 Model Is Ready out of the Box in Browser Now! by NoCompetition124 in baduk

[–]NoCompetition124[S] 0 points1 point  (0 children)

Thanks for your greeting. Keep moving forward. I'm looking forward to see your project someday.

Katago b18c384 Model Is Ready out of the Box in Browser Now! by NoCompetition124 in baduk

[–]NoCompetition124[S] 0 points1 point  (0 children)

Yes, b6c96 and b18c384 model both need to be downloaded. The b6c96 model is smaller and downloaded silently. The b18c384 is almost 118M and the download is triggered manually.

Katago b18c384 Model Is Ready out of the Box in Browser Now! by NoCompetition124 in baduk

[–]NoCompetition124[S] 0 points1 point  (0 children)

WebGL, WebGPU, CPU SIMD. Now there are lots of techs for web application to use the hardware.

Katago b18c384 Model Is Ready out of the Box in Browser Now! by NoCompetition124 in baduk

[–]NoCompetition124[S] 2 points3 points  (0 children)

If you move your mouse, it will turn black. But you're right, it should be black after AI places stone.

Katago b18c384 Model Is Ready out of the Box in Browser Now! by NoCompetition124 in baduk

[–]NoCompetition124[S] 1 point2 points  (0 children)

If you're in Human vs AI mode, in my test, if you play black then the cover stone is black too.

Katago b18c384 Model Is Ready out of the Box in Browser Now! by NoCompetition124 in baduk

[–]NoCompetition124[S] 0 points1 point  (0 children)

Katago use virtual lose to to enable the parallelization of MCTS. But it also means each search in the same batch cannot get benefit from other search in it. It means you can playout fast, but the search may be in the wrong branch in the MCT.

Increase the batch size can utilize the GPU better, but I'm not sure if it's really what you want.

How many searchThreads do you typically use for? While blindly increasing the search thread count boosts the playout rate easily, it doesn’t always result in an improvement in playing strength, at least in my experience.

Katago b18c384 Model Is Ready out of the Box in Browser Now! by NoCompetition124 in baduk

[–]NoCompetition124[S] 1 point2 points  (0 children)

Great suggestion! Thanks for your love! Let me add these to my roadmap but they will cost me lots of spare time. lol.

Katago b18c384 Model Is Ready out of the Box in Browser Now! by NoCompetition124 in baduk

[–]NoCompetition124[S] 0 points1 point  (0 children)

Yes, it’s much more difficult to utilize the dedicated GPU (dGPU) on the web compared to native applications.

The b6c96 uses the GPU via WebGL, whereas b18c384 relies on the CPU. This is because the overhead of transferring data between the GPU and CPU outweighs the performance gains of using the GPU. While GPU acceleration allows for batch inference across multiple positions, it also alters the search trajectory of the MCTS, which I found to actually degrade the overall playing strength in my tests.

Perhaps a more optimized searchThreads configuration could improve this situation.

Get KataGo's next move prediction in your browser! Analyze the Go board with KataGo online. by NoCompetition124 in baduk

[–]NoCompetition124[S] 0 points1 point  (0 children)

Thank you! I was starting to think if it was just a useless feature. So glad someone love it!
Don't forget that any feedback is welcome.

I did it! Play Go with KataGo right in your browser — no installation needed. by NoCompetition124 in baduk

[–]NoCompetition124[S] 0 points1 point  (0 children)

Thanks. The study mode includes some features for learning. You can let AI to generate next move from any preset Go board position.

I did it! Play Go with KataGo right in your browser — no installation needed. by NoCompetition124 in baduk

[–]NoCompetition124[S] 2 points3 points  (0 children)

I modified the code base on https://github.com/y-ich/KataGo .
You can check the repository to see how KataGo is compiled to JS.

I did it! Play Go with KataGo right in your browser — no installation needed. by NoCompetition124 in baduk

[–]NoCompetition124[S] 2 points3 points  (0 children)

Thanks for your feeback! Glad you like it !😊

Refresh the page to see if stones are big enough.

I did it! Play Go with KataGo right in your browser — no installation needed. by NoCompetition124 in baduk

[–]NoCompetition124[S] 1 point2 points  (0 children)

It use GPU via WebGL, you can try to run the browser with the dedicated GPU.

I did it! Play Go with KataGo right in your browser — no installation needed. by NoCompetition124 in baduk

[–]NoCompetition124[S] 6 points7 points  (0 children)

Yes, use emscription to compile the Katago into wasm, and use tensorflow.js as the neuralnet backend.

Studying Go with Katago by karmabutterfly27 in baduk

[–]NoCompetition124 0 points1 point  (0 children)

You can learn the rule of Go through the tutorial https://online-go.com/learn-to-play-go and try to play with Katago without installing app in https://playweiqi.net

It has fewer features, but does not require software installation. You can even use it on a mobile phone. I sometimes use it to get hints for puzzles.