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 about mosei dataset #16

Closed
TianhaoFu opened this issue Dec 7, 2021 · 5 comments
Closed

questions about mosei dataset #16

TianhaoFu opened this issue Dec 7, 2021 · 5 comments

Comments

@TianhaoFu
Copy link

TianhaoFu commented Dec 7, 2021

Hi, thanks for your code.

When I use your dataloader loading mosei affect dataset[I used the dataset provided in your repo]. I found that the batch video data shape is [batchsize, 50, 35]. batch audio data shape is [batchsize, 50 74]. What does 50 and 35 in video date shape mean? BTW, the regular video batch data format should be [batchsize, channel, clip_length, crop_size, crop_size]. It seems that [batchsize, 50, 35] doesn't follow this format. What is the reason for this?

Thanks!

@Vanvan2017
Copy link
Collaborator

Vanvan2017 commented Dec 7, 2021

Thanks a lot for the question~ the default format of the video and audio data is [batch_size, sequence_length, feature_dim], because the feature here are preprocessed from the videos (using OpenFace or Facet), so the format didn't follow the default video data format~ And seems you are more familiar with the video data format, and the video data is here, you can deal with the video directly if you want to try some video models by yourself ~ It really rare for people to deal with it that way, so it may be a good direction~

@TianhaoFu
Copy link
Author

Thanks a lot for the question~ the default format of the video and audio data is [batch_size, sequence_length, feature_dim], because the feature here are preprocessed from the videos (using OpenFace or Facet), so the format didn't follow the default video data format~ And seems you are more familiar with the video data data format, and the video data is here, you can deal with the video directly if you want to try some video models by yourself ~ It really rare for people to deal with it that way, so it may be a good direction~

It doesn't look like this dataset contains a list of mosei files, do you know where it is please, thanks! @Vanvan2017

@Vanvan2017
Copy link
Collaborator

Vanvan2017 commented Dec 12, 2021

Hi, @TianhaoFu, did you mean the videos? It should be in the zip file here. You can download and unzip it and then use a video processing tool to get the raw frames~ As for the labels, you can check the labels.

@TianhaoFu
Copy link
Author

TianhaoFu commented Dec 13, 2021

Thanks for your reply. I mean I want a file contains the video files name. such as

column1
7155.mp4
7156.mp4
7157.mp4
...

do you know where can I such file? thanks!

By the way, It seems that the labels file you provided is .csd file, could tell me how to open it?
Thanks very much!

@Vanvan2017

@Vanvan2017
Copy link
Collaborator

Hi, @TianhaoFu, I think you can open it with h5py, and the names of the files are in it, you can add .mp4 after the names~ For more details of the .csd file, you can refer to the multimodal SDK, but in a word, .csd just means the .h5 file~ So h5py is okay for it.

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