Skip to content

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

@Techsetter

Description

@Techsetter

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions