It is currently Thu Apr 18, 2024 4:07 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2  Next
Author Message
Offline
 Post subject: SmartGo new version & KataGo & Leela Zero
Post #1 Posted: Sun Oct 13, 2019 7:33 am 
Gosei
User avatar

Posts: 1349
Liked others: 202
Was liked: 203
SmartGo for Windows Version 3.1.7 (2019-10-10) https://www.smartgo.com/windows.html
Update to newest GoGoD collection of 105,323 games.

Leela Zero works with SmartGo
command line options:
leelaz --gtp --threads 4 --noponder -w Networkfile.txt

but KataGo does not work. can be configured KataGo?

Top
 Profile  
 
Offline
 Post subject: Re: SmartGo new version & KataGo & Leela Zero
Post #2 Posted: Sun Feb 16, 2020 5:12 pm 
Lives in gote
User avatar

Posts: 308
Liked others: 54
Was liked: 71
Rank: EGF 5k Foxy 2k
I can't get KataGo working, and I can't get Leela working either. Any tips? Can you screenshot the add GTP part of SmartGo? Where is your network placed, in the networks folder? Did you run autogtp.exe beforehand? Did you unpack the .gz file?

_________________
12k: 2015.08.11; 11k: 2015.09.13; 10k: 2015.09.27; 9k: 2015.10.10; 8k: 2015.11.08; 7k: 2016.07.10 6k: 2016.07.24 5k: 2018.05.14 4k: 2018.09.03 3k: who knows?

Top
 Profile  
 
Offline
 Post subject: Re: SmartGo new version & KataGo & Leela Zero
Post #3 Posted: Mon Feb 17, 2020 7:13 am 
Gosei
User avatar

Posts: 1349
Liked others: 202
Was liked: 203
I unpack, gz does not work


Attachments:
SmartGo & Leela Zero.jpg
SmartGo & Leela Zero.jpg [ 175.8 KiB | Viewed 11675 times ]
Top
 Profile  
 
Offline
 Post subject: Re: SmartGo new version & KataGo & Leela Zero
Post #4 Posted: Mon Feb 17, 2020 10:22 am 
Gosei
User avatar

Posts: 1349
Liked others: 202
Was liked: 203
KataGo 1.3 works


Attachments:
SmartGo & KataGo.jpg
SmartGo & KataGo.jpg [ 202.23 KiB | Viewed 11647 times ]
Top
 Profile  
 
Offline
 Post subject: Re: SmartGo new version & KataGo & Leela Zero
Post #5 Posted: Mon Feb 17, 2020 10:41 am 
Gosei
User avatar

Posts: 1349
Liked others: 202
Was liked: 203
for some reason I can’t connect both engines at once (KataGo & Leela Zero). after connecting the second, the first stops working. but for example KataGo and GnuGo work together

Top
 Profile  
 
Offline
 Post subject: Re: SmartGo new version & KataGo & Leela Zero
Post #6 Posted: Mon Feb 17, 2020 3:25 pm 
Lives in gote
User avatar

Posts: 308
Liked others: 54
Was liked: 71
Rank: EGF 5k Foxy 2k
Not working for me! :tmbdown:

Attachment:
Capture.PNG
Capture.PNG [ 29.27 KiB | Viewed 11578 times ]


What version of Leela Zero are you using?

I have put Networkfile.txt in networks folder and in the root leelaz folder but it gives me the same response.

_________________
12k: 2015.08.11; 11k: 2015.09.13; 10k: 2015.09.27; 9k: 2015.10.10; 8k: 2015.11.08; 7k: 2016.07.10 6k: 2016.07.24 5k: 2018.05.14 4k: 2018.09.03 3k: who knows?

Top
 Profile  
 
Offline
 Post subject: Re: SmartGo new version & KataGo & Leela Zero
Post #7 Posted: Mon Feb 17, 2020 3:28 pm 
Lives in gote
User avatar

Posts: 308
Liked others: 54
Was liked: 71
Rank: EGF 5k Foxy 2k
Same for Katago. :cry:

_________________
12k: 2015.08.11; 11k: 2015.09.13; 10k: 2015.09.27; 9k: 2015.10.10; 8k: 2015.11.08; 7k: 2016.07.10 6k: 2016.07.24 5k: 2018.05.14 4k: 2018.09.03 3k: who knows?

Top
 Profile  
 
Offline
 Post subject: Re: SmartGo new version & KataGo & Leela Zero
Post #8 Posted: Mon Feb 17, 2020 4:04 pm 
Gosei
User avatar

Posts: 1349
Liked others: 202
Was liked: 203
Jujube wrote:
What version of Leela Zero are you using?

leela-zero-0.17-win64
Does it work from the command line?


This post by And was liked by: Jujube
Top
 Profile  
 
Offline
 Post subject: Re: SmartGo new version & KataGo & Leela Zero
Post #9 Posted: Mon Feb 17, 2020 4:25 pm 
Lives in gote
User avatar

Posts: 308
Liked others: 54
Was liked: 71
Rank: EGF 5k Foxy 2k
It does yes. I'm on 0.17 too.

Attachment:
Capture.PNG
Capture.PNG [ 57.13 KiB | Viewed 11550 times ]


I wonder if SmartGo caches anything that's preventing recognising Leela as a valid program from my previous failed attempts?

Oh and, thanks for helping out :)

_________________
12k: 2015.08.11; 11k: 2015.09.13; 10k: 2015.09.27; 9k: 2015.10.10; 8k: 2015.11.08; 7k: 2016.07.10 6k: 2016.07.24 5k: 2018.05.14 4k: 2018.09.03 3k: who knows?

Top
 Profile  
 
Offline
 Post subject: Re: SmartGo new version & KataGo & Leela Zero
Post #10 Posted: Mon Feb 17, 2020 4:30 pm 
Gosei
User avatar

Posts: 1349
Liked others: 202
Was liked: 203
I think there is some kind of glitch in SmartGo. try options - reset all settings


This post by And was liked by: Jujube
Top
 Profile  
 
Offline
 Post subject: Re: SmartGo new version & KataGo & Leela Zero
Post #11 Posted: Mon Feb 17, 2020 4:36 pm 
Gosei
User avatar

Posts: 1349
Liked others: 202
Was liked: 203
I doubt that this will help, but for certain reasons I do not install any go-programs on the disk c:

Top
 Profile  
 
Offline
 Post subject: Re: SmartGo new version & KataGo & Leela Zero
Post #12 Posted: Mon Feb 17, 2020 4:41 pm 
Lives in gote
User avatar

Posts: 308
Liked others: 54
Was liked: 71
Rank: EGF 5k Foxy 2k
And wrote:
I think there is some kind of glitch in SmartGo. try options - reset all settings


Hurrah! That worked. :bow:

Katago isn't working yet but... Leela is. So, that's good enough.

Well, I'll leave now to see what SmartGo can actually do with Leela so, I might still be disappointed :lol: I guess it's not going to be as impressive as Lizzie, with score estimates on the intersections and the 'analyse in the background' mode while I explore variations hmm?

Thanks for your help! You are a shining example of lifein19x19 problem-solving.

_________________
12k: 2015.08.11; 11k: 2015.09.13; 10k: 2015.09.27; 9k: 2015.10.10; 8k: 2015.11.08; 7k: 2016.07.10 6k: 2016.07.24 5k: 2018.05.14 4k: 2018.09.03 3k: who knows?

Top
 Profile  
 
Offline
 Post subject: Re: SmartGo new version & KataGo & Leela Zero
Post #13 Posted: Mon Feb 17, 2020 4:48 pm 
Lives in sente

Posts: 757
Liked others: 114
Was liked: 916
Rank: maybe 2d
Have you tried running KataGo on its own yet? Just in the command line directly, using the "benchmark" command, like:

"katago.exe benchmark -model YOUR_MODEL_FILE.txt.gz -config YOUR_GTP_CONFIG_FILE.cfg" (run tuning and benchmark)
"katago.exe gtp -model YOUR_MODEL_FILE.txt.gz -config YOUR_GTP_CONFIG_FILE.cfg" (run gtp)

What output does it produce? Running directly is always the first thing you should do when it seems things haven't worked - easier to see error messages when there's nothing between you in the bot hiding the possible errors.

Top
 Profile  
 
Offline
 Post subject: Re: SmartGo new version & KataGo & Leela Zero
Post #14 Posted: Mon Feb 17, 2020 4:56 pm 
Lives in gote
User avatar

Posts: 308
Liked others: 54
Was liked: 71
Rank: EGF 5k Foxy 2k
Yep, katago works fine in cmd and in Lizzie too. I'd prefer to use katago but there's another post on lifein19x19 from someone (Bonobo? I forget) that also can get SmartGo for Windows working with Lizzie but not with Katago. So I don't think it's anything your end.

_________________
12k: 2015.08.11; 11k: 2015.09.13; 10k: 2015.09.27; 9k: 2015.10.10; 8k: 2015.11.08; 7k: 2016.07.10 6k: 2016.07.24 5k: 2018.05.14 4k: 2018.09.03 3k: who knows?

Top
 Profile  
 
Offline
 Post subject: Re: SmartGo new version & KataGo & Leela Zero
Post #15 Posted: Mon Feb 17, 2020 6:45 pm 
Lives in sente

Posts: 757
Liked others: 114
Was liked: 916
Rank: maybe 2d
Weird.

Edit: Hmmm, in the above screenshots, is it really supposed to be the case that "command line options" also includes the executable name too?

I thought command line options normally means the options that you are passing TO the executable. So, like:

"katago.exe gtp -config FOO -model BAR" would have the executable be "katago.exe" and the command line options be "gtp -config FOO -model BAR".

Top
 Profile  
 
Offline
 Post subject: Re: SmartGo new version & KataGo & Leela Zero
Post #16 Posted: Tue Feb 18, 2020 12:04 am 
Lives in gote
User avatar

Posts: 308
Liked others: 54
Was liked: 71
Rank: EGF 5k Foxy 2k
Yes, apparently this is a quirk of SmartGo. I have seen the same Q&A on the Baduk subreddit before. In fact it doesn't need to be the exe name. You could say potatoes gtp etc etc with the same effect.

_________________
12k: 2015.08.11; 11k: 2015.09.13; 10k: 2015.09.27; 9k: 2015.10.10; 8k: 2015.11.08; 7k: 2016.07.10 6k: 2016.07.24 5k: 2018.05.14 4k: 2018.09.03 3k: who knows?

Top
 Profile  
 
Offline
 Post subject: Re: SmartGo new version & KataGo & Leela Zero
Post #17 Posted: Thu Feb 20, 2020 8:22 am 
Gosei
User avatar

Posts: 1349
Liked others: 202
Was liked: 203
Jujube I may have found a reason why KataGo does not work. a network of 20 blocks does not work, but 10 blocks work! checked several times. check if it will work for you.

EDIT 15 blocks does not work either. model.txt.gz also works, but only 10 blocks

Top
 Profile  
 
Offline
 Post subject: Re: SmartGo new version & KataGo & Leela Zero
Post #18 Posted: Thu Feb 20, 2020 11:52 am 
Gosei
User avatar

Posts: 1349
Liked others: 202
Was liked: 203
it turned out to be even more confusing

g104 10 block s1.10G: katago 1.3 - OK, katago 1.3.2 - not working, katago 1.3.1 - OK
g170 10 block s1.97G: katago 1.3 - not working, katago 1.3.2 - OK, katago 1.3.1 - OK
g170e 10 block s1.14G: katago 1.3 - not working, katago 1.3.2 - OK, katago 1.3.1 - OK

apparently, before launch, you need to flip a coin :D

Top
 Profile  
 
Offline
 Post subject: Re: SmartGo new version & KataGo & Leela Zero
Post #19 Posted: Thu Feb 20, 2020 2:49 pm 
Lives in sente

Posts: 757
Liked others: 114
Was liked: 916
Rank: maybe 2d
And wrote:
it turned out to be even more confusing

g104 10 block s1.10G: katago 1.3 - OK, katago 1.3.2 - not working, katago 1.3.1 - OK
g170 10 block s1.97G: katago 1.3 - not working, katago 1.3.2 - OK, katago 1.3.1 - OK
g170e 10 block s1.14G: katago 1.3 - not working, katago 1.3.2 - OK, katago 1.3.1 - OK

apparently, before launch, you need to flip a coin :D


There's a good chance that most of those combinations are working, but you didn't let it run long enough?

When KataGo encounters a neural net that is of a different size than it has encountered before, it will need to re-tune the first time it sees that size. Different versions of the code (1.3, 1.3.1, 1.3.2) may not always be able to share this tuning, so each one separately does it. The re-tuning can take a minute or two - and during that time, KataGo will output messages that make it obvious that it is computing and tuning and working. But many GUIs are terrible at displaying those messages to the user, so it may look like it just hangs and doesn't load, if you aren't patient enough to wait out the minutes. But it only needs to do this once, so long as it is allowed to finish and succeed.

I know Jujube has reported that their issue is with running it in SmartGo specifically and that the command line works, so really maybe it has something to do with SmartGo, but how about for you? Can you try running those not working combinations directly in the command line too, so you can see if it is tuning?

Top
 Profile  
 
Offline
 Post subject: Re: SmartGo new version & KataGo & Leela Zero
Post #20 Posted: Thu Feb 20, 2020 8:02 pm 
Lives in gote

Posts: 586
Location: Adelaide, South Australia
Liked others: 208
Was liked: 265
Rank: Australian 2 dan
GD Posts: 200
And wrote:
Jujube I may have found a reason why KataGo does not work. a network of 20 blocks does not work, but 10 blocks work!

First thing that comes to mind is that the smaller network starts up quicker, and SmartGo gives up if it has to wait too long?

(I don't use SmartGo myself so am unable to test this theory.)

At this point I'm wondering if someone should ping Anders and get him to look at this thread.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2  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