Behavioral cloning is a means of identifying and reproducing human sub-cognitive abilities within a computer program. For example, a person performs tasks such as driving a vehicle, recording their actions along with the situation, and subsequently feeding the log of these records into the input of the learning algorithm. Then, the learning algorithm generates a series of rules replicating the behaviors of humans, which is called behavioral cloning. This approach can be used to construct automatic control systems for complex tasks where traditional control theory is inadequate.Â
In this chapter, we are going to implement behavioral cloning. Here, we need to train a neural network to predict the steering angles of a vehicle based on input images from different cameras. In this chapter we are going to drive a car autonomously...