kaorahi / lizgoban

Leela Zero & KataGo visualizer
GNU General Public License v3.0
170 stars 29 forks source link

error if no leelaz in external #13

Closed ivysrono closed 5 years ago

ivysrono commented 5 years ago

图片 图片

config.json:

{
  "shortcut": [
    {
      "label": "LZ",
      "accelerator": "Ctrl + 1",
      "leelaz_command": "D:\\AI\\leela-zero\\leelaz.exe",
      "leelaz_args": ["-g", "-w", "D:\\AI\\Weights\\10B_ManKitPong"]
    },
    {
      "label": "minigo",
      "accelerator": "Ctrl + 2",
      "leelaz_command": "D:\\AI\\leela-zero\\leelaz.exe",
      "leelaz_args": ["-g", "-w", "D:\\AI\\Weights\\15B_LeelaMaster_GX89"]
    }
  ]
}

npx electron src -c config.json, then show errors and load by network.gz

load 10B_ManKitPong while there is leela.exe in external.

kaorahi commented 5 years ago

I'll fix this. But please note that "shortcut" is quite experimental and undocumented. It may be changed in (near) future.