Classifying dogs and cats using transfer learning