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

Issue with the training dataloader #5

Open
bjuncek opened this issue Dec 30, 2019 · 1 comment
Open

Issue with the training dataloader #5

bjuncek opened this issue Dec 30, 2019 · 1 comment

Comments

@bjuncek
Copy link

bjuncek commented Dec 30, 2019

When loading the pre-extracted features (using Antoine's FE script), I'm running into an issue with your exact dataloader. Namely, the error thrown is

AttributeError: 'numpy.ndarray' object has no attribute 'seek'. You can only torch.load from a file that is seekable. Please pre-load the data into a buffer like io.BytesIO and try to load from it instead.

This is easily remedied by changing torch.load to torch.from_numpy in the youtube_dataloader's get_video function, but I thought it might be worth pointing out...

@xanderladd
Copy link

thanks for pointing this out! helped me

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