weirme / FCSN

A PyTorch reimplementation of FCSN in paper "Video Summarization Using Fully Convolutional Sequence Networks"
115 stars 33 forks source link

index 5866 is out of bounds for axis 0 with size 5846 #31

Open gurunatraj opened 3 years ago

gurunatraj commented 3 years ago

Traceback (most recent call last): File "gen_summary.py", line 112, in gen_summary() File "gen_summary.py", line 104, in gen_summary get_keys(id) File "gen_summary.py", line 50, in get_keys keyshots.append(frames[i]) IndexError: index 5866 is out of bounds for axis 0 with size 5846

Any idea how to solve this?

pandababyer commented 3 years ago

Hello, i think it is the Inconsistent between the video ID in original videos and fcsn_tvsum.h5. For example video_7 and sTEELN-vY30.mp4.