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

feat:说话人日志pipline增加情绪识别 #1993

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

wuhongsheng
Copy link
Contributor

@wuhongsheng wuhongsheng commented Aug 7, 2024

from funasr import AutoModel
import logging
logging.getLogger().setLevel(logging.INFO)
ser_kwargs = {"use_itn": False, "language":"zh", "batch_size":64, "model":"iic/SenseVoiceSmall"}

funasr_model = AutoModel(model="paraformer-zh", vad_model="fsmn-vad", punc_model="ct-punc", spk_model="cam++", ser_model="SenseVoiceSmall", ser_kwargs=ser_kwargs, disable_update=True)
input_audio ="/Users/whs/PycharmProjects/speakerLog/test.wav"
device ="cpu"
res = funasr_model.inference_with_vad(input_audio)
print(res)

image

@wuhongsheng wuhongsheng changed the title 说话人日志pipline增加情绪识别 feat:说话人日志pipline增加情绪识别 Aug 12, 2024
@wuhongsheng
Copy link
Contributor Author

@LauraGPT 大佬,麻烦看下怎么改

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

Successfully merging this pull request may close these issues.

1 participant