Communication with leela zero
Posted: Tue Jul 30, 2019 2:53 pm
Hi everyone,
Not sure if this is the right place, it will be a bit technical...
I'm working on a small analysis project with leela zero. Unfortunately I'm stuck.
In my application (java) I create a thread for leela zero and have it analyze a game by sending it GTP commands and parsing the answers.
So far so good, everything works as intended but then after a few moves, leela zero just stops answering my GTP commands. The process is still running but seems unresponsive. No errors/exceptions either. I don't really know how to proceed. Leela will be sending analysis data (after "lz-analyze" command) and when I send the next move the answers just stop coming even though everything was working fine before. This happens usually at move 4 of the game I want to analyze but can happen a bit before, too.
Has anyone observed the described behavior before?
I could really use a hint here.
Thx lovely people!
Not sure if this is the right place, it will be a bit technical...
I'm working on a small analysis project with leela zero. Unfortunately I'm stuck.
In my application (java) I create a thread for leela zero and have it analyze a game by sending it GTP commands and parsing the answers.
So far so good, everything works as intended but then after a few moves, leela zero just stops answering my GTP commands. The process is still running but seems unresponsive. No errors/exceptions either. I don't really know how to proceed. Leela will be sending analysis data (after "lz-analyze" command) and when I send the next move the answers just stop coming even though everything was working fine before. This happens usually at move 4 of the game I want to analyze but can happen a bit before, too.
Has anyone observed the described behavior before?
I could really use a hint here.
Thx lovely people!