Open Techsetter opened 1 year ago
Getting this error when running this code in the notebook
import pandas as pd import numpy as np
photo_ids = pd.read_csv("unsplash-dataset/photo_ids.csv") photo_ids = list(photo_ids['photo_id'])
photo_features = np.load("unsplash-dataset/features.npy")
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!
features.npy
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")