It is currently Thu Mar 28, 2024 7:34 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 15 posts ] 
Author Message
Offline
 Post subject: Zen has a GTP version
Post #1 Posted: Mon Jul 31, 2017 2:49 am 
Dies in gote

Posts: 34
Liked others: 2
Was liked: 5
Rank: 3k
Thread: https://tieba.baidu.com/p/5181346899

You need these files in the same folder:
BetterZen6-0.4bxx.exe (from https://pan.baidu.com/s/1dF1mkfv Password: e60r)
Zen.dll (comes with purchase of Zen 6)
Leela0100GTP.exe (from https://sjeng.org/leela.html)

Code:
Allowed options:
-h [ --help ]           Show all allowed options.
-t [ --threads ] num    Set the number of threads to use. (1)
-M [ --maxcount ] num   Set the max count for top moves. (30000)
-m [ --mincount ] num   Set the min count for good moves.
-l [ --logfile ] file   Enable logging and set the log file.


Last edited by Cyan on Fri Aug 04, 2017 7:10 am, edited 5 times in total.
Top
 Profile  
 
Offline
 Post subject: Re: Zen has a GTP version
Post #2 Posted: Mon Jul 31, 2017 8:43 am 
Lives with ko

Posts: 136
Liked others: 47
Was liked: 21
Rank: KGS 6 dan
Thanks mate!

I've just tried it and it works. But do you know why it needs LeelaGTP to run?

P.S. How strong is this Zen? Is it the same version as ZenithGo 6? 11.4?

Top
 Profile  
 
Offline
 Post subject: Re: Zen has a GTP version
Post #3 Posted: Mon Jul 31, 2017 9:36 am 
Dies in gote

Posts: 34
Liked others: 2
Was liked: 5
Rank: 3k
johnsmith wrote:
Thanks mate!

I've just tried it and it works. But do you know why it needs LeelaGTP to run?

P.S. How strong is this Zen? Is it the same version as ZenithGo 6? 11.4?

The engine is basically 11.4 with several optimisations, so it is slightly stronger. One of those optimisations is that it also considers Leela's value network winrate, which is why it needs LeelaGTP to run.

Top
 Profile  
 
Offline
 Post subject: Re: Zen has a GTP version
Post #4 Posted: Thu Aug 03, 2017 2:03 am 
Dies with sente

Posts: 93
Liked others: 26
Was liked: 13
Rank: Total beginner
Universal go server handle: Satorian
Does this work without a license key for Zen? If so, this should be considered a copyright violation.


This post by Satorian was liked by: Waylon
Top
 Profile  
 
Offline
 Post subject: Re: Zen has a GTP version
Post #5 Posted: Tue Aug 08, 2017 5:32 am 
Lives in gote

Posts: 340
Location: Spain
Liked others: 181
Was liked: 41
Rank: Low
Does this Zen version use area scoring, like Leela?

Top
 Profile  
 
Offline
 Post subject: Re: Zen has a GTP version
Post #6 Posted: Fri Aug 11, 2017 12:29 pm 
Lives with ko

Posts: 131
Liked others: 0
Was liked: 7
I hope to buy the newest Zen version for my pc:
Amd threadripper(16 cores) and 2x nvidia geforce gtx 1080 ti 11gb.

Does it make sense to buy 2 more gpus?
How big would be the strength increase?

Top
 Profile  
 
Offline
 Post subject: Re: Zen has a GTP version
Post #7 Posted: Mon Aug 14, 2017 4:10 am 
Lives in sente

Posts: 727
Liked others: 44
Was liked: 218
GD Posts: 10
goame wrote:
I hope to buy the newest Zen version for my pc:
Amd threadripper(16 cores) and 2x nvidia geforce gtx 1080 ti 11gb.

Does it make sense to buy 2 more gpus?
How big would be the strength increase?


No one knows the hardware support detail of the upcoming version but according to Computer Go Server, Zen never test with 2 or more GPU (0g or not mention g = no GPU, 1g = 1 GPU)
But are you sure that Zen support 16 cores? We all know that Zenith Go 5 support up to 8 cores (from AlphaGo paper), I don't own Zenith Go 6 personally so I'm not sure if it support more than 8 or not. In buying CPU, I might go with 8 cores or 10 cores that have higher frequency.

Top
 Profile  
 
Offline
 Post subject: Re: Zen has a GTP version
Post #8 Posted: Sun Sep 03, 2017 5:40 am 
Dies in gote

Posts: 24
Liked others: 1
Was liked: 0
KGS: 4 dan
Did you think we all speak Chinese? lol

And your website want me force to download a shitty software BaiduNetdisk.

Can't you just post the link of this version here please? :D

Top
 Profile  
 
Offline
 Post subject: Re: Zen has a GTP version
Post #9 Posted: Wed Sep 06, 2017 4:09 am 
Lives with ko
User avatar

Posts: 284
Liked others: 94
Was liked: 153
Rank: OGS 7 kyu
Is there somebody in touch with Zen's author(s) here?

Because let's face it, as Satorian mentioned it, if this is really Zen, then this is probably a copyright violation.
But on the other hand, it may very well not be Zen, considering the very small size of the *.exe

As for myself, I would be really happy to add support for Zen into my game review program.

_________________
I am the author of GoReviewPartner, a small software aimed at assisting reviewing a game of Go. Give it a try!

Top
 Profile  
 
Offline
 Post subject: Re: Zen has a GTP version
Post #10 Posted: Wed Sep 06, 2017 5:01 am 
Lives with ko

Posts: 136
Liked others: 47
Was liked: 21
Rank: KGS 6 dan
Yes, it might be violation, Hideki mentioned in some KGS game chat that he didn't know about it, but... it is not pure Zen, it's more like a mix of Zen and Leela (which is weaker than Leela itself).

Imagine this scenario: Zen is thinking what to play next:
D15 (MC: 65.5%)
D14 (MC: 64.0%)
D13 (MC: 63.7%)
...but then Leela comes in and says "hey wait, I have different opinion" and shares its opinion:
D15 (VN: 55.5%)
D14 (VN: 75.0%)
D13 (VN: 60.7%)
Now, two of those merge together to form a third evalution, which is actually some kind of average... Then this mixed program plays the highest value, which is D14 is this case. That's how I see it :)

Top
 Profile  
 
Offline
 Post subject: Re: Zen has a GTP version
Post #11 Posted: Sun Feb 16, 2020 7:44 am 
Lives with ko

Posts: 150
Liked others: 200
Was liked: 30
Rank: 25 kyu
Here are settings for 22 bots you can use for sabaki if you want a very strong opponent to play at your level. You need zen6, gtp4zen, katago 1.3.2. The rankings do not correspond to human rankings, you might have to play below your rank to win. Suggested minimum pc: i3 with gtx 1030 or higher. you can still buy zen6 if you didnt get it when it first came out: https://book.mynavi.jp/tencho6_en/

zen6 13k -z6 -r3 -t1 -s300 -n0 -o0.1 -p0.5

zen6 12k -z6 -r5 -t1 -s400 -n0 -o0.1 -p0.6

zen6 11k -z6 -r5 -t1 -s500 -n0 -o0.2 -p0.65

zen6 10k -z6 -r5 -t1 -s600 -n0 -o0.3 -p0.7

zen6 9k -z6 -t1 -s700 -n0 -o0.4 -p0.75

zen6 8k -z6 -t1 -s800 -n0 -o0.5 -p0.8

zen6 7k -z6 -t1 -s1000 -n0 -o0.7 -p0.8

zen6 6k -z6 -t1 -s1500 -n0 -o0.9 -p0.9

zen6 5k -z6 -t1 -s2000 -n0 -o1 -p1

zen6 4k -z6 -t1 -s2500 -n1 -o0.2 -p1

zen6 3k -z6 -t1 -s3000 -n1 -o0.3 -p1

zen6 2k -z6 -t1 -s3000 -n1 -o0.5 -p1

zen6 1k -z6 -r15 -t1 -s3000 -n1 -o1 -p1

Or less ideal but for slow CPUs:
katago_10b_s114 3k resign threshold .90 1 thread 1 playout

katago_10b_s114 2k? resign threshold .90 1 thread 2 playouts

katago_10b_s114 1k resign threshold .90 1 thread 4 playouts
-----------------------------------
Dan level GPU powered:

Katas191 1d resign threshold 90% 1 thread 1 playout

Katas191 2d resign threshold 90% 1 thread 4 playouts

Katas191 3d resign threshold 90% 1 thread 8 playouts

Katas191 4d resign threshold 90% 1 thread 16 playouts

Katas191 5d resign threshold 90% 1 thread 32 playouts

Katas191 6d resign threshold 90% 1 thread 64 playouts

Katas191 7d resign threshold 90% 1 thread 128 playouts

Katas191 8d resign threshold 90% 1 thread 256 playouts

Katas191 9d resign threshold 90% 1 thread 512 playouts

For Katago, you need to create seperate config files for each bot (ex. "1d.cfg")

If you have zen 7 (not worth it, don't buy if you don't), you can add a few weaker bots if you need them:

zen7 17k -t1 -r3 -s200 -n0 -o4.0 -p0.2

zen7 16k -t1 -r3 -s200 -n0 -o3.0 -p0.25

zen7 15k -t1 -r3 -s300 -n0 -o2.4 -p0.3

zen7 14k -t1 -r3 -s300 -n0 -o2.2 -p0.3

I personally stream the pc to my likebook mars ereader through a remote desktop app. It's like playing go on a touch screen kindle instead of a computer. You can use bluetooth keyboard/trackpad/mouse as well. Because there are no time limits, you can also play the game out on a real board.

All bots can play on 9, 11, 13, or 19 boards, either chineses or Japanese rules and komis.

_________________
set katago to play at your level https://docdro.id/sHZU1ti or experiment with gtp4zen ( https://rb.gy/kx2ilb )


Last edited by go4thewin on Sat Feb 22, 2020 7:41 am, edited 9 times in total.

This post by go4thewin was liked by: Vargo
Top
 Profile  
 
Offline
 Post subject: Re: Zen has a GTP version
Post #12 Posted: Sun Feb 16, 2020 3:14 pm 
Lives in gote

Posts: 580
Location: Adelaide, South Australia
Liked others: 207
Was liked: 264
Rank: Australian 2 dan
GD Posts: 200
Cyan wrote:
You need these files in the same folder:
BetterZen6-0.4bxx.exe (from https://pan.baidu.com/s/1dF1mkfv Password: e60r)
Zen.dll (comes with purchase of Zen 6)
Leela0100GTP.exe (from https://sjeng.org/leela.html)

(Emphasis added.) Looks like this only works if you've purchased Zen, so I'm not seeing the problem with copyright?

What I'm more interested in is: have any Linux users got Zen to work with Wine?

Top
 Profile  
 
Offline
 Post subject: Re: Zen has a GTP version
Post #13 Posted: Tue Feb 18, 2020 2:02 pm 
Lives with ko

Posts: 150
Liked others: 200
Was liked: 30
Rank: 25 kyu
it looks like a russian guy did

gtp4zen+Zenith6_s2^31-gtp4zen+Zenith6_s10^4
Команда: java -jar /usr/share/gogui/lib/gogui.jar -komi 7.5 -program 'java -jar /usr/share/gogui/lib/gogui-twogtp.jar -verbose -komi 7.5 -white "wine /home/INSTall/0Go/gtp4zen/gtp4zen.exe -z 6 -t 2 -T 120 -s 2147483647 -r 25" -black "wine /home/INSTall/0Go/gtp4zen/gtp4zen.exe -z 6 -t 2 -T 120 -r 25"' -computer-both
s10^4-s2^31 1-0 :08:11-:20:59 211moves
s10^4-s2^31 0-1 :07:12-:16:03 156moves


Is there a way to play against gtp4zen in the command line, like gnugo. I have nerve damage in my eyes and the command line and a real board is much easier than a gui, thanks!
edit: thanks xela, showing the board worked for me when i set gnugo as the color i was playing, for example black. Then the command gogui-twogtp-black showboard would draw the board in the command line. genmove white plays the opponent's move, here zen. And play b q16 for example plays out my move.

_________________
set katago to play at your level https://docdro.id/sHZU1ti or experiment with gtp4zen ( https://rb.gy/kx2ilb )


Last edited by go4thewin on Tue Feb 18, 2020 11:45 pm, edited 1 time in total.
Top
 Profile  
 
Offline
 Post subject: Re: Zen has a GTP version
Post #14 Posted: Tue Feb 18, 2020 5:50 pm 
Lives in gote

Posts: 580
Location: Adelaide, South Australia
Liked others: 207
Was liked: 264
Rank: Australian 2 dan
GD Posts: 200
go4thewin wrote:
Is there a way to play against gtp4zen in the command line, like gnugo. I have nerve damage in my eyes and the command line and a real board is much easier than a gui, thanks!

Yes, that's exactly what GTP should do!

So look at the gogui command line:

java -jar /usr/share/gogui/lib/gogui.jar -komi 7.5 -program 'java -jar /usr/share/gogui/lib/gogui-twogtp.jar -verbose -komi 7.5 -white "wine /home/INSTall/0Go/gtp4zen/gtp4zen.exe -z 6 -t 2 -T 120 -s 2147483647 -r 25" -black "wine /home/INSTall/0Go/gtp4zen/gtp4zen.exe -z 6 -t 2 -T 120 -r 25"' -computer-both

The bit that I've put in bold: if you just type that part into a command line, you should see some startup messages then a GTP prompt. (You may want to change some bits depending on your setup.) To play your own move for black at D4, type "play b d4". To ask the bot to play a move for white, type "genmove w". To tell the bot what the time settings should be, type something like "time_settings 1800 10 1" where 1800=main time in seconds (1800 is half an hour), 10=byo-yomi time (set to zero if you want to play with absolute time only), 1=number of stones per byo-yomi period (more than 1 means you're doing Canadian byo-yomi). Some engines will automatically print out the board after each move, some won't. To ask it to print the board, type "showboard". Other standard GTP commands are listed at https://www.gnu.org/software/gnugo/gnugo_19.html


This post by xela was liked by: go4thewin
Top
 Profile  
 
Offline
 Post subject: Re: Zen has a GTP version
Post #15 Posted: Sun Nov 19, 2023 10:01 pm 
Gosei
User avatar

Posts: 1348
Liked others: 202
Was liked: 203
I can't find BetterZen. does anyone have one?

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

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