Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: index 202 is out of bounds for axis 0 with size 0 #35

Open
solankishweta2910 opened this issue Nov 30, 2021 · 1 comment
Open

Comments

@solankishweta2910
Copy link

I tried running module gen_summary.py

Traceback (most recent call last):
File "C:/Users/Sachin/Documents/MTech Dissertation/Video_Summary_using_FCSN/gen_summary.py", line 112, in
gen_summary()
File "C:/Users/Sachin/Documents/MTech Dissertation/Video_Summary_using_FCSN/gen_summary.py", line 104, in gen_summary
get_keys(id)
File "C:/Users/Sachin/Documents/MTech Dissertation/Video_Summary_using_FCSN/gen_summary.py", line 50, in get_keys
keyshots.append(frames[i])
IndexError: index 202 is out of bounds for axis 0 with size 0

getting the above error.
pls help in solving .

@hpppppp8
Copy link

I tried running module gen_summary.py

Traceback (most recent call last): File "C:/Users/Sachin/Documents/MTech Dissertation/Video_Summary_using_FCSN/gen_summary.py", line 112, in gen_summary() File "C:/Users/Sachin/Documents/MTech Dissertation/Video_Summary_using_FCSN/gen_summary.py", line 104, in gen_summary get_keys(id) File "C:/Users/Sachin/Documents/MTech Dissertation/Video_Summary_using_FCSN/gen_summary.py", line 50, in get_keys keyshots.append(frames[i]) IndexError: index 202 is out of bounds for axis 0 with size 0

getting the above error. pls help in solving .

After you are download the tvsum dataset, you need to rename the video name like 1、2、3. The 1-50 corresponds to the same order in ydata-tvsum50.mat, which is the original matlab file provided by TVSum.KaiyangZhou/vsumm-reinforce#1 (comment)
And then you can run the gen_summary.py. I hope it can be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants