You are on page 1of 1

HOW TO USE THE SIMULATOR

TRAINING MODE (For Training):


1. Start up the Self-driving simulator, choose a scene and press the Training Mode button.

2. Then press R key or click on the record button and select the data folder, where our
training images and CSV will be stored.

3. Press R/record button again to start and stop recording. Let the processing of video
complete.

AUTONOMOUS MODE (For Testing):


drive.py
Link: https://drive.google.com/file/d/1epKhELLXxJsF11H-Ix-JDrgExk5I-BR4/view
Download drive.py from the above link.

1. Usage of drive.py requires you have saved the trained model as an h5 file,
say model.h5.
2. Once the model has been saved, it can be used with drive.py using this command:
python drive.py model.h5

The above command will load the trained model and use the model to make predictions on
individual images in real-time and send the predicted angle back to the server via a web
socket connection.

Make sure to open the simulator in Autonomous mode when you run drive.py.

You might also like