mirror of
https://github.com/macaodha/batdetect2.git
synced 2026-01-10 00:59:34 +01:00
Clear evaluation callback after epoch ends
This commit is contained in:
parent
71c2301c21
commit
e0ecc3c3d1
@ -108,7 +108,8 @@ class ValidationMetrics(Callback):
|
||||
trainer: Trainer,
|
||||
pl_module: LightningModule,
|
||||
) -> None:
|
||||
self._matches = []
|
||||
self._clip_annotations = []
|
||||
self._predictions = []
|
||||
return super().on_validation_epoch_start(trainer, pl_module)
|
||||
|
||||
def on_validation_batch_end( # type: ignore
|
||||
|
||||
Loading…
Reference in New Issue
Block a user