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

Interval problem #14

Open
pcshih opened this issue Aug 5, 2019 · 0 comments
Open

Interval problem #14

pcshih opened this issue Aug 5, 2019 · 0 comments

Comments

@pcshih
Copy link

pcshih commented Aug 5, 2019

https://github.com/weirme/Video_Summary_using_FCSN/blob/0895cccbb2a488369b1bfc7d2c087b3050250898/eval.py#L24

The [start:end] operator excludes the end element

should it be
pred_value = np.array([pred_score[cp[0]:(cp[1]+1)].mean() for cp in cps]) ?

Also
https://github.com/weirme/Video_Summary_using_FCSN/blob/0895cccbb2a488369b1bfc7d2c087b3050250898/eval.py#L29

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

1 participant