Skip to content

sh02092/unity-ml-agents-self-driving-car

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity-ml-agents-self-driving-car

Construction of 3D digital twin environment for vehicle using Unity ML-Agents and implementation of self-driving technology using deep reinforcement learning(DQN)

Version

  • Unity: 2021.3
  • ML-Agents: 2.2.1 (release 19)
  • Python: 3.7
  • ML-Agents Python package: 0.28.0
  • Torch: 1.7.1+cu110

Installation and How to playing(In Window)

  1. Anaconda3: Download and installation instructions here: https://www.anaconda.com/products/individual

  2. Nvidia driver: Download by setting it to your GPU specifications. https://www.nvidia.com/Download/index.aspx?lang=kr

  3. cuDNN, CUDA, Python version: Check the version here: https://www.tensorflow.org/install/source_windows

  4. Create a Virtual Environment in Anaconda3:

    conda create -n your_virtual_env_name

    conda activate your_virtual_env_name

    pip install tensorflow-gpu

    python -m pip install -q mlagents==0.28.0

    pip3 install torch~=1.7.1 -f https://download.pytorch.org/whl/torch_stable.html

  5. Open Visual Studio Code(Set up virtual environment)

    Ctrl + Shift + P (Python select interpreter)

  6. Open python scripts(Car_gym.py, DQN_220523.py)

  7. Run DQN_220523.py script

Preview

Reference

About

final project in university

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages