MCPcopy Create free account
hub / github.com/MotrixLab/insactor / preprocess_pre_seq

Function preprocess_pre_seq

tools/demo_utils/diffuse.py:67–69  ·  view source on GitHub ↗
(pre_seq)

Source from the content-addressed store, hash-verified

65 }
66
67 def preprocess_pre_seq(pre_seq):
68 pre_seq = (pre_seq - mean) / (std + 1e-6)
69 return torch.tensor(pre_seq).to(device)
70
71 if pre_seq is not None:
72 pre_seq = preprocess_pre_seq(pre_seq)

Callers 1

infer_motion_diffusionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected