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
when I run the python preprocess.py -lang_src de -lang_trg en -share_vocab -save_data m30k_deen_shr.pkl.I have face a problem ,which is Namespace(data_src=None, data_trg=None, keep_case=False, lang_src='de', lang_trg='en', max_len=100, min_word_count=3, save_data='m30k_deen_shr.pkl', share_vocab=True) Traceback (most recent call last): File "preprocess.py", line 335, in <module> main_wo_bpe() File "preprocess.py", line 270, in main_wo_bpe src_lang_model = spacy.load(opt.lang_src) File "E:\app\aconda\envs\att\lib\site-packages\spacy\__init__.py", line 30, in load return util.load_model(name, **overrides) File "E:\app\aconda\envs\att\lib\site-packages\spacy\util.py", line 175, in load_model raise IOError(Errors.E050.format(name=name)) OSError: [E050] Can't find model 'de'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory..
How can I solve it?
The text was updated successfully, but these errors were encountered:
dapaolufuduizhang
changed the title
when I run the python preprocess.py -lang_src de -lang_trg en -share_vocab -save_data m30k_deen_shr.pkl.I have face a problem
when I run the python preprocess.py -lang_src de -lang_trg en -share_vocab -save_data m30k_deen_shr.pkl.I have faced a problem
Feb 9, 2024
when I run the
python preprocess.py -lang_src de -lang_trg en -share_vocab -save_data m30k_deen_shr.pkl
.I have face a problem ,which isNamespace(data_src=None, data_trg=None, keep_case=False, lang_src='de', lang_trg='en', max_len=100, min_word_count=3, save_data='m30k_deen_shr.pkl', share_vocab=True) Traceback (most recent call last): File "preprocess.py", line 335, in <module> main_wo_bpe() File "preprocess.py", line 270, in main_wo_bpe src_lang_model = spacy.load(opt.lang_src) File "E:\app\aconda\envs\att\lib\site-packages\spacy\__init__.py", line 30, in load return util.load_model(name, **overrides) File "E:\app\aconda\envs\att\lib\site-packages\spacy\util.py", line 175, in load_model raise IOError(Errors.E050.format(name=name)) OSError: [E050] Can't find model 'de'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.
.How can I solve it?
The text was updated successfully, but these errors were encountered: