Fix Multi-GPU resume bug (#7328)

Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Adamcode 2024-01-05 23:49:17 +08:00 committed by GitHub
parent a334ff7f6e
commit eeea5de623
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,7 +121,6 @@ class BaseTrainer:
self.trainset, self.testset = self.get_dataset(self.data)
self.ema = None
self.resume = False
# Optimization utils init
self.lf = None