sklearn joblib unpickle error

635 views
Skip to first unread message

idez...@gmail.com

unread,
Apr 9, 2019, 8:52:07 AM4/9/19
to physionet-challenges
Hi,
I keep getting this error when I am trying to load my model parameters from a file in sklearn anybody else faced the same problem?

Error: "./next.sh p000142" failed (status 1) after 1.22e+09 instructions

---- output of 'next.sh p000142' ----
Traceback (most recent call last):
  File "RunRF.py", line 21, in <module>
    clf = joblib.load('RF_model.pkl')
  File "/usr/lib/python3/dist-packages/joblib/numpy_pickle.py", line 577, in load
    obj = _unpickle(fobj, filename, mmap_mode)
  File "/usr/lib/python3/dist-packages/joblib/numpy_pickle.py", line 507, in _unpickle
    obj = unpickler.load()
  File "/usr/lib/python3.5/pickle.py", line 1043, in load
    dispatch[key[0]](self)
KeyError: 2

thanks.
Reply all
Reply to author
Forward
0 new messages