First of all, really appreciate your effort to keep updating this awesome program.
After updating the version of goreviewpartner to 15, I get the following error when I run
"Could not read LeelaZero-1/command from the config file
Using default value
Traceback (most recent call last):
File "leela_zero_analysis.py", line 405, in
main(LeelaZero)
File "/content/goreviewpartner/toolbox.py", line 2465, in main
existing_profiles=[p["profile"] for p in get_bot_profiles(bot["name"])]
File "/content/goreviewpartner/toolbox.py", line 2294, in get_bot_profiles
command=grp_config.get(section,"command")
File "/content/goreviewpartner/toolbox.py", line 1665, in get
value=self.default_values[section.lower()][key.lower()]
KeyError: u'leelazero-1'"
My config was
config="goreviewpartner/config.ini"
!sed -i -e '86,96d' $config
lzconfig="""
slowcommand = /content/leela-zero/src/leelaz
slowparameters = --gtp --noponder {playouts_opt} --weights /content/goreviewpartner/weights.gz
slowtimepermove = {time_per_move:s}
fastcommand =
fastparameters = --gtp --noponder --weights weights.txt
fasttimepermove = 5
analysisbot = slow
liveanalysisbot = both
liveplayerbot = fast
reviewbot = fast
""".format(
command="/content/leela-zero/src/leelaz",
playouts_opt=playouts_opt,
time_per_move=time_per_move)
Could you help what part should be added or removed?
Hi,
First of all, really appreciate your effort to keep updating this awesome program. After updating the version of goreviewpartner to 15, I get the following error when I run
"Could not read LeelaZero-1/command from the config file Using default value Traceback (most recent call last): File "leela_zero_analysis.py", line 405, in
main(LeelaZero)
File "/content/goreviewpartner/toolbox.py", line 2465, in main
existing_profiles=[p["profile"] for p in get_bot_profiles(bot["name"])]
File "/content/goreviewpartner/toolbox.py", line 2294, in get_bot_profiles
command=grp_config.get(section,"command")
File "/content/goreviewpartner/toolbox.py", line 1665, in get
value=self.default_values[section.lower()][key.lower()]
KeyError: u'leelazero-1'"
My config was config="goreviewpartner/config.ini" !sed -i -e '86,96d' $config lzconfig=""" slowcommand = /content/leela-zero/src/leelaz slowparameters = --gtp --noponder {playouts_opt} --weights /content/goreviewpartner/weights.gz slowtimepermove = {time_per_move:s} fastcommand = fastparameters = --gtp --noponder --weights weights.txt fasttimepermove = 5 analysisbot = slow liveanalysisbot = both liveplayerbot = fast reviewbot = fast """.format( command="/content/leela-zero/src/leelaz", playouts_opt=playouts_opt, time_per_move=time_per_move)
Could you help what part should be added or removed?