You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@pzelasko Hi
As long as I add noise, and only read the segmentation audio file with (offset + duration)
result: new_duration< 0 error
File "/usr/local/lib/python3.10/dist-packages/lhotse/dataset/sampling/dynamic_bucketing.py", line 299, in _next_batch
batch = next(self.cuts_iter)
File "/usr/local/lib/python3.10/dist-packages/lhotse/dataset/sampling/dynamic_bucketing.py", line 588, in __iter__
self._collect_cuts_in_buckets(self.buffer_size)
File "/usr/local/lib/python3.10/dist-packages/lhotse/dataset/sampling/dynamic_bucketing.py", line 768, in _collect_cuts_in_buckets
cuts = next(self.cuts_iter)
File "/usr/local/lib/python3.10/dist-packages/lhotse/dataset/sampling/dynamic.py", line 377, in __iter__
for item in self.iterator:
File "/usr/local/lib/python3.10/dist-packages/lhotse/cut/set.py", line 2554, in __iter__
yield from self.cuts
File "/usr/local/lib/python3.10/dist-packages/lhotse/cut/set.py", line 2554, in __iter__
yield from self.cuts
File "/usr/local/lib/python3.10/dist-packages/lhotse/cut/set.py", line 3587, in __iter__
to_mix = self._maybe_truncate_cut(to_mix, target_mixed_duration, rng)
File "/usr/local/lib/python3.10/dist-packages/lhotse/cut/set.py", line 3629, in _maybe_truncate_cut
cut = cut.truncate(
File "/usr/local/lib/python3.10/dist-packages/lhotse/cut/data.py", line 520, in truncate
assert new_duration > 0.0, f"new_duration={new_duration}, until={until}, offset={offset}, self.start={self.start}, new_start={new_start}, self.duration={self.duration}"
AssertionError: new_duration=-2.91, until=0.5120625, offset=3.4220819912490628, self.start=0.0, new_start=3.4220625, self.duration=5.705125
@pzelasko Hi
As long as I add noise, and only read the segmentation audio file with (offset + duration)
result: new_duration< 0 error
The text was updated successfully, but these errors were encountered: