Fix resume (#138)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
82c849c163
commit
340376f7a6
9 changed files with 55 additions and 26 deletions
|
|
@ -111,6 +111,7 @@ class BaseValidator:
|
|||
self.args.workers = 0 # faster CPU val as time dominated by inference, not dataloading
|
||||
self.dataloader = self.dataloader or \
|
||||
self.get_dataloader(data.get("val") or data.set("test"), self.args.batch_size)
|
||||
self.data = data
|
||||
|
||||
model.eval()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue