Skip to content
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

Why does the warning occur? And is it necessary to fix it? #4

Closed
ghost opened this issue Feb 24, 2021 · 1 comment
Closed

Why does the warning occur? And is it necessary to fix it? #4

ghost opened this issue Feb 24, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 24, 2021

The warning is as the following:

lib/python3.6/site-packages/spacy/util.py:275: UserWarning: [W031] Model 'en_vectors_web_lg' (2.1.0) requires spaCy v2.1 and is incompatible with the current spaCy ver
sion (2.3.5). This may lead to unexpected results or runtime errors. To resolve this, download a newer compatible model or retrain your custom model with the current spaCy version. For more details and availabl
e updates, run: python -m spacy validate
  warnings.warn(warn_msg)

Why does the warning occur? And is it necessary to fix it?

@ghost
Copy link
Author

ghost commented Feb 24, 2021

I have fixed it by downgrading spaCy to v2.1.

@ghost ghost closed this as completed Feb 24, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants