Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MotrixLab/MotionDiffuse
/ train_mode
Method
train_mode
text2motion/trainers/ddpm_trainer.py:150–151 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
148
self.encoder = self.encoder.to(device)
149
150
def
train_mode(self):
151
self.encoder.train()
152
153
def
eval_mode(self):
154
self.encoder.eval()
Callers
1
train
Method · 0.95
Calls
1
train
Method · 0.80
Tested by
no test coverage detected