diff --git a/ultralytics/nn/autobackend.py b/ultralytics/nn/autobackend.py index 93de16b..69315d5 100644 --- a/ultralytics/nn/autobackend.py +++ b/ultralytics/nn/autobackend.py @@ -445,7 +445,7 @@ class AutoBackend(nn.Module): """ return torch.tensor(x).to(self.device) if isinstance(x, np.ndarray) else x - def warmup(self, imgsz=(1, 3, 640, 640)): + def warmup(self, imgsz=(1, 1, 640, 640)): """ Warm up the model by running one forward pass with a dummy input.