Skip to content

Error when loading pre-trained Wikidata5M models (.pkl files) #99

@lena-schwert

Description

@lena-schwert

Hey,
I want to use the Wikidata5M pretrained embeddings from here for my project.

However I get an error when trying to load the model with pickle like you suggest it:

import pickle
with open("transe_wikidata5m.pkl", "rb") as fin:
    model = pickle.load(fin)

This code produces an error: ModuleNotFoundError: No module named 'easydict'

I am using a Python 3.8.12 conda environment.

Can you give me any hints on how to resolve this? Please let me know when you need additional details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions