Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running example script #25

Open
megawattncsu opened this issue Feb 7, 2021 · 3 comments
Open

Error running example script #25

megawattncsu opened this issue Feb 7, 2021 · 3 comments

Comments

@megawattncsu
Copy link

I'm getting the following error when I try to test the example-lexisnexis.py file

sh-4.2# python example-lexisnexis.py
Added 348 articles, skipped 0 abstracts
Loading vectorizer...
Traceback (most recent call last):
File "example-lexisnexis.py", line 26, in
df['y'] = mobj.haystack(df['TEXT'])
File "/src/mpeds/classify_protest.py", line 68, in haystack
self.hay_vect = joblib.load(resource_filename(name, 'classifiers/haystack-vect_all-source_2017-05-24.pkl'))
File "/usr/local/lib/python2.7/site-packages/sklearn/externals/joblib/numpy_pickle.py", line 598, in load
obj = _unpickle(fobj, filename, mmap_mode)
File "/usr/local/lib/python2.7/site-packages/sklearn/externals/joblib/numpy_pickle.py", line 526, in _unpickle
obj = unpickler.load()
File "/usr/local/lib/python2.7/pickle.py", line 858, in load
dispatchkey
KeyError: 'v'

I'm not sure how to fix this.

@megawattncsu
Copy link
Author

Just wondering if anyone might be able to help with this.

@alexhanna
Copy link
Member

Sorry for this -- have you installed Git LFS?

@megawattncsu
Copy link
Author

megawattncsu commented Feb 12, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants