Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
fix(encoder): add func for preprocessor
Browse files Browse the repository at this point in the history
  • Loading branch information
Larryjianfeng committed Aug 5, 2019
1 parent 1c875da commit 8e6dc4c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gnes/preprocessor/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8e6dc4c

Please sign in to comment.