In case anyone is using this in python 3, you would likely need to make some changes to the standalone numpy python file:
i) Instead of import cPickle as pickle, you can do "import _pickle as pickle"
ii) Instead of "self.vars = pickle.load(fid)", you can do "self.vars = pickle.load(fid, encoding='latin1')"
iii) Also, replace any np.bool with bool if you are using a more recent numpy version
Hopefully, this helps!
In case anyone is using this in python 3, you would likely need to make some changes to the standalone numpy python file:
i) Instead of import cPickle as pickle, you can do "import _pickle as pickle"
ii) Instead of "self.vars = pickle.load(fid)", you can do "self.vars = pickle.load(fid, encoding='latin1')"
iii) Also, replace any np.bool with bool if you are using a more recent numpy version
Hopefully, this helps!