Deep and transfer learning approaches for pedestrian identification and classification in autonomous vehicles