The basics of autonomous vehicles
EXECUTING THE DRIVE.PY CODE
- Create a new folder and add the drive.py file
- Add the model (.h5 file) created in Behavourial Cloning code
- Do any minor changes according to the file names you created and execute the code.
- Turn the UDACITY simulator on.
- Switch to autonomous mode, you car will start self-driving immediately.
In order to use the drive.py program that will connect to the simulator please create a new conda environment and install the following packages:
CREATE A CONDA ENVIRONMENT:
- conda create --name <any_name> python=3.6
PACKAGES TO BE INSTALLED:
- conda install -c conda-forge flask
- conda install -c conda forge python-socketio
- conda install -c conda-forge eventlet
- conda install -c conda-forge tensorflow
- conda install -c conda-forge keras
- conda install -c conda-forge opencv
- conda install -c anaconda pillow