-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error #21
Comments
+1 |
@shibin2018 @JennieCheng Try this: |
The problem still exists. What should I do |
you can use : |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
F:\Anaconda\envs\Transformer-master\python.exe E:/Transformer-master/train.py -src_data english.txt -trg_data french.txt -src_lang en -trg_lang fr -epochs 10
loading spacy tokenizers...
Traceback (most recent call last):
File "E:/Transformer-master/train.py", line 184, in
main()
File "E:/Transformer-master/train.py", line 96, in main
SRC, TRG = create_fields(opt)
File "E:\Transformer-master\Process.py", line 35, in create_fields
t_src = tokenize(opt.src_lang)
File "E:\Transformer-master\Tokenize.py", line 7, in init
self.nlp = spacy.load(lang)
File "F:\Anaconda\envs\Transformer-master\lib\site-packages\spacy_init_.py", line 15, in load
return util.load_model(name, **overrides)
File "F:\Anaconda\envs\Transformer-master\lib\site-packages\spacy\util.py", line 119, in load_model
raise IOError(Errors.E050.format(name=name))
OSError: [E050] Can't find model 'en'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.
The text was updated successfully, but these errors were encountered: