FCSN icon indicating copy to clipboard operation
FCSN copied to clipboard

Interval problem

Open pcshih opened this issue 5 years ago • 0 comments

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

pcshih avatar Aug 05 '19 09:08 pcshih