Skip to content

Commit

Permalink
fix inference rate bug (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanMarx authored and Steven James Henderson committed Jan 13, 2025
1 parent 7e9b67e commit eedb27a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/infer/infer/postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ def __init__(
self.offset = int(psd_length * inference_sampling_rate)

# convert our window lengths to sample units
self.integration_window_size = int(
inference_sampling_rate * integration_window_length
self.integration_window_size = (
int(inference_sampling_rate * integration_window_length) + 1
)
self.cluster_window_size = int(
inference_sampling_rate * cluster_window_length
Expand Down

0 comments on commit eedb27a

Please sign in to comment.