MCPcopy Create free account
hub / github.com/tdrussell/diffusion-pipe / reset

Method reset

utils/dataset.py:1310–1314  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1308 self.data = self._pull_batches_from_dataloader()
1309
1310 def reset(self):
1311 self.epoch = 1
1312 self.num_batches_pulled = 0
1313 self.next_micro_batch = None
1314 self.data = self._pull_batches_from_dataloader()
1315
1316 def set_eval_quantile(self, quantile):
1317 self.eval_quantile = quantile

Callers 1

evaluate_singleFunction · 0.80

Calls 1

Tested by

no test coverage detected