Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mmz33 committed Mar 5, 2024
1 parent 399a34f commit 72bfe2e
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,6 @@ def get_data_loader(dataset_name):
_bs = len(next(iter(batch.values())))
assert len(keys) == _bs, f"{len(keys)} != {_bs}"

if keys[0] != "6467-97061-0023":
continue

with torch.no_grad():
start_time = time.perf_counter_ns()
audio_dur = batch["speech_lengths"].sum().item()
Expand Down

0 comments on commit 72bfe2e

Please sign in to comment.