Deep Neural Networks with Inexact Matching for Person Re-Identification