Skip to content
Permalink
Browse files

fix(encoder): add func for preprocessor

  • Loading branch information...
Larryjianfeng committed Aug 5, 2019
1 parent 1c875da commit 8e6dc4c648e592cdb2e5dcb7e2d1cd0a890ac0df
Showing with 0 additions and 1 deletion.
  1. +0 −1 gnes/preprocessor/helper.py
@@ -44,7 +44,6 @@ def get_video_length(video_path):

def split_mp4_random(video_path, avg_length, max_clip_second=10):
import random

l = get_video_length(video_path)
s = []
num_part = max(int(l / avg_length), 2)

0 comments on commit 8e6dc4c

Please sign in to comment.
You can’t perform that action at this time.