Skip to content

Commit

Permalink
Increase the start diff tolerance for feature loading (#1349)
Browse files Browse the repository at this point in the history
  • Loading branch information
pzelasko committed Jun 4, 2024
1 parent c1d4432 commit f29e30b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lhotse/features/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ def load(
start = self.start
# In case the caller requested only a sub-span of the features, trim them.
# Left trim
if start < self.start - 1e-5:
if start < self.start - 1e-3:
raise ValueError(
f"Cannot load features for recording {self.recording_id} starting from {start}s. "
f"The available range is ({self.start}, {self.end}) seconds."
Expand Down

0 comments on commit f29e30b

Please sign in to comment.