updates
This commit is contained in:
@@ -42,7 +42,6 @@ class load_images(): # for inference
|
||||
|
||||
# Padded resize
|
||||
img, ratio, padw, padh = letterbox(img0, height=self.height, color=(127.5, 127.5, 127.5))
|
||||
print(ratio, padw, padh)
|
||||
|
||||
# Normalize RGB
|
||||
img = img[:, :, ::-1].transpose(2, 0, 1)
|
||||
|
||||
Reference in New Issue
Block a user