mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
inference
This commit is contained in:
parent
f01980d169
commit
b8e34a1342
@ -3,8 +3,6 @@
|
|||||||
# Copyright FunASR (https://github.com/alibaba-damo-academy/FunASR). All Rights Reserved.
|
# Copyright FunASR (https://github.com/alibaba-damo-academy/FunASR). All Rights Reserved.
|
||||||
# MIT License (https://opensource.org/licenses/MIT)
|
# MIT License (https://opensource.org/licenses/MIT)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
|||||||
@ -206,3 +206,4 @@ class LMTask(AbsTask):
|
|||||||
# 3. Initialize
|
# 3. Initialize
|
||||||
if args.init is not None:
|
if args.init is not None:
|
||||||
initialize(model, args.init)
|
initialize(model, args.init)
|
||||||
|
return model
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user