mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
fix bug
This commit is contained in:
parent
56986acaa7
commit
3eee773814
@ -216,7 +216,7 @@ class OpenAIDataset(torch.utils.data.Dataset):
|
||||
if b < 2:
|
||||
beg = 0
|
||||
logging.info(
|
||||
f"Warning, b * t: {b * t} > {self.batch_size}, b: {b}, t: {t}, drop half data {idx}th, beg:{beg}"
|
||||
f"Warning, b * t: {b * t} > {self.batch_size_scale_ratio_max} * {self.batch_size}, b: {b}, t: {t}, drop half data {idx}th, beg:{beg}"
|
||||
)
|
||||
samples = samples[beg : beg + b : 2]
|
||||
continue
|
||||
|
||||
Loading…
Reference in New Issue
Block a user