mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-25 04:29:22 +01:00
[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
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user