MCPcopy Create free account
hub / github.com/MotrixLab/AiOS / parameters

Method parameters

detrsmpl/models/registrants/smplify.py:38–44  ·  view source on GitHub ↗

Returns parameters. Compatible with mmcv's build_parameters() Returns: opt_params: a list of body model parameters for optimization

(self)

Source from the content-addressed store, hash-verified

36 param.requires_grad = False
37
38 def parameters(self) -> List[torch.Tensor]:
39 """Returns parameters. Compatible with mmcv's build_parameters()
40
41 Returns:
42 opt_params: a list of body model parameters for optimization
43 """
44 return self.opt_params
45
46
47class SMPLify(object):

Callers 15

train_one_epochFunction · 0.80
mainFunction · 0.80
after_train_iterMethod · 0.80
to_ddpMethod · 0.80
__init__Method · 0.80
__init__Method · 0.80
feature_extractFunction · 0.80
_freeze_stagesMethod · 0.80
init_weightsMethod · 0.80
set_requires_gradFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected