Predictor support (#65)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Laughing-q <1185102784@qq.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
479992093c
commit
e6737f1207
22 changed files with 916 additions and 48 deletions
|
|
@ -63,7 +63,7 @@ class DetectionValidator(BaseValidator):
|
|||
self.seen = 0
|
||||
self.confusion_matrix = ConfusionMatrix(nc=self.nc)
|
||||
self.metrics = Metric()
|
||||
self.loss = torch.zeros(4, device=self.device)
|
||||
self.loss = torch.zeros(3, device=self.device)
|
||||
self.jdict = []
|
||||
self.stats = []
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue