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

Method predict_step

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

Source from the content-addressed store, hash-verified

284 return main_test_stats
285
286 def predict_step(self, batch: Any, batch_idx: int, dataloader_idx: int = None):
287 return self._evaluation_step(batch, batch_idx)
288
289 def on_predict_epoch_end(self, results: List[Any]) -> Dict[int, Dict[str, Dict[str, np.ndarray]]]:
290 return self.aggregate_predictions(results)

Callers

nothing calls this directly

Calls 1

_evaluation_stepMethod · 0.95

Tested by

no test coverage detected