The invention provides a
humanoid robot trajectory enhancement method and
system oriented to a multi-stage continuous task, and belongs to the field of
robot intelligent control and
imitation learning modeling, and the method comprises the steps: inputting a splicing trajectory and a real-time
image sequence into a pre-trained improved conditional variation auto-
encoder model, obtaining a predicted trajectory of a
humanoid robot, and obtaining the predicted trajectory of the
humanoid robot; wherein the pre-trained improved conditional variation auto-
encoder model comprises the following steps: constructing an
encoder with an attention mechanism, dividing a
potential space of the conditional variation auto-encoder into a plurality of
layers, each layer of the hierarchical
potential space having a potential variable, the feature of each layer of the hierarchical
potential space is described by adopting the mean value and the variance of the image potential variables, the mean value and the variance of the image potential variables of each layer are optimized by adopting the
loss function, and for long-time, multi-stage and high-dynamic-change
imitation learning, the prediction precision is improved by the method, and the prediction efficiency is improved. The problems of unstable training and missing key detail expression are solved.