OpenMotionLab / MotionGPT

[NeurIPS 2023] MotionGPT: Human Motion as a Foreign Language, a unified motion-language generation model using LLMs
https://motion-gpt.github.io
MIT License
1.46k stars 91 forks source link

Why add to the head and tail of the motion string? #60

Open SatireY opened 10 months ago

SatireY commented 10 months ago

motion_string.append( (f'<motionid{self.m_codebook_size}>' + ''.join([f'<motionid{int(i)}>' for i in motion_list]) + f'<motionid{self.m_codebook_size + 1}>')) Why add it? <motionid{self.m_codebook_size}>; <motionid{self.m_codebook_size + 1}>