LeelaChessZero / lczero-client

The executable that communicates with the server to run selfplay games locally and upload results
71 stars 40 forks source link

Add a parameter for lc0 binary #74

Open MCMic opened 5 years ago

MCMic commented 5 years ago

Currently lczero-client expects lc0 binary to be in the current folder. It would be better if we could specify which binary to use or in which folder to search.

This would help packaging this tool as well, see https://aur.archlinux.org/packages/lc0-client-git for instance

MCMic commented 5 years ago

A parameter for networks folder would also be a big help. (Seems to be defined in https://github.com/LeelaChessZero/lczero-client/blob/release/lc0_main.go#L611)

madformuse commented 5 years ago

Yeah I needed this too (well, different name same folder). Might do the job properly and create a pull request.

madformuse commented 5 years ago

@MCMic if you're still around could you give me any more details about how you'd like the parameters to work. I'm assuming lc0-path and data-dir (for networks and training data)?

MCMic commented 5 years ago

Sadly I stopped trying to train lc0 as my computer was quite bad at it, so no I do not remember. All I can say is at that point I was trying to use the AUR package linked above.

mooskagh commented 5 years ago

Good idea, see also #92. We need a volunteer for PRs. :)