How to do it...

  1. Download the following dataset. This dataset is available from the following link: https://github.com/SullyChen/driving-datasets: (the code file is available as Car_steering_angle_detection.ipynb in GitHub):
$ pip install PyDrive from pydrive.auth import GoogleAuthfrom pydrive.drive import GoogleDrivefrom google.colab import authfrom oauth2client.client import GoogleCredentialsauth.authenticate_user()gauth = GoogleAuth()gauth.credentials = GoogleCredentials.get_application_default()drive = GoogleDrive(gauth)file_id = '0B-KJCaaF7elleG1RbzVPZWV4Tlk' # URL id. downloaded = drive.CreateFile({'id': file_id})downloaded.GetContentFile('steering_angle.zip')$ unzip steering_angle.zip
  1. Import the relevant packages, as follows:

Get Neural Networks with Keras Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.