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

How could I integrate emotion recognition model into AutoModel with other models #2103

Closed
ruifengma opened this issue Sep 24, 2024 · 1 comment
Labels
question Further information is requested

Comments

@ruifengma
Copy link

Currently, according to the document, the way of using emotion model (e.g emotion2vec) is

from funasr import AutoModel

model = AutoModel(model="iic/emotion2vec_plus_large")

wav_file = f"{model.model_path}/example/test.wav"
res = model.generate(wav_file, output_dir="./outputs", granularity="utterance", extract_embedding=False)
print(res)

But what if I wish to use the model as an assistant model ( vad, spk model etc.), what should I do, or if there is any plan to add such a parameter (ser_model="iic/emotion2vec_plus_large" maybe?)

@ruifengma ruifengma added the question Further information is requested label Sep 24, 2024
@LauraGPT
Copy link
Collaborator

LauraGPT commented Nov 5, 2024

#1993

@LauraGPT LauraGPT closed this as completed Nov 5, 2024
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