ultralytics 8.0.42 DDP fix and Docs updates (#1065)
Co-authored-by: Laughing <61612323+Laughing-q@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ayush Chaurasia <ayush.chaurarsia@gmail.com> Co-authored-by: Noobtoss <96134731+Noobtoss@users.noreply.github.com> Co-authored-by: Laughing-q <1185102784@qq.com>
This commit is contained in:
parent
f6e393c1d2
commit
f2a7a29e53
33 changed files with 196 additions and 93 deletions
|
|
@ -11,7 +11,7 @@ import numpy as np
|
|||
import torch
|
||||
import torch.nn as nn
|
||||
|
||||
from ultralytics.yolo.utils import TryExcept
|
||||
from ultralytics.yolo.utils import LOGGER, TryExcept
|
||||
|
||||
|
||||
# boxes
|
||||
|
|
@ -260,7 +260,7 @@ class ConfusionMatrix:
|
|||
|
||||
def print(self):
|
||||
for i in range(self.nc + 1):
|
||||
print(' '.join(map(str, self.matrix[i])))
|
||||
LOGGER.info(' '.join(map(str, self.matrix[i])))
|
||||
|
||||
|
||||
def smooth(y, f=0.05):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue