├── .idea ├── .gitignore ├── AlphaZero_Gomoku_PyTorch.iml ├── inspectionProfiles │ ├── Project_Default.xml │ └── profiles_settings.xml ├── misc.xml ├── modules.xml └── vcs.xml ├── README.md ├── UI ├── chessboard.jpg ├── piece_black.png └── piece_white.png ├── __pycache__ ├── game.cpython-37.pyc ├── mcts_alphaGoZero.cpython-37.pyc └── policy_value_net_torch.cpython-37.pyc ├── dist ├── best_policy.model ├── current_policy.model └── current_policy_step.model ├── game.py ├── human_play.py ├── mcts_alphaGoZero.py ├── mcts_pure.py ├── policy_value_net_torch.py ├── test.py └── train.py /.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gingkg/AlphaZero_Gomoku_PyTorch/HEAD/.idea/.gitignore -------------------------------------------------------------------------------- /.idea/AlphaZero_Gomoku_PyTorch.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gingkg/AlphaZero_Gomoku_PyTorch/HEAD/.idea/AlphaZero_Gomoku_PyTorch.iml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gingkg/AlphaZero_Gomoku_PyTorch/HEAD/.idea/inspectionProfiles/Project_Default.xml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gingkg/AlphaZero_Gomoku_PyTorch/HEAD/.idea/inspectionProfiles/profiles_settings.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gingkg/AlphaZero_Gomoku_PyTorch/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gingkg/AlphaZero_Gomoku_PyTorch/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gingkg/AlphaZero_Gomoku_PyTorch/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 使用Pytorch造一个会下五子棋的AI模型——从小白到高手的训练之旅 -------------------------------------------------------------------------------- /UI/chessboard.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gingkg/AlphaZero_Gomoku_PyTorch/HEAD/UI/chessboard.jpg -------------------------------------------------------------------------------- /UI/piece_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gingkg/AlphaZero_Gomoku_PyTorch/HEAD/UI/piece_black.png -------------------------------------------------------------------------------- /UI/piece_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gingkg/AlphaZero_Gomoku_PyTorch/HEAD/UI/piece_white.png -------------------------------------------------------------------------------- /__pycache__/game.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gingkg/AlphaZero_Gomoku_PyTorch/HEAD/__pycache__/game.cpython-37.pyc -------------------------------------------------------------------------------- /__pycache__/mcts_alphaGoZero.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gingkg/AlphaZero_Gomoku_PyTorch/HEAD/__pycache__/mcts_alphaGoZero.cpython-37.pyc -------------------------------------------------------------------------------- /__pycache__/policy_value_net_torch.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gingkg/AlphaZero_Gomoku_PyTorch/HEAD/__pycache__/policy_value_net_torch.cpython-37.pyc -------------------------------------------------------------------------------- /dist/best_policy.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gingkg/AlphaZero_Gomoku_PyTorch/HEAD/dist/best_policy.model -------------------------------------------------------------------------------- /dist/current_policy.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gingkg/AlphaZero_Gomoku_PyTorch/HEAD/dist/current_policy.model -------------------------------------------------------------------------------- /dist/current_policy_step.model: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gingkg/AlphaZero_Gomoku_PyTorch/HEAD/dist/current_policy_step.model -------------------------------------------------------------------------------- /game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gingkg/AlphaZero_Gomoku_PyTorch/HEAD/game.py -------------------------------------------------------------------------------- /human_play.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gingkg/AlphaZero_Gomoku_PyTorch/HEAD/human_play.py -------------------------------------------------------------------------------- /mcts_alphaGoZero.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gingkg/AlphaZero_Gomoku_PyTorch/HEAD/mcts_alphaGoZero.py -------------------------------------------------------------------------------- /mcts_pure.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gingkg/AlphaZero_Gomoku_PyTorch/HEAD/mcts_pure.py -------------------------------------------------------------------------------- /policy_value_net_torch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gingkg/AlphaZero_Gomoku_PyTorch/HEAD/policy_value_net_torch.py -------------------------------------------------------------------------------- /test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gingkg/AlphaZero_Gomoku_PyTorch/HEAD/test.py -------------------------------------------------------------------------------- /train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gingkg/AlphaZero_Gomoku_PyTorch/HEAD/train.py --------------------------------------------------------------------------------