google-research / electra

ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators
Apache License 2.0
2.33k stars 352 forks source link

NumPy Import Error #126

Open tommybean opened 3 years ago

tommybean commented 3 years ago

Whenever I try to use run_pretraining.py I get an error telling me that importing the NumPy C-extensions failed. I have already verified I am using the correct Python version and NumPy version the error specifies, Python 3.6 and NumPy 1.18.5. Additionally, this error only seems to occur when using a virtual environment with Tensorflow 1.15.

Has anyone else run into this issue? If so, how did you resolve it?

AetherPrior commented 3 years ago

Could you post the traceback and the arguments specified?

tommybean commented 3 years ago

@AetherPrior Sure. Inkednumpyerror1_LI Inkednumpyerror2_LI I also did make sure that mkl-service is installed.