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

ValueError: cannot reshape array of size 924786624 into shape (1981161,512) #26

Open
Techsetter opened this issue Feb 11, 2023 · 1 comment

Comments

@Techsetter
Copy link

Getting this error when running this code in the notebook

import pandas as pd
import numpy as np

Load the photo IDs

photo_ids = pd.read_csv("unsplash-dataset/photo_ids.csv")
photo_ids = list(photo_ids['photo_id'])

Load the features vectors

photo_features = np.load("unsplash-dataset/features.npy")

@sunovivid
Copy link

I encountered the same issue. I think it is caused by damaged features.npy.
I reran the cell for downloading files and the error is resolved!

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