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

Method encode_text

mogen/models/rnns/t2m_bigru.py:284–285  ·  view source on GitHub ↗
(self, text, token=None, device=None, **kwargs)

Source from the content-addressed store, hash-verified

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)
286
287 def load_pretrained(self, ckpt_path):
288 self.motion_encoder.load_pretrained(ckpt_path)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected