Zen has a GTP version

For discussing go computing, software announcements, etc.
Post Reply
Cyan
Dies in gote
Posts: 34
Joined: Wed Jul 19, 2017 4:12 pm
Rank: 3k
GD Posts: 0
Has thanked: 2 times
Been thanked: 5 times

Zen has a GTP version

Post by Cyan »

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: Select all

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.
johnsmith
Lives with ko
Posts: 136
Joined: Fri May 27, 2016 3:55 am
Rank: KGS 6 dan
GD Posts: 0
Has thanked: 47 times
Been thanked: 21 times

Re: Zen has a GTP version

Post by johnsmith »

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?
Cyan
Dies in gote
Posts: 34
Joined: Wed Jul 19, 2017 4:12 pm
Rank: 3k
GD Posts: 0
Has thanked: 2 times
Been thanked: 5 times

Re: Zen has a GTP version

Post by Cyan »

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.
Satorian
Dies with sente
Posts: 93
Joined: Sun Jan 22, 2012 7:11 am
Rank: Total beginner
GD Posts: 0
Universal go server handle: Satorian
Has thanked: 26 times
Been thanked: 13 times

Re: Zen has a GTP version

Post by Satorian »

Does this work without a license key for Zen? If so, this should be considered a copyright violation.
luigi
Lives in gote
Posts: 352
Joined: Wed Jul 06, 2011 12:01 pm
Rank: Low
GD Posts: 0
Location: Spain
Has thanked: 181 times
Been thanked: 41 times

Re: Zen has a GTP version

Post by luigi »

Does this Zen version use area scoring, like Leela?
goame
Lives with ko
Posts: 132
Joined: Sat Jan 28, 2017 12:25 am
GD Posts: 0
Been thanked: 7 times

Re: Zen has a GTP version

Post by goame »

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?
pookpooi
Lives in sente
Posts: 727
Joined: Sat Aug 21, 2010 12:26 pm
GD Posts: 10
Has thanked: 44 times
Been thanked: 218 times

Re: Zen has a GTP version

Post by pookpooi »

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.
tartaric
Dies in gote
Posts: 24
Joined: Tue Aug 29, 2017 11:59 am
GD Posts: 0
KGS: 4 dan
Has thanked: 1 time

Re: Zen has a GTP version

Post by tartaric »

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
User avatar
pnprog
Lives with ko
Posts: 286
Joined: Thu Oct 20, 2016 7:21 am
Rank: OGS 7 kyu
GD Posts: 0
Has thanked: 94 times
Been thanked: 153 times

Re: Zen has a GTP version

Post by pnprog »

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!
johnsmith
Lives with ko
Posts: 136
Joined: Fri May 27, 2016 3:55 am
Rank: KGS 6 dan
GD Posts: 0
Has thanked: 47 times
Been thanked: 21 times

Re: Zen has a GTP version

Post by johnsmith »

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 :)
go4thewin
Lives with ko
Posts: 150
Joined: Thu Jan 23, 2020 6:09 am
Rank: 25 kyu
GD Posts: 0
Has thanked: 200 times
Been thanked: 30 times

Re: Zen has a GTP version

Post by go4thewin »

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.
Last edited by go4thewin on Sat Feb 22, 2020 7:41 am, edited 9 times in total.
set katago to play at your level https://docdro.id/sHZU1ti or experiment with gtp4zen ( https://rb.gy/kx2ilb )
xela
Lives in gote
Posts: 652
Joined: Sun Feb 09, 2014 4:46 am
Rank: Australian 3 dan
GD Posts: 200
Location: Adelaide, South Australia
Has thanked: 219 times
Been thanked: 281 times

Re: Zen has a GTP version

Post by xela »

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?
go4thewin
Lives with ko
Posts: 150
Joined: Thu Jan 23, 2020 6:09 am
Rank: 25 kyu
GD Posts: 0
Has thanked: 200 times
Been thanked: 30 times

Re: Zen has a GTP version

Post by go4thewin »

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.
Last edited by go4thewin on Tue Feb 18, 2020 11:45 pm, edited 1 time in total.
set katago to play at your level https://docdro.id/sHZU1ti or experiment with gtp4zen ( https://rb.gy/kx2ilb )
xela
Lives in gote
Posts: 652
Joined: Sun Feb 09, 2014 4:46 am
Rank: Australian 3 dan
GD Posts: 200
Location: Adelaide, South Australia
Has thanked: 219 times
Been thanked: 281 times

Re: Zen has a GTP version

Post by xela »

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
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: Zen has a GTP version

Post by And »

I can't find BetterZen. does anyone have one?
Post Reply