Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
DimariaW 04439b5bb7 | 1 year ago | |
---|---|---|
.. | ||
.pic | 3 years ago | |
Arena.py | 3 years ago | |
Coach.py | 3 years ago | |
MCTS.py | 3 years ago | |
README.md | 3 years ago | |
actor.py | 3 years ago | |
alphazero_agent.py | 1 year ago | |
connect4_aiplayer.py | 3 years ago | |
connect4_game.py | 3 years ago | |
connect4_model.py | 3 years ago | |
main.py | 3 years ago | |
requirements.txt | 2 years ago | |
utils.py | 3 years ago |
Download the 1k connect4 validation set to the current directory. (filename: refmoves1k_kaggle
)
Start xparl cluster
# You can change following `cpu_num` and `args.actor_nums` in the main.py
# based on the CPU number of your machine.
xparl start --port 8010 --cpu_num 25
# [OPTIONAL] You can also run the following script in other machines to add more CPU resource
# to the xparl cluster, so you can increase the parallelism (args.actor_nums).
xparl connect --address MASTER_IP:8010 --cpu_num [CPU_NUM]
python main.py
visualdl --logdir .
good moves rate
and perfect moves rate
indicators in visualdl, please refer to the link for specific meaning.
It takes about 2 day to run 25 iterations on the machine with 5 cpus.
Pit the best model against human being.
python connect4_aiplayer.py
PARL 是一个高性能、灵活的强化学习框架
Python C++ JavaScript Shell Markdown other
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》