Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
Bo Zhou d33f30025c | 4 years ago | |
---|---|---|
.. | ||
.benchmark | 5 years ago | |
README.md | 4 years ago | |
atari_agent.py | 4 years ago | |
atari_model.py | 5 years ago | |
ga3c_config.py | 5 years ago | |
learner.py | 4 years ago | |
run_simulators.sh | 5 years ago | |
simulator.py | 5 years ago | |
train.py | 5 years ago |
Based on PARL, the GA3C algorithm of deep reinforcement learning has been reproduced, reaching the same level of indicators as the paper in Atari benchmarks.
Original paper: GA3C: GPU-based A3C for Deep Reinforcement Learning
A hybrid CPU/GPU version of the Asynchronous Advantage Actor-Critic (A3C) algorithm.
Please see here to know more about Atari games.
Results with one learner (in a P40 GPU) and 24 simulators (in 12 CPU) in 10 million sample steps.
python train.py
for i in $(seq 1 24); do
python simulator.py &
done;
wait
You can change training settings (e.g. env_name
, server_ip
) in ga3c_config.py
.
Training result will be saved in log_dir/train/result.csv
.
[Tips] The performance can be influenced dramatically in a slower computational environment, especially when training with low-speed CPUs. It may be caused by the policy-lag problem.
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》