The invention relates to a
pedestrian re-identification network training method based on
branch learning and layered pseudo labels, wherein a
pedestrian re-identification network is a mutual average teaching network. The training method comprises the following steps: obtaining a
label data set and a
label-free
data set, taking the
label data set as one layer, dividing the label-free data set into N
layers, and assigning the pseudo label to the label-free data of each layer to form N
layers of pseudo label data, wherein N is a constant; constructing a
branch learning framework comprising N+1 mutual mean-teaching network branches sharing weights, wherein one
branch is used for inputting label data for training, and the N
layers of pseudo label data are correspondingly input into the other N branches for training; and constructing a
loss function of each branch, determining a total
loss function of the branch learning framework, performing multiple rounds of training based on the total
loss function, and re-layering the label-free data set in each round of training process. Compared with the prior art, the network trained by the invention is more accurate, and the convergence speed of the network during training is high.