You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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...
The text was updated successfully, but these errors were encountered:
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
This is easily remedied by changing
torch.load
totorch.from_numpy
in the youtube_dataloader's get_video function, but I thought it might be worth pointing out...The text was updated successfully, but these errors were encountered: