Skip to content

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

Closed
wuhongsheng wants to merge 13 commits into
modelscope:mainfrom
wuhongsheng:main
Closed

feat:说话人日志pipline增加情绪识别#1993
wuhongsheng wants to merge 13 commits into
modelscope:mainfrom
wuhongsheng:main

Conversation

@wuhongsheng
Copy link
Copy Markdown

@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
Copy Markdown
Author

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

@LauraGPT
Copy link
Copy Markdown
Collaborator

Closing as stale — this PR is from August 2024 and the speaker diarization pipeline has been significantly reworked since then (new spk_embedding handling, Fun-ASR-Nano/SenseVoice support). Please rebase against the latest main and resubmit if still relevant.

@LauraGPT LauraGPT closed this May 19, 2026
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.

2 participants