From f29e30be7a7566bb722d25fac77648610876f4f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20=C5=BBelasko?= Date: Tue, 4 Jun 2024 12:04:19 -0400 Subject: [PATCH] Increase the start diff tolerance for feature loading (#1349) --- lhotse/features/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lhotse/features/base.py b/lhotse/features/base.py index 60bb909d5..ef4b161a1 100644 --- a/lhotse/features/base.py +++ b/lhotse/features/base.py @@ -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."