Skip to content

Commit

Permalink
added allow_pickle=True to np.load()
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkokotila committed Aug 2, 2019
1 parent 6a4fbfa commit 3fed99e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion talos/commands/restore.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def __init__(self, path_to_zip):
z.extractall(self.extract_to)

# add params dictionary
self.params = load(self.file_prefix + '_params.npy').item()
self.params = load(self.file_prefix + '_params.npy', allow_pickle=True).item()

# add experiment details
self.details = read_csv(self.file_prefix + '_details.txt', header=None)
Expand Down

0 comments on commit 3fed99e

Please sign in to comment.