Skip to content

运行 speech2text.py 报错,FireRedAsr.from_pretrained() takes 2 positional arguments but 3 were given #110

@frenemycode

Description

@frenemycode

Traceback (most recent call last):
File "C:\FireRedASR\fireredasr\speech2text.py", line 105, in
main(args)
File "C:\FireRedASR\fireredasr\speech2text.py", line 43, in main
model = FireRedAsr.from_pretrained(args.asr_type, args.model_dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: FireRedAsr.from_pretrained() takes 2 positional arguments but 3 were given

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions