MCPcopy Index your code
hub / github.com/MotrixLab/MotionDiffuse / build_models

Function build_models

text2motion/tools/visualization.py:28–36  ·  view source on GitHub ↗
(opt)

Source from the content-addressed store, hash-verified

26
27
28def build_models(opt):
29 encoder = MotionTransformer(
30 input_feats=opt.dim_pose,
31 num_frames=opt.max_motion_length,
32 num_layers=opt.num_layers,
33 latent_dim=opt.latent_dim,
34 no_clip=opt.no_clip,
35 no_eff=opt.no_eff)
36 return encoder
37
38
39if __name__ == '__main__':

Callers 1

visualization.pyFile · 0.70

Calls 1

MotionTransformerClass · 0.90

Tested by

no test coverage detected