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

Function build_models

text2motion/tools/train.py:18–26  ·  view source on GitHub ↗
(opt, dim_pose)

Source from the content-addressed store, hash-verified

16
17
18def build_models(opt, dim_pose):
19 encoder = MotionTransformer(
20 input_feats=dim_pose,
21 num_frames=opt.max_motion_length,
22 num_layers=opt.num_layers,
23 latent_dim=opt.latent_dim,
24 no_clip=opt.no_clip,
25 no_eff=opt.no_eff)
26 return encoder
27
28
29if __name__ == '__main__':

Callers 1

train.pyFile · 0.70

Calls 1

MotionTransformerClass · 0.90

Tested by

no test coverage detected