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 dataloader? #25

Open
SuperGentry opened this issue Sep 7, 2022 · 2 comments
Open

How to dataloader? #25

SuperGentry opened this issue Sep 7, 2022 · 2 comments

Comments

@SuperGentry
Copy link

Hello, thank you very much for your outstanding work. I was new to computer vision, and I didn't see how the images were loaded into the model. Could you tell me how to extract 16 frames from the video and input them into the VIVIT model? Looking forward to your reply

@SuperGentry SuperGentry changed the title How to dataloader How to dataloader? Sep 7, 2022
@mx-mark
Copy link
Owner

mx-mark commented Sep 21, 2022

@SuperGentry We use decord to extract the video frames. And the details about how to read the frames from the video, you can check its official site https://github.com/dmlc/decord. After loading the video frames, the PyTorch use dataloader to organize the data for training, you can check the document from the Pytorch https://pytorch.org/docs/stable/data.html?highlight=dataloader#.

@SuperGentry
Copy link
Author

thank you very much!

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