From 5a88881d122d25161e9ea8f3af57689a6e34f01f Mon Sep 17 00:00:00 2001 From: Siarhei Siniak Date: Wed, 28 Jul 2021 11:12:47 +0300 Subject: [PATCH] [~] Refactor --- python/tasks/mlb_player.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python/tasks/mlb_player.py b/python/tasks/mlb_player.py index cee5e0f..ca3aa4a 100644 --- a/python/tasks/mlb_player.py +++ b/python/tasks/mlb_player.py @@ -1678,8 +1678,9 @@ def kernel_27(): t5 = '/kaggle/working/ATL AT TOR - April 19, 2015-T0MUK91ZWys.mp4' t3 = '/kaggle/working/kernel_27-output.dir' os.makedirs(t3, exist_ok=True) - FRAMERATE = 7 - SLICE_LENGTH = 5 * 4 + #R = int(round(30 / 5)) + FRAMERATE = 4 + SLICE_LENGTH = 5 * 6 for i in tqdm.tqdm(range(100)): t1 = [SLICE_LENGTH * i, SLICE_LENGTH * (i + 1)] t2 = os.path.join(t3, 'slice-%d' % i)