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

Method training_step

mGPT/models/base.py:24–25  ·  view source on GitHub ↗
(self, batch, batch_idx)

Source from the content-addressed store, hash-verified

22 self.rep_i = 0
23
24 def training_step(self, batch, batch_idx):
25 return self.allsplit_step("train", batch, batch_idx)
26
27 def validation_step(self, batch, batch_idx):
28 return self.allsplit_step("val", batch, batch_idx)

Callers

nothing calls this directly

Calls 1

allsplit_stepMethod · 0.80

Tested by

no test coverage detected