add allow_pickle for reuters
This commit is contained in:
parent
8b7052c4d8
commit
4f3262d439
@ -80,7 +80,7 @@ def load_data(path='reuters.npz',
|
||||
path,
|
||||
origin=origin_folder + 'reuters.npz',
|
||||
file_hash='87aedbeb0cb229e378797a632c1997b6')
|
||||
with np.load(path) as f:
|
||||
with np.load(path, allow_pickle = True) as f:
|
||||
xs, labels = f['x'], f['y']
|
||||
|
||||
np.random.seed(seed)
|
||||
|
Loading…
Reference in New Issue
Block a user