MCPcopy Create free account
hub / github.com/MotrixLab/FineMoGen / encode_motion

Method encode_motion

mogen/models/rnns/t2m_bigru.py:277–282  ·  view source on GitHub ↗
(self,
                      motion,
                      motion_length=None,
                      motion_mask=None,
                      **kwargs)

Source from the content-addressed store, hash-verified

275 self.load_pretrained(init_cfg['checkpoint'])
276
277 def encode_motion(self,
278 motion,
279 motion_length=None,
280 motion_mask=None,
281 **kwargs):
282 return self.motion_encoder(motion, motion_length, motion_mask)
283
284 def encode_text(self, text, token=None, device=None, **kwargs):
285 return self.text_encoder(text=text, token=token, device=device)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected