Skip to content

Commit

Permalink
remove quantity limit in valid dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhangXInFD committed Jun 9, 2024
1 parent cd8522b commit 30c96fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion speechtokenizer/trainer/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def __init__(
segment_size=segment_size,
downsample_rate=generator.downsample_rate,
sample_rate=self.sample_rate)
self.valid_ds = audioDataset(file_list=valid_file_list[:1000],
self.valid_ds = audioDataset(file_list=valid_file_list,
segment_size=self.sample_rate * 30,
downsample_rate=generator.downsample_rate,
sample_rate=self.sample_rate,
Expand Down

0 comments on commit 30c96fb

Please sign in to comment.