natural-language-image-search
natural-language-image-search copied to clipboard
ValueError: cannot reshape array of size 924786624 into shape (1981161,512)
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")