Remove GitPython dependency (#568)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
3c4de102f6
commit
d6a4ffb778
9 changed files with 138 additions and 58 deletions
|
|
@ -508,7 +508,6 @@ class BaseTrainer:
|
|||
strip_optimizer(f) # strip optimizers
|
||||
if f is self.best:
|
||||
self.console.info(f'\nValidating {f}...')
|
||||
self.validator.args.save_json = True
|
||||
self.metrics = self.validator(model=f)
|
||||
self.metrics.pop('fitness', None)
|
||||
self.run_callbacks('on_fit_epoch_end')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue