This commit is contained in:
Glenn Jocher 2019-02-11 12:26:46 +01:00
parent daed93102c
commit 429fd6121c
1 changed files with 0 additions and 1 deletions

View File

@ -42,7 +42,6 @@ class load_images(): # for inference
# Padded resize # Padded resize
img, ratio, padw, padh = letterbox(img0, height=self.height, color=(127.5, 127.5, 127.5)) img, ratio, padw, padh = letterbox(img0, height=self.height, color=(127.5, 127.5, 127.5))
print(ratio, padw, padh)
# Normalize RGB # Normalize RGB
img = img[:, :, ::-1].transpose(2, 0, 1) img = img[:, :, ::-1].transpose(2, 0, 1)