MCPcopy Create free account
hub / github.com/RolnickLab/climart / validation_step

Method validation_step

climart/models/base_model.py:238–239  ·  view source on GitHub ↗
(self, batch: Any, batch_idx: int, dataloader_idx: int = None)

Source from the content-addressed store, hash-verified

236 self._start_validation_epoch_time = time.time()
237
238 def validation_step(self, batch: Any, batch_idx: int, dataloader_idx: int = None):
239 return self._evaluation_step(batch, batch_idx)
240
241 def validation_epoch_end(self, outputs: List[Any]) -> dict:
242 val_time = time.time() - self._start_validation_epoch_time

Callers

nothing calls this directly

Calls 1

_evaluation_stepMethod · 0.95

Tested by

no test coverage detected