The invention discloses a
pedestrian re-identification method based on knowledge
distillation, and the method comprises the steps: inputting a
pedestrian image
training set into a teacher network, andinputting the same
data set into a student network; through the synergistic effect of student network transfer, characteristic
distillation positions and distance loss functions, carrying out
distillation at
multiple stages of the whole
backbone network at the same time, so that the characteristic output of the student network is continuously close to the characteristics output by the teacher network; minimizing and updating parameters of the student model through a distillation
loss function, and training a student network; carrying out
distance measurement on the obtained feature vectors, searching out a
pedestrian target graph with the highest similarity, and finally enabling the accuracy of the student network resnet18 to be greatly improved to be close to the accuracy of the teachernetwork resnet50. According to the method, personnel re-identification is realized by using a knowledge distillation transfer learning method, and the thought of replacing a
large model with a small model is adopted, and therefore, calculation complexity can be effectively reduced, and the accuracy of a student model can be ensured.