MCPcopy
hub / github.com/OpenMotionLab/MotionGPT / joints2feats

Method joints2feats

mGPT/data/Kit.py:54–59  ·  view source on GitHub ↗
(self, features)

Source from the content-addressed store, hash-verified

52 return recover_from_ric(features, self.njoints)
53
54 def joints2feats(self, features):
55 features = process_file(features, self.njoints)[0]
56 # mean = torch.tensor(self.hparams.mean).to(features)
57 # std = torch.tensor(self.hparams.std).to(features)
58 # features = (features - mean) / std
59 return features
60
61 def normalize(self, features):
62 mean = torch.tensor(self.hparams.mean).to(features)

Callers

nothing calls this directly

Calls 1

process_fileFunction · 0.85

Tested by

no test coverage detected