Implementing Q-Learning agents using Deep Neural Networks for the OpenAI Gym environments. The current example is based on the LunarLander-v2 environment. The evolution of reinforcement learning and the effect of DQN improvement techniques on the performance of the agent can be observed from this example.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes:
- Clone the project with link: https://github.com/Srikanth-Kb/Q-Learning-Agents.git
OpenAi - Gym
PyTorch - Deep learning framework
Numpy library
Jupyter notebook / VS Code Python Extension
There are three major components in any RL Framework:
- Model: Represents the Neural Network Architecture, in this case, Q-Network and Dueling-Q-Network
- Agent: Represents the RL agent, that learns, acts, saves experiences by interacting with the environment.
- Environment: Represents the space where the agent interacts and performs actions to earn rewards.
Three major improvements for the DQN architecture are implemented in this repository:
- Double Q Network
- Dueling Q Network
- Dueling Double Q Network
Run the following file for training the RL from scratch for each of the architectures: Comparison_Of_DQNs.ipynb
- Automate training for Dueling network architecture