mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update
This commit is contained in:
parent
124d49c6ee
commit
e80263cbf8
@ -152,7 +152,7 @@ class ESPnetDataset(Dataset):
|
||||
loader = kaldiio.load_scp(path)
|
||||
return AdapterForSoundScpReader(loader, self.float_dtype)
|
||||
elif loader_type == "npy":
|
||||
return NpyScpReader()
|
||||
return NpyScpReader(path)
|
||||
elif loader_type == "text":
|
||||
text_loader = {}
|
||||
with open(path, "r", encoding="utf-8") as f:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user