Closed lena-schwert closed 2 years ago
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'
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.
Ok the solution, is simple, just install easydict with conda install -c conda-forge easydict.
easydict
conda install -c conda-forge easydict
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:
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.