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

Bug Report: Manual Update of audio_emotion Not Reflecting Correctly #32

Open
nazmulAbid-cell opened this issue Dec 19, 2024 · 1 comment

Comments

@nazmulAbid-cell
Copy link

@ltzheng
When manually updating the audio_emotion variable in inference.py (line 142) to set it to a specific emotion (e.g., disgusted with value 1), the output does not reflect the updated emotion.

Modify inference.py at line 142:

              audio_emotion = torch.full((audio_emb.shape[0],), 1, dtype=torch.int32, device=device)
              num_emotion_classes = 9

This sets the audio_emotion to 1 (disgusted) for all embeddings.

Run the inference pipeline.
Expected Behavior
The output should correctly reflect the manually set audio_emotion value.

Observed Behavior
Observe that the output does not reflect the manually assigned emotion (disgusted).

@ltzheng
Copy link
Collaborator

ltzheng commented Dec 19, 2024

The preview model we released may not effectively generalize emotion offset to all reference images, so this function was not explicitly included. However, as a workaround, you can manually input a reference image with a different emotion to adjust the emotion in the generated video.

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

No branches or pull requests

2 participants