This demo shows how a reinforcement learning problem is solved by tensorflow agents
install it with command
pip3 install tensorflow tf-agents-nightly
train the policy by running
python3 train_dqn_cartpole.py
test the policy by running
python3 test_dqn_cartpole.py