It is currently Thu Mar 28, 2024 5:38 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 440 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 22  Next
Author Message
Offline
 Post subject: Re: KataGo Distributed Training and new networks
Post #61 Posted: Fri Feb 05, 2021 9:40 am 
Gosei
User avatar

Posts: 1348
Liked others: 202
Was liked: 203
akigo wrote:
go4thewin wrote:
@akigo On your own PC, do you have a way to use the optimized net with a gtp program like gogui-twogtp? If so, would it be possible to upload that net? Even if it is slower that way, it would be so much fun to test it against other bots. Either way, Thanks for the program!

Currently, using the optimized nets is only possible in the android app. For automated matches you could try running BadukAI in an emulator on PC und use the tools that And described in his very interesting thread "GoAutomation" (they seem to use mouse events and image analysis for communication instead of gtp, so this might also work with the emulator).

BadukAI works with the Nox emulator (https://www.bignox.com) with GTool2 https://lifein19x19.com/viewtopic.php?p=258492#p258492
for example BadukAI and Sabaki

Top
 Profile  
 
Offline
 Post subject: Re: KataGo Distributed Training and new networks
Post #62 Posted: Fri Feb 05, 2021 9:56 am 
Lives with ko

Posts: 150
Liked others: 200
Was liked: 30
Rank: 25 kyu
oh wow thanks!

Top
 Profile  
 
Offline
 Post subject: Re: KataGo Distributed Training and new networks
Post #63 Posted: Fri Feb 05, 2021 1:55 pm 
Lives with ko

Posts: 174
Liked others: 13
Was liked: 151
go4thewin wrote:
Ah I see, thanks for running so many games. Just two last questions. 1) For example, I played this game that the optimized net policy beat zen 6 7 dan as white with no komi. But since winrate is not measured when using just 1 playout on my device, I hit ponder alot to see who was winning. Does this give katago more visits, or does it still just use the policy output?
2) It looks like a 60b net is being trained. If hypothetically someone were to make an optimized version of that net using the exact same methods you used, what would the size and speed be? Is it oversimplication to say that since 60*256 is 1.5 times 40*256, the size will be about 48*1.5 mb, so it will be about the size and speed of the non optimized 20b net?
Thanks!


1) I'm sorry, I don't know, ask @lightvector about this.

2) Other parameters being equal, the network size will be roughly proportional to the number of blocks while speed will be inversely proportional. So your size estimate seems reasonable, the speed depends on the speedup that the optimization provides which depends on device type:
Best speedup I heard of was factor 6, then an optimized 60b network will still be twice as fast as the unoptimized 20b.
Worst speedup was factor 2, then an optimized 60b network will be 33% slower than the unoptimized 20b.


This post by akigo was liked by: go4thewin
Top
 Profile  
 
Offline
 Post subject: Re: KataGo Distributed Training and new networks
Post #64 Posted: Fri Feb 05, 2021 4:08 pm 
Lives with ko

Posts: 150
Liked others: 200
Was liked: 30
Rank: 25 kyu
Thanks for all the replies everyone! Don't know how much of it is by random chance, but the s604 net is the first katago policy network of the run that went 4-0 was gtp4zen 9d for me. Earlier in the original run, it would take 12 playouts. Now the policy is enough. Probably stating the obvious, but I think Katago is probably stronger than Alphago.
Attachment:
zenVSs604.png
zenVSs604.png [ 112.76 KiB | Viewed 32348 times ]


Attachments:
File comment: sgfs
zenVSs604sgf.zip [3.02 KiB]
Downloaded 402 times
Top
 Profile  
 
Offline
 Post subject: Re: KataGo Distributed Training and new networks
Post #65 Posted: Sat Feb 06, 2021 8:51 am 
Gosei
User avatar

Posts: 1348
Liked others: 202
Was liked: 203
PytoGo https://lifein19x19.com/viewtopic.php?p=263430#p263430
also supports the game between BadukAI (Nox emulator) and Sabaki


Attachments:
PytoGo.jpg
PytoGo.jpg [ 293.39 KiB | Viewed 32209 times ]
Top
 Profile  
 
Offline
 Post subject: Re: KataGo Distributed Training and new networks
Post #66 Posted: Sat Feb 06, 2021 10:07 am 
Lives with ko

Posts: 150
Liked others: 200
Was liked: 30
Rank: 25 kyu
@And I cant get any of the emulators or pytogo to work. Would it be possible for you to do 4 games of the actual zen 7 program at 9 dan vs the optimized net policy? Thanks for the info either way!

Top
 Profile  
 
Offline
 Post subject: Re: KataGo Distributed Training and new networks
Post #67 Posted: Sat Feb 06, 2021 10:37 am 
Gosei
User avatar

Posts: 1348
Liked others: 202
Was liked: 203
go4thewin wrote:
@And I cant get any of the emulators or pytogo to work. Would it be possible for you to do 4 games of the actual zen 7 program at 9 dan vs the optimized net policy? Thanks for the info either way!

BadukAI 40b(optimized version s580) playouts 1 - Zenith 7 9d?
or maybe better with CS Zero? it seems to me that CS Zero is stronger. I play several games every day against CS Zero with a handicap of 2, but so far no network has won (1 playouts)

Top
 Profile  
 
Offline
 Post subject: Re: KataGo Distributed Training and new networks
Post #68 Posted: Sat Feb 06, 2021 11:13 am 
Lives with ko

Posts: 150
Liked others: 200
Was liked: 30
Rank: 25 kyu
Really big thanks for this. maybe 2 games zen 7 vs optimized s580 with komi playouts 1 search thread 1? im just trying to see if the optimized net can atleast win 1 of the games since last year katago needed more playouts against zen. i know by the other tests it should, but would be really nice to have sgf, thanks!

Top
 Profile  
 
Offline
 Post subject: Re: KataGo Distributed Training and new networks
Post #69 Posted: Sat Feb 06, 2021 3:51 pm 
Gosei
User avatar

Posts: 1348
Liked others: 202
Was liked: 203
in the first game, the Zenith resigned on move 179. tomorrow I will continue and upload the sgf

Top
 Profile  
 
Offline
 Post subject: Re: KataGo Distributed Training and new networks
Post #70 Posted: Sat Feb 06, 2021 6:18 pm 
Lives with ko

Posts: 150
Liked others: 200
Was liked: 30
Rank: 25 kyu
Wow thats really helpful to know, thanks!

Top
 Profile  
 
Offline
 Post subject: Re: KataGo Distributed Training and new networks
Post #71 Posted: Sun Feb 07, 2021 6:53 am 
Gosei
User avatar

Posts: 1348
Liked others: 202
Was liked: 203
BadukAI 40b(optimized version s580, maxPlayouts 1, numSearchThreads 1) - Zenith 7 9d 2:0




Attachments:
BadukAI - Zenith 7.sgf [1.2 KiB]
Downloaded 877 times
Zenith 7 - BadukAI.sgf [1.16 KiB]
Downloaded 859 times

This post by And was liked by: Maharani
Top
 Profile  
 
Offline
 Post subject: Re: KataGo Distributed Training and new networks
Post #72 Posted: Sun Feb 07, 2021 7:06 am 
Gosei
User avatar

Posts: 1348
Liked others: 202
Was liked: 203
the same games in Zenith format, there is a win rate, they can be opened in Zenith 6


Attachments:
BadukAI - Zenith 7.zgf.gz [1.14 KiB]
Downloaded 364 times
Zenith 7 - BadukAI.zgf.gz [1.12 KiB]
Downloaded 377 times
Top
 Profile  
 
Offline
 Post subject: Re: KataGo Distributed Training and new networks
Post #73 Posted: Sun Feb 07, 2021 7:45 am 
Beginner

Posts: 2
Liked others: 0
Was liked: 2
Rank: KGS 3 dan
I also try to run the Kata Go with strongest network s585 on my PC with low-mid level GPU like GTX 750, then settle a match with Golaxy pro 3X. I let Kata Go play with maximum 2000 visits per moves as white and it defeated Golaxy pro 3X (which spent 5 second per move with 700 visits/s). This was a surprised (for me) so far. I will try to run more game like this.


Attachments:
高水平对弈.sgf [1.08 KiB]
Downloaded 415 times

This post by VietGo was liked by: go4thewin
Top
 Profile  
 
Offline
 Post subject: Re: KataGo Distributed Training and new networks
Post #74 Posted: Sun Feb 07, 2021 7:57 am 
Lives with ko

Posts: 150
Liked others: 200
Was liked: 30
Rank: 25 kyu
Wow this helped me out so much, thanks And. I can't believe how strong and fast the optimized net is.

Top
 Profile  
 
Offline
 Post subject: Re: KataGo Distributed Training and new networks
Post #75 Posted: Sun Feb 07, 2021 8:48 am 
Gosei
User avatar

Posts: 1348
Liked others: 202
Was liked: 203
BadukAI 40b(optimized version s580, maxPlayouts 1, numSearchThreads 1) - CS Zero 9d


Attachments:
BadukAI - CS Zero.sgf [1.71 KiB]
Downloaded 871 times

This post by And was liked by 2 people: go4thewin, Maharani
Top
 Profile  
 
Offline
 Post subject: Re: KataGo Distributed Training and new networks
Post #76 Posted: Sun Feb 07, 2021 9:54 am 
Gosei
User avatar

Posts: 1348
Liked others: 202
Was liked: 203
for the latter networks a very good and strong opponent - CS Zero 9d! in the last game (previous message) on move 199, KataGo showed a winrate of 98.63! I now see a big difference in the strength of the game Zenith 9d and CS Zero 9d!


Attachments:
20210207-183417-D43D1AF3.log.gz [15.29 KiB]
Downloaded 379 times

This post by And was liked by: go4thewin
Top
 Profile  
 
Offline
 Post subject: Re: KataGo Distributed Training and new networks
Post #77 Posted: Sun Feb 07, 2021 10:04 am 
Gosei
User avatar

Posts: 1348
Liked others: 202
Was liked: 203
@akigo
at low playouts values, the winrate is not displayed. is it possible to fix this?

Top
 Profile  
 
Offline
 Post subject: Re: KataGo Distributed Training and new networks
Post #78 Posted: Sun Feb 07, 2021 12:42 pm 
Gosei
User avatar

Posts: 1348
Liked others: 202
Was liked: 203
BadukAI 40b(optimized version s604, maxPlayouts 1, numSearchThreads 1) - CS Zero 9d


Attachments:
BadukAI - CS Zero.sgf [1.38 KiB]
Downloaded 859 times

This post by And was liked by: go4thewin
Top
 Profile  
 
Offline
 Post subject: Re: KataGo Distributed Training and new networks
Post #79 Posted: Mon Feb 08, 2021 3:00 am 
Gosei
User avatar

Posts: 1348
Liked others: 202
Was liked: 203
second game BadukAI 40b(optimized version s604, maxPlayouts 1, numSearchThreads 1) - CS Zero 9d


Attachments:
BadukAI - CS Zero.sgf [1.06 KiB]
Downloaded 815 times
Top
 Profile  
 
Offline
 Post subject: Re: KataGo Distributed Training and new networks
Post #80 Posted: Mon Feb 08, 2021 3:16 pm 
Lives with ko

Posts: 174
Liked others: 13
Was liked: 151
And wrote:
@akigo
at low playouts values, the winrate is not displayed. is it possible to fix this?


I looked at this, and I think that I can fix it, but I have to modify both BadukAI and katago, so it will take some time.


This post by akigo was liked by: And
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 440 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 22  Next

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group