mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
readme
This commit is contained in:
parent
7575045bb0
commit
2b59b1c204
@ -344,8 +344,8 @@ class VADTask(AbsTask):
|
|||||||
|
|
||||||
with config_file.open("r", encoding="utf-8") as f:
|
with config_file.open("r", encoding="utf-8") as f:
|
||||||
args = yaml.safe_load(f)
|
args = yaml.safe_load(f)
|
||||||
if cmvn_file is not None:
|
#if cmvn_file is not None:
|
||||||
args["cmvn_file"] = cmvn_file
|
args["cmvn_file"] = cmvn_file
|
||||||
args = argparse.Namespace(**args)
|
args = argparse.Namespace(**args)
|
||||||
model = cls.build_model(args)
|
model = cls.build_model(args)
|
||||||
model.to(device)
|
model.to(device)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user