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

Questions for the shape of the audio_embeddings #43

Open
zypsjtu opened this issue Jun 19, 2024 · 0 comments
Open

Questions for the shape of the audio_embeddings #43

zypsjtu opened this issue Jun 19, 2024 · 0 comments

Comments

@zypsjtu
Copy link

zypsjtu commented Jun 19, 2024

V-Express/pipelines/v_express_pipeline.py:

        frame_audio_embeddings = []
        for frame_idx in range(video_length):
            start_sample = frame_idx
            end_sample = frame_idx + 2 * num_pad_audio_frames

            frame_audio_embedding = audio_embeddings[2 * start_sample:2 * (end_sample + 1), :]  # [2*num_pad+1, dim]
            frame_audio_embeddings.append(frame_audio_embedding)
        audio_embeddings = torch.stack(frame_audio_embeddings, dim=0)  # [vid_len, 2*num_pad+1, dim]

in my tests, the shape of the audio_embeddings is [vid_len, 2*(2num_pad+1), dim] instead of [vid_len, 2num_pad+1, dim] in code annotation.

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

1 participant