Replies: 5 comments
-
|
There are ways people have done this -- best to join the Lc0 Discord server and ask there. The GitHub issues are only for actual issues with the Lc0 engine binary. |
Beta Was this translation helpful? Give feedback.
-
|
thanks - on my way :) |
Beta Was this translation helpful? Give feedback.
-
|
Ok I will actually leave my comment here in case anyone is looking for solution in the future: most likely steps in the right direction:
I will try to update this issue |
Beta Was this translation helpful? Give feedback.
-
|
Hi! @int8! I'm very interested in this topic; I wanted to know if you managed to encode a specific chess position using the Leela Chess Zero neural network. |
Beta Was this translation helpful? Give feedback.
-
|
One of the ways to encode the position is to use python bindings as described here: #1261. It's also not that hard to encode it manually. The mentioned function https://github.com/LeelaChessZero/lc0/blob/master/src/neural/encoder.cc#L134 has some bits of complicated logic, but they all were used for experimental input plane encodings. All modern networks use INPUT_CLASSICAL_112_PLANE encoding which is fairly simple (and I believed it's exactly the same as in the original AlphaZero paper). In any case, it will be faster to find solution in our Discord chat at http://lc0.org/chat. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have PGN/fen (or any format of chess position) and I want to pass it forward through value/policy network of lc0 to get activation vector(s) - any hint on how to achieve that ?
Beta Was this translation helpful? Give feedback.
All reactions