Skip to content
Fabian Fichter edited this page Mar 18, 2022 · 18 revisions

General

Which variants are supported?

In principle almost all variants supported by Fairy-Stockfish can also be trained using this repository, including user-defined variants. However, currently there are a few additional limitations

  • At most 15 piece types per variant
  • At most 40-60 pieces on the board (depending on the board size and the number of pockets, if any)
  • At most 2 times the number of files pieces in hand per piece type (e.g., 2x8 = 16 in crazyhouse, or 2x9 = 18 in shogi)

These limitations are mainly for pragmatic reasons in order to avoid an unnecessarily big training data format.

Common errors

In the training data generation the number of FENs per second suddenly starts to drop or gets stuck entirely.

Unless the drop of speed is only temporary due to some other concurrent processes, the problem might be due to the generator running out of new positions, since it filters previously encountered positions using the transposition table. This can especially happen when a variant is very small (e.g., losalamos) or forced (e.g., antichess) and/or the random_multi_pv_diff very low. If this happens, try to restart generation with a higher random_multi_pv_diff and see check if this solves the problem.

Clone this wiki locally