natural-language-image-search icon indicating copy to clipboard operation
natural-language-image-search copied to clipboard

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

Open Techsetter opened this issue 1 year ago • 1 comments

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")

Techsetter avatar Feb 11 '23 04:02 Techsetter