From f0b4f9f4fb7af71076cc91c48cdf2c9043395ad8 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Wed, 10 Apr 2019 16:39:15 +0200 Subject: [PATCH] updates --- utils/datasets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/datasets.py b/utils/datasets.py index 30f37be1..ae30dbb9 100755 --- a/utils/datasets.py +++ b/utils/datasets.py @@ -122,7 +122,7 @@ class LoadWebcam: # for inference img = np.ascontiguousarray(img, dtype=np.float32) # uint8 to float32 img /= 255.0 # 0 - 255 to 0.0 - 1.0 - return img_path, img, img0 + return img_path, img, img0, None def __len__(self): return 0