Browse Source

[to #42322933]cv/video_summarization fix a code bug

修复一行错误代码
        Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10477534

    * fix a code bug
master
james.wjg yingda.chen 3 years ago
parent
commit
c582b19115
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modelscope/models/cv/video_summarization/summarizer.py

+ 1
- 1
modelscope/models/cv/video_summarization/summarizer.py View File

@@ -161,7 +161,7 @@ def summary_format(summary, fps):
is_summary_frame = False

if is_summary_frame and summary[-1] == 1:
end_frame = len(frame_idxes) - 1
end_frame = len(summary) - 1
frames_list.append([start_frame, end_frame])

output = []


Loading…
Cancel
Save