From aba4ccee297d0295eb5420926cd786bf1eb78ab3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abi=C3=A1n=20Hern=C3=A1ndez?= Date: Wed, 7 Nov 2018 13:22:03 +0000 Subject: [PATCH] [bugfix] Fixed out of range error in 'test_images' module --- test/test_images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_images.py b/test/test_images.py index c4257ec..fdce383 100644 --- a/test/test_images.py +++ b/test/test_images.py @@ -67,7 +67,7 @@ def test(config): # preprocess images = [] images_origin = [] - for path in images_path[step*batch_size: (step+1)*batch_size]: + for path in images_path[step : step + batch_size]: logging.info("processing: {}".format(path)) image = cv2.imread(path, cv2.IMREAD_COLOR) if image is None: