changed the imgsize on warmup to meet the grayscale for prediction
This commit is contained in:
@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user