Skip to content
Snippets Groups Projects
Commit 5168f167 authored by Olegs NIKISINS's avatar Olegs NIKISINS
Browse files

Fixed a bug in the score method of VideoCascadeSvmPadAlgorithm

parent 3bcd9882
No related branches found
No related tags found
1 merge request!12Added anomaly detection algos and unseen attack protocols for aggregated database
......@@ -970,11 +970,11 @@ class VideoCascadeSvmPadAlgorithm(Algorithm):
if self.frame_level_scores_flag:
score = toscore[:,0] # here score is a 1D array containing scores for each frame
score = toscore # here score is a 1D array containing scores for each frame
else:
score = np.mean( toscore[:,0] ) # compute a single score per video
score = np.mean( toscore ) # compute a single score per video
return score
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment