Let's train an AI agent to play games from OpenAI Gym
- Install python 3.9
python3 -m virtualenv env
source env/bin/activate
pip install -r requirements.txt
-
activate env
source env/bin/activate
-
execute
python -m rl.main --display yes --episodes 1000 --game cartpole --agent simple --config rl/cfgs/simple.json --model small
python -m rl.plot_model --game cartpole --agent simple --config rl/cfgs/simple.json --model small --to_file model.png