Open pcshih opened 5 years ago
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]) ?
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
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