The invention discloses an unsupervised domain adaptive semantic segmentation method,
system and device based on inter-domain consistency and a medium. The method comprises the following steps: translating source domain image data to a target domain style while keeping the content by using a GAN-based multi-scale
generative adversarial network; inputting the source domain image data into an inter-domain consistency training network based on a Transform model for adaptive training, wherein the source domain image data subjected to data enhancement is sent to a student network for source domain semantic segmentation training, and an EMA strategy is used for updating a teacher network weight; inputting the target domain
label-free image data into a teacher network to generate a pseudo
label so as to further guide students to
train the network; randomly combining the source domain image data and the target domain image data by using a
hybrid strategy to guide students to learn domain invariant knowledge in a network; and finally, adjusting and optimizing the student network according to the consistency of the attention feature map, outputting an unsupervised field adaptive semantic segmentation model, and completing segmentation of target domain image data under the condition of not using a target domain
label. According to the method, a model with excellent performance can be trained by using fewer
real image data sets in the unmanned driving field, so that the
training time and cost are greatly reduced, and the working efficiency is improved.