Skip to content

_pickle.UnpicklingError: invalid load key, 'v'. #2

@echojiashu

Description

@echojiashu

Problem description:
I am running this project(research-summarization) in PyCharm with the following environment:
Windows-10
Python 3.5.6 |Anaconda, Inc.| (default, Aug 26 2018, 16:05:27) [MSC v.1900 64 bit (AMD64)]
NumPy 1.14.2
SciPy 1.1.0
gensim 3.8.1
FAST_VERSION 1

I am running this project with the default configuration:
"The Opinosis dataset is included, and main.py is configured to run on this dataset by default."
But I got the following problems, I need some advice for debugging.
Thank you very much.

X:\python-workspace\research-summarization-master\venv\Scripts\python.exe X:/python-workspace/research-summarization-master/main.py
Traceback (most recent call last):
File "X:/python-workspace/research-summarization-master/main.py", line 103, in
dataset_name=dataset_name
File "X:\python-workspace\research-summarization-master\enrichers\pipeline.py", line 17, in init
self.enrichers[e] = enrich_class(*args, **kwargs)
File "X:\python-workspace\research-summarization-master\enrichers\summarizer.py", line 89, in init
model = Word2Vec.load(files.get(model_path, model_path)).wv
File "C:\Users\UNI\Anaconda3\envs\python35\lib\site-packages\gensim\models\word2vec.py", line 1330, in load
model = super(Word2Vec, cls).load(*args, **kwargs)
File "C:\Users\UNI\Anaconda3\envs\python35\lib\site-packages\gensim\models\base_any2vec.py", line 1244, in load
model = super(BaseWordEmbeddingsModel, cls).load(*args, **kwargs)
File "C:\Users\UNI\Anaconda3\envs\python35\lib\site-packages\gensim\models\base_any2vec.py", line 603, in load
return super(BaseAny2VecModel, cls).load(fname_or_handle, **kwargs)
File "C:\Users\UNI\Anaconda3\envs\python35\lib\site-packages\gensim\utils.py", line 426, in load
obj = unpickle(fname)
File "C:\Users\UNI\Anaconda3\envs\python35\lib\site-packages\gensim\utils.py", line 1384, in unpickle
return _pickle.load(f, encoding='latin1')
_pickle.UnpicklingError: invalid load key, 'v'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions