3.参数
leelaz.exe -g -t 4 -w leelaz-model-128000.txt -p 90000 –noponder -b 500
leelaz.exe -g -t 4 -w leelaz-model-128000.txt
含义:
–heatmap 代表显示下一步棋可能选点的热图。如果你不希望显示热图,可以去掉该参数。
–playouts 大致可以理解成演算的深度,数字越低则AI的水平也较低,需要配合noponder参数一起使用。
–noponder  代表不占用对手的时间进行思考。

Leela Zero的配置方法与Leela相似(其中的参数“-t 6”表示使用CPU的6线程;“-w 2b80a9db.txt”表示调用名字为“2b80a9db.txt”的权重文件;“–noponder”表示对手时间内不思考):

Generic options: -h [ --help ] Show commandline options. -g [ --gtp ] Enable GTP mode. -t [ --threads ] arg (=0) Number of threads to use. Select 0 to let leela-zero pick a reasonable default. -p [ --playouts ] arg Weaken engine by limiting the number of playouts. Requires --noponder. -v [ --visits ] arg Weaken engine by limiting the number of visits. -b [ --lagbuffer ] arg (=100) Safety margin for time usage in centiseconds. -r [ --resignpct ] arg (=-1) Resign when winrate is less than x%. -1 uses 10% but scales for handicap. -w [ --weights ] arg (=D:\Leela Zero\iGORobot\iGORobot\iGORobot\best-network) File with network weights. -l [ --logfile ] arg File to log input/output to. -q [ --quiet ] Disable all diagnostic output. --timemanage arg (=auto) [auto|on|off|fast|no_pruning] Enable time management features. auto = no_pruning when using -n, otherwise on. on = Cut off search when the best move can't change, but use full time if moving faster doesn't save time. fast = Same as on but always plays faster. no_pruning = For self play training --noponder Disable thinking on opponent's time. --benchmark Test network and exit. Default args: -v3200 --noponder -m0 -t1 -s1. --cpu-only Use CPU-only implementation and do not use OpenCL device(s). OpenCL device options: --gpu arg ID of the OpenCL device(s) to use (disables autodetection). --full-tuner Try harder to find an optimal OpenCL tuning. --tune-only Tune OpenCL only and then exit. --batchsize arg (=0) Max batch size. Select 0 to let leela-zero pick a reasonable default. --precision arg Floating-point precision (single/half/auto). Default is to auto which automatically determines which one to use. Self-play options: -n [ --noise ] Enable policy network randomization. -s [ --seed ] arg Random number generation seed. -d [ --dumbpass ] Don't use heuristics for smarter passing. -m [ --randomcnt ] arg (=0) Play more randomly the first x moves. --randomvisits arg (=1) Don't play random moves if they have <= x visits. --randomtemp arg (=1) Temperature to use for random move selection.

推荐阅读

近期评论

分类目录