mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update repo
This commit is contained in:
parent
8e9b79cae3
commit
ba4aef18ed
@ -106,11 +106,12 @@ if __name__ == '__main__':
|
|||||||
args.dataset, args.vocab_size, args.tag),
|
args.dataset, args.vocab_size, args.tag),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pipeline = {"type": args.pipeline_type}
|
||||||
json_dict = {
|
json_dict = {
|
||||||
"framework": "pytorch",
|
"framework": "pytorch",
|
||||||
"task": args.task,
|
"task": args.task,
|
||||||
"model": model,
|
"model": model,
|
||||||
"pipeline": args.pipeline_type,
|
"pipeline": pipeline,
|
||||||
}
|
}
|
||||||
|
|
||||||
with open(os.path.join(args.output_dir, "configuration.json"), "w") as f:
|
with open(os.path.join(args.output_dir, "configuration.json"), "w") as f:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user