Skip to content
Permalink
Browse files

fix(encoder): fix bug in video mixture encoder

  • Loading branch information...
Larryjianfeng committed Aug 1, 2019
1 parent 3fdf1c0 commit 95f03c56701f4a691f8412490f6dcf9565751da1
Showing with 1 addition and 1 deletion.
  1. +1 −1 gnes/encoder/video/incep_mixture.py
@@ -107,7 +107,7 @@ def encode(self, videos: List['np.ndarray'], *args, **kwargs) -> np.ndarray:
ret = []
v_len = [len(v) for v in videos]
pos_start = [0] + [sum(v_len[:i]) for i in range(1, len(v_len)-1)]
pos_end = [sum(v_len[:i]) for i in range(1, len(v_len))]
pos_end = [sum(v_len[:i]) for i in range(len(v_len))]
max_len = min(max(v_len), self.max_frames)

img = [im for v in videos for im in v]

0 comments on commit 95f03c5

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