-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BoardAra (tictactoe, connect four, othello, clobber, breakthrough) (#187
) * first version of tic-tac-toe * tictactoe running in compiled binary, rl_loop not working * prepare for CrazyAra update merge * rmed unnecessary files * buildable but not executable * variant cfour default, "go" doesnt work * add generate_uci_labels_cfour() * implemented action_to_index() for cfour * define board_to_planes() for cfour * set variant cfour for MODE_BOARDGAMES * change number rows for cfour to 6 * Update action_to_san() * set MaxInitPly and MeanInitPly to 0 * update rl_config.py * Fix TensorrtAPI compilation * Disable mirroring for BOARD_GAMES * Update board_to_planes() * added main_config_template to build Docker * added train_config_template to build Docker * Update FairyState::set() * Update FairyState::init() * Update breakthrough start_fen * Add clobber variant * Add initial generate_uci_labels_breakthrough() -> not working yet * Correct generate_uci_labels_breakthrough() Update NB_SQUARES_HORIZONTAL() NB_SQUARES_VERTICAL() Update NB_LABELS() * Add moves for clobber * Add flipello moves * Change ordering of variants Add variants specification to input planes * Use current variant for Model_Directory * Fix iteration over board in board_to_planes() * Add terminal condition for DRAW * updated according to last commit, to solve merging issues * Changes in configs Dockerfile optionsuci(to find folder sorted after variant number instead of folder in alphabetic orders) to easy the docker run process * added train_config.py and changed Dockerfile, so the file is not overwritten * Update requirements.txt * Update fairystate.cpp * removed train_config from gitignore, small comment changes * Update Dockerfile fix syntax * Update crazyara.cpp commented starting commands for rl * Update fairystate.cpp cleanup info string * Update binaryio.py The UCI_Option_Name in the Binary is called Model_Directory_Contender * fixed problem, where a draw is also counted as loss * Add "|| defined(MODE_BOARDGAMES)" to allow change of MODEL_DIRECTORY when changing UCI_VARIANT * Fix condition in go_arena() * fixed Dockerfile to not rename train_config_template.py to train_config.py * changed config files * Update rl_config.py fixed selplaychunksize and numberOfChunks * raised min lr to get consistent lr, added varientnumber to give clobber the right stalemate terminal value, modified rl_loop to not move training data when contender losses * fixed rl_loop to recognise contender win correctly * number chunks set to 1. previously 32 * Update train_config.py * Update rl_config.py * Update trainer_agent_gluon.py self.cur_it initialized, fixed bug where self.cur_it not assigned * Update train_config.py * import torch statement only when used * additional fix to last commit * Update rl_config.py * Delete train_config.py Duplicate to train_config_template.py * Update CMakeLists.txt * Update fairystate.cpp remove unneeded comments * Update fairystate.h re-add MODE_XIANGQI * Revert openspielstate.h * added variants.ini in engine/src/uci/ * Revert Dockerfile * Update crazyara.cpp * Update optionsuci.cpp remove unused variable * Update variants.h * Update constants.h re-added MODE_XIANGQI * Revert .gitmodules * Update crazyara.cpp add #include <fstream> * Update variants.h * Re-add main_config_template.py Update openspielstate.cpp, fairyinputrepresentation.cpp, tensorrtapi.cpp, tensorrtapi.h, fileio.py, optionsuci.cpp, variants.h, variants.ini, .gitmodules, generate_random_nn.py * Delete variants.ini and minor updates * Add unit tests for BoardAra and minor changes * Update tests.cpp Co-authored-by: QueensGambit <curry-berry@freenet.de> Co-authored-by: Johannes Czech <QueensGambit@users.noreply.github.com>
- Loading branch information
1 parent
5a9a59c
commit a0f1c74
Showing
21 changed files
with
332 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.