Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.
/ banana-collector Public archive

Deep Q-network for Unity ML-Agents Banana Collector environment.

License

Notifications You must be signed in to change notification settings

ostamand/banana-collector

Repository files navigation

Unity Banana Collector

DQN agent This repository includes the code needed to train agents to solve Udacity navigation project based on Unity's Banana Collector environment.

The environment has two disctinct scenes. Refer to each specific page for setup, training and results.

Installation

Clone the repository and initialize the submodules.

git clone https://github.com/ostamand/banana-collector.git
cd banana-collector 
git submodule init 
git submodule update

Create a virtual environment and activate it.

python -m venv banana_0.4.0b
source banana_0.4.0b/bin/activate

Install Unity ml-agents.

git clone https://github.com/Unity-Technologies/ml-agents.git
git -C ml-agents checkout 0.4.0b
pip install ml-agents/python/.

Install the project requirements.

pip install -r requirements.txt

Optional

Install a new kernel.

ipython kernel install --user --name=banana_0.4.0b

If necessary, to delete the kernel use

jupyter kernelspec uninstall banana_0.4.0b

About

Deep Q-network for Unity ML-Agents Banana Collector environment.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published