New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better debug capability #106
Comments
Procedure to debug games: Get a pgn file. If training game from server: Copy pgn moves, paste into test.pgn. Add header and footer, not sure how much you need but this worked for me:
Load pgn into GUI (I used scid), go to position of interest, get the FEN code (Edit->Copy Position in scid). Run You can also put the UCI commands into a file and do |
Here you can copy-paste pgn without any headers, and get fen at the bottom of any position in it. |
I just realized debugging using FEN only is broken, because it doesn't include the 8 moves of history. The network will be very confused by the 7 blank planes and then a position that is not the game start. You need to send the FEN from 8 moves before, and add in the 8 moves. Or send in the entire game history. |
Ok new procedure for debug. Maybe this weekend I can add some stuff to make this smoother, I think adding a For now I did this:
Generate logfiles for different gen nets:
|
I was editing local text files when I figured why not use the wiki instead, so I dumped some stuff here: |
I figured I would start an issue for this. We need to find a GUI that supports loading pgn, going to different positions, and shows the full engine output, not just PV etc. And/or enhancing the raw LZChess text output to also show a board would help for when you use command line only.
If anyone knows of a GUI let us know. Adding a text board display to LZChess would be a nice easy project for someone looking to start contributing. We need more programmers! :)
The text was updated successfully, but these errors were encountered: