The invention discloses a cross-domain
pedestrian re-identification method and
system based on three stages, and the method comprises the steps:
a domain adaptive learning stage: carrying out the
processing of a source domain image and a target domain image through
a domain adaptive network, calculating each loss, and updating the parameters of the domain adaptive network; a self-
supervised training stage: carrying out the
supervised training on the domain self-adaptive network through pseudo tags, calculating the loss of the triad difficult to sample, and updating network parameters; a jointloss training stage: constructing a joint loss training network, and defining
label smooth regularization loss and difficult-to-sample triple loss; for a target domain image, inputting a joint loss training network, calculating the losses and updating the parameters of the joint loss training network, and carrying out the re-identification of cross-domain pedestrians. According to the cross-domainpedestrian re-identification method, the domain self-
adaptation stage, the self-supervision clustering re-training stage and the joint loss learning stage are effectively integrated, and compared with a single training mode, the cross-domain
pedestrian re-identification accuracy is further improved. The cross-domain
pedestrian re-identification method has the advantages that the cross-domain self-
adaptation stage, the self-supervision clustering re-training stage and the joint loss learning stage are effectively integrated.