From a5fa5e38fca4eaca1e47ccfe1b00e0a61f64648b Mon Sep 17 00:00:00 2001 From: Daniele Grattarola Date: Sun, 21 Jan 2024 16:46:47 +0000 Subject: [PATCH] Fix Flickr --- spektral/datasets/flickr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spektral/datasets/flickr.py b/spektral/datasets/flickr.py index aa689fbc..c4e060db 100644 --- a/spektral/datasets/flickr.py +++ b/spektral/datasets/flickr.py @@ -52,7 +52,7 @@ def read(self): f = np.load(osp.join(self.path, "adj_full.npz")) a = sp.csr_matrix((f["data"], f["indices"], f["indptr"]), f["shape"]) - x = np.load(osp.join(self.path, "feats.npy")) + x = np.load(osp.join(self.path, "feats.npy"), allow_pickle=True) if self.normalize_x: print("Pre-processing node features")