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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] pytorch not working for video tensors #1805

Open
verbose-void opened this issue Jul 31, 2022 · 3 comments
Open

[BUG] pytorch not working for video tensors #1805

verbose-void opened this issue Jul 31, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@verbose-void
Copy link
Contributor

verbose-void commented Jul 31, 2022

馃悰馃悰 Bug Report

created a video tensor (mp4), added 35 samples, tried to use the ds.pytorch function, got this error:

image

鈿欙笍 Environment

ubuntu 20.04, python=3.7.13, jupyter notebook

@verbose-void verbose-void added the bug Something isn't working label Jul 31, 2022
@verbose-void
Copy link
Contributor Author

would be nice if i could get a batch of frames instead a batch of videos too

@davidbuniat
Copy link
Member

@nollied thanks for reporting the issue, will take a look. @AbhinavTuli the new dataloader we should make sure this works.

@verbose-void
Copy link
Contributor Author

@davidbuniat cool, btw are the concerns about random shuffling applicable to video datasets?

basically, lets say there's 100 video sequences ~100MB each (so these videos are stored in individual chunks), if my goal is to train a model where each batch has, say, 20 frames but i would like it to be shuffled with respect to the video index (so i don't want to mis-match video frames in any batches), what kind of random sampling guarentees can i expect?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants