Allocation of the resource blocks to the ground user for distributed UAV based cellular system with only the transfer of reward values. Additional improvement over the other setup by the use of Deep Q Learning approach.
Install annconda on your machine. For further information follow this link https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html
2) Open anaconda prompt and create a new conda environment with python 3.10. After that activate the environment
conda activate uavenv
Install gym, tensorflow-gpu with it's required dependencies
conda install gym
conda install pip
pip install tensorflow-gpu
conda install matplotlib
conda install -c anaconda cudatoolkit
If you already have Visual Studio Code. You can enter the following command in the same conda enviroment to open up the IDE.
code
You can also open up your own IDE and change the interpreter setting to the python.exe file with the .conda/env/uavenv folder before running the code
Inside visual studio code click on "New File" and in file and inside explorer tab click on "Clone Repository". Enter the URL of this git repo to run this code. https://github.com/saugat76/UAV_SubBand_Allocation_DQN.
Adjust the memory limit and the configuration of GPU according to you system capability.