From 05f8b60bfcda1e800cd5b166283057a4c06868cb Mon Sep 17 00:00:00 2001 From: Siarhei Siniak Date: Tue, 27 Jul 2021 08:01:29 +0300 Subject: [PATCH] [~] Refactor --- python/tasks/mlb_player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tasks/mlb_player.py b/python/tasks/mlb_player.py index 52cea93..fb4a8d2 100644 --- a/python/tasks/mlb_player.py +++ b/python/tasks/mlb_player.py @@ -1316,7 +1316,7 @@ def kernel_19(o_18): t3 = 'kernel_19-output.dir' os.makedirs(t3, exist_ok=True) t6 = [] - for i, o in tqdm.tqdm(enumerate(o_18['t2'])): + for i, o in tqdm.tqdm(enumerate(o_18['t2']['t6'])): t4 = 'image-%03d.jpg' % i t5 = os.path.join(t3, t4) cv2.imwrite(t5, o)