Skip to content

Commit

Permalink
deque_context = np.percentile(concat_deque, percentiles, axis=1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Lostanlen committed Dec 3, 2018
1 parent 0c25a2d commit c2153d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion birdvoxdetect/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def process_file(filepath,
# Compute context.
if has_context:
concat_deque = np.concatenate(deque, axis=1)
deque_context = np.percentile(percentiles, axis=1)
deque_context = np.percentile(concat_deque, percentiles, axis=1)

# Compute likelihood on queue chunks.
chunk_likelihoods = []
Expand Down

0 comments on commit c2153d2

Please sign in to comment.