exemplar DPM training and testing