Justin

Opening Book Processing

Jul 18th, 2017
337
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. Directions:
  2.  
  3. 1. Launch Cerebellum2polyglot_Windows.exe.
  4.  
  5. 2. Type in:
  6.  
  7. brain2polyglot depth 200 in "Cerebellum_Light.bin" out "polybook.bin"
  8.  
  9.  
  10. 3. From the console (cmd):
  11.  
  12. polyglot dump-book -bin polybook.bin -color white -out white-moves.txt
  13.  
  14. polyglot dump-book -bin polybook.bin -color black -out black-moves.txt
  15.  
  16. python convertCerebellum.py
  17.  
  18.  
  19. 4. Now there are games-all.pgn games-white.pgn and games-black.pgn. In the games-all.pgn there are both lines (white and black) as draws, games-white contains white lines marked as wins, games-black - lines for the black with 0-1 result. Use them to train the book created on the draw data.
  20.  
  21.  
  22. ---
  23.  
  24. FAQ
  25.  
  26. > For step 3. (From the console (cmd): polyglot dump-book -bin polybook.bin -color white out white-moves.txt) -- do I need to install python for this? because I type it in command prompt after step 2 and it says "unknown command"
  27.  
  28. >> You need polyglot.exe
  29.  
  30. C:\Users\Justin\Downloads\convert-cerebellum
  31.  
  32.  
  33. ---
  34.  
  35.  
  36. pgn-extract --splitvariants GameToSplit.pgn --output split.pgn
  37.  
  38.  
  39. ---
  40.  
  41. pgn-extract Appendix.pgn -C -7 -o Appendix1.pgn
  42.  
  43. polyglot make-book -pgn Appendix1.pgn -bin appendix.bin
  44.  
  45. polyglot merge-book -in1 polybook_final.bin -in2 appendix.bin -out polybook_3.bin
Advertisement
Comments
  • User was banned
Add Comment
Please, Sign In to add comment