Skip to content
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

Supervised training through command-line training script #213

Merged
merged 8 commits into from
Dec 11, 2023

Conversation

QueensGambit
Copy link
Owner

@QueensGambit QueensGambit commented Dec 11, 2023

This PR replaces the train_cnn.ipynb with a command line python script train_cli.py.
The main configuration for the training is defined by main_config.py, train_config.py and model_config.py.
The reinforcement learning files have been adjusted accordingly.
For simplicity and convenience, gluon and mxnet support has been dropped.

Rename validate_train_results.py into validate_train_results_util.py
Update validate_train_results_util.py
Add validate_train_results.ipynb
Add fill_train_config()
Update documentation
Add model_type and use_custom_architecture to train_config.py
@QueensGambit QueensGambit merged commit d7efb72 into master Dec 11, 2023
2 of 3 checks passed
TimM4ster pushed a commit to TimM4ster/CrazyAra that referenced this pull request Dec 13, 2023
…t#213)

* Add initial version of train_cli.py and its dependencies

* Add alpha_vile model to train_cli_util.py

* Update train_cli and related files
Rename validate_train_results.py into validate_train_results_util.py
Update validate_train_results_util.py
Add validate_train_results.ipynb

* Fix model_config.py initialization
Add fill_train_config()

* Add export of configs

* Update documentation

* Update rl_loop.py and rl_training.py according to new train_cli.py
Update documentation
Add model_type and use_custom_architecture to train_config.py

* Put test "Chess960 Input Planes V3" into MODE_CHESS block
TimM4ster added a commit to TimM4ster/CrazyAra that referenced this pull request Dec 13, 2023
Supervised training through command-line training script (QueensGambit#213)
TimM4ster pushed a commit to TimM4ster/CrazyAra that referenced this pull request Dec 14, 2023
…t#213)

* Add initial version of train_cli.py and its dependencies

* Add alpha_vile model to train_cli_util.py

* Update train_cli and related files
Rename validate_train_results.py into validate_train_results_util.py
Update validate_train_results_util.py
Add validate_train_results.ipynb

* Fix model_config.py initialization
Add fill_train_config()

* Add export of configs

* Update documentation

* Update rl_loop.py and rl_training.py according to new train_cli.py
Update documentation
Add model_type and use_custom_architecture to train_config.py

* Put test "Chess960 Input Planes V3" into MODE_CHESS block
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant