Deep Cosine Metric Learning for Person Re-identification