The invention discloses a
human motion generation method and
system based on
text alignment, and belongs to the technical field of
computer vision and
deep learning. According to the method, a two-stage training mode is adopted, in the first stage, a quantized variational auto-
encoder model for reconstructing
human motion is trained at first, then parameter freezing is carried out on a decoder network in the quantized variational auto-
encoder model and a pre-trained text-to-motion cross-
modal retrieval model, the decoder network and a bidirectional
mask Transform model form a training framework for training, and the quantized variational auto-
encoder model and the pre-trained text-to-motion cross-
modal retrieval model form a training framework for training; and after training is completed, reasoning tasks are performed. According to the method, by improving a text encoder, adding
semantic alignment loss and adopting a bidirectional
mask type Transform architecture, the overall
motion perception ability is enhanced,
semantic alignment of motion is generated, the generated
human motion sequence better conforms to
original data distribution, the generated human motion sequence and an input motion description text are more semantic-consistent, and the
motion perception ability of a
human body is improved. And the
motion generation quality is improved.