Closed Stelath closed 2 years ago
This was thrown as a result of me running:
sudo python3.7 pretrain_DAMSM.py --cfg cfg/DAMSM/book.yml --gpu 0
UPDATE: Upon editing the file, it appears that none of the installed modules are able to be imported
I think the problem is the environment. You'd better create an Anaconda virtual environment to install the required packages. Take it as a reference: https://github.com/huiyegit/APLC_XLNet
It seems that switching from a python 3.7 conda environment to a python 3.6 conda environment solved the problem, thanks!
I'm very sorry for posting such a simple bug but for the life of me I can't figure out why its throwing this error, I have tried reinstalling numpy and have all the required packages. Numpy even works when running other python files but not here for some reason.
Error: