The invention discloses a method for training a
gait recognition model of
unbalanced data acquired in the real world, and relates to the technical field of
gait recognition
data analysis, and the method comprises the steps: obtaining experiment balance
gait data and real-time gait data of a corresponding time point; according to the method, gait category real-time analysis and labeling are carried out on a balance
data set and a real-
time data set, a
feature vector feature center point value under each gait type is calculated, and a
mean square error is used for optimizing an error of the center point value between experimental balance gait data and real-time gait data at a corresponding time point; setting a judging and comparing program of the real-time
feature vector and the balance
feature vector, calculating the probability of belonging to the same class by adopting
cosine similarity, taking the real-time feature vector after projection dimension reduction as input sample data of an initial gait recognition model, taking the balance feature vector of a balance
data set as a supervision
label, training the gait recognition model, and obtaining a real-time gait recognition model; therefore, accurate recognition of real-time gaits is realized.