You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run below cmd at my CPU environment as the readme said
python -m preprocess.get_elmo_vec data/conll2003/
but get errors below, since I do not have GPU
Traceback (most recent call last):
File "/root/anaconda3/envs/pt_lstmcrf/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/root/anaconda3/envs/pt_lstmcrf/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/tmp/pytorch_lstmcrf/preprocess/get_elmo_vec.py", line 99, in <module>
get_vector()
File "/home/tmp/pytorch_lstmcrf/preprocess/get_elmo_vec.py", line 75, in get_vector
elmo = load_elmo(cuda_device)
File "/home/tmp/pytorch_lstmcrf/preprocess/get_elmo_vec.py", line 38, in load_elmo
return ElmoEmbedder(cuda_device=cuda_device)
AssertionError:
Found no NVIDIA driver on your system. Please check that you
have an NVIDIA GPU and installed a driver from
http://www.nvidia.com/Download/index.aspx
Would you share the steps to get elmo word embedding by CPU ?
The text was updated successfully, but these errors were encountered:
I run below cmd at my CPU environment as the readme said
but get errors below, since I do not have GPU
Would you share the steps to get elmo word embedding by CPU ?
The text was updated successfully, but these errors were encountered: