Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用微调之后的模型音频识别为空 #2181

Open
fjt12138 opened this issue Oct 30, 2024 · 1 comment
Open

使用微调之后的模型音频识别为空 #2181

fjt12138 opened this issue Oct 30, 2024 · 1 comment
Labels
question Further information is requested

Comments

@fjt12138
Copy link

What is your question?

我使用了paraformer-zh为预训练模型,在我的下游数据上进行微调,微调了之后调用模型识别我的音频,使用微调模型识别不出,使用预训练的模型可以识别,我不知道是哪里出现的问题。

Code

我的微调脚本代码是:
image

我的调用模型代码如图:
image
最后我的结果如图:
image
再次请求作者帮助。

@fjt12138 fjt12138 added the question Further information is requested label Oct 30, 2024
@LauraGPT
Copy link
Collaborator

LauraGPT commented Nov 4, 2024

一个简单的排查方案是,你copy我们官方模型一份,然后把里面的model.pt替换成你finetune后的,例如,最后一个ckpt,然后用一样的方法去推理,看看是否有输出

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants