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 to load the video file in dataset? #4

Open
PoetCoderJun opened this issue Jun 8, 2023 · 5 comments
Open

How to load the video file in dataset? #4

PoetCoderJun opened this issue Jun 8, 2023 · 5 comments

Comments

@PoetCoderJun
Copy link

PoetCoderJun commented Jun 8, 2023

Nice Job!
I have a question, This is the result of 'next(iter(data))'. What's the format of the video file 'b9bb81fd77d4930a889d17adadf83d95209f80d7eb6387933b5aacfad2c52fc7', or can you give an example of how to load the video file?

{'clip_name:FILE': '../modelscope/hub/datasets/modelscope/Youku-AliceMind/master/data_files/b9bb81fd77d4930a889d17adadf83d95209f80d7eb6387933b5aacfad2c52fc7', 'caption': '身穿黑色上衣戴着头盔的女子在路上骑着摩托车四周还停放了一些车'}
@MAGAer13
Copy link
Collaborator

MAGAer13 commented Jun 8, 2023

Hi, the video will be stored in ~/.cache/modelscope/hub/datasets/xxxxxxxx

@PoetCoderJun
Copy link
Author

Hi, the video will be stored in ~/.cache/modelscope/hub/datasets/xxxxxxxx

Hi, I know the save path, but I don't know what video format 'xxxxxxxx' is. How can we load it or open it?

@buptxyb666
Copy link

I‘m facing the same issue.

@MAGAer13
Copy link
Collaborator

Hi, the video will be stored in ~/.cache/modelscope/hub/datasets/xxxxxxxx

Hi, I know the save path, but I don't know what video format 'xxxxxxxx' is. How can we load it or open it?

In your example, the video should be stored in ~/.cache/modelscope/hub/datasets/modelscope/Youku-AliceMind/master/data_files/b9bb81fd77d4930a889d17adadf83d95209f80d7eb6387933b5aacfad2c52fc7. It will be stored in mp4 format

@liguanqun
Copy link

You can open it with VLC media player

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

4 participants