This project is a work in progress that aims to create a deep Q-network (DQN) agent system that can learn from its own experiences and adapt to different environments. The system uses a self-learning Q loop algorithm, which is a variant of Q-learning that updates the Q-values based on the agent’s actions and rewards. The system also uses LLm learning, which is a technique that leverages the latent space of the neural network to improve the generalization and robustness of the agent. The project is written in Python and uses PyTorch as the framework for the neural network.
This project aims to develop a deep Q-network (DQN) agent system that can learn from its own experiences and adapt to different environments. DQN is a reinforcement learning method that uses a neural network to approximate the optimal action-value function. The system will use a self-learning Q loop algorithm, which is a variant of Q-learning that updates the Q-values based on the agent’s actions and rewards. The system will also use LLm learning, which is a technique that leverages the latent space of the neural network to improve the generalization and robustness of the agent.
First you need to clone this repository. Using your preferred terminal console to navigate where you cloned this repository. Then run the following command in the terminal
> .\bin\windows_setup.bat
This will download and install a local miniconda python environment. It will then install the required dependendencies.
After you have installed the system with windows_setup.bat
next you need to run windows_run.bat
> .\bin\windows_run.bat
This will start the DQN Agent in your windows console terminal.
The project uses Visual Studio (or VS Code if preferred) and requires the project to be setup before loading into visual studio.
To setup for local development perform the following steps
.\bin\windows_setup.bat
DQNAgent.sln
tools -> python -> Python Environments
Python Environments
window click on Add Environment
Existing Environment
<Custom>
Prefix Path
browse to <repo_location>\DQNAgent\miniconda\envs\DQNAgent
Add
DQNAgent
from dropdown in visual studio toolbar