mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
finetune
This commit is contained in:
parent
f1e463606d
commit
d9bdd0eb67
@ -218,6 +218,7 @@ class AutoModel:
|
||||
kwargs["frontend"] = frontend
|
||||
# build model
|
||||
model_class = tables.model_classes.get(kwargs["model"])
|
||||
assert model_class is not None, f'{kwargs["model"]} is not registered'
|
||||
model_conf = {}
|
||||
deep_update(model_conf, kwargs.get("model_conf", {}))
|
||||
deep_update(model_conf, kwargs)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user