Comments (4)
Should all be fixed in Thinc 6.9. Thanks for your patience!
from thinc.
Try uninstalling, then reinstalling with pip install spacy-nightly --no-cache-dir
?
from thinc.
Thanks @honnibal , unfortunately that didn't help, even if I do a full reinstall of the whole container (docker) I get this:
File "py.py", line 2, in <module>
spacy.load("en")
File "/usr/local/lib/python3.6/site-packages/spacy/__init__.py", line 13, in load
return util.load_model(name, **overrides)
File "/usr/local/lib/python3.6/site-packages/spacy/util.py", line 103, in load_model
return load_model_from_link(name, **overrides)
File "/usr/local/lib/python3.6/site-packages/spacy/util.py", line 122, in load_model_from_link
return cls.load(**overrides)
File "/usr/local/lib/python3.6/site-packages/spacy/data/en/__init__.py", line 12, in load
return load_model_from_init_py(__file__, **overrides)
File "/usr/local/lib/python3.6/site-packages/spacy/util.py", line 155, in load_model_from_init_py
return load_model_from_path(data_path, meta, **overrides)
File "/usr/local/lib/python3.6/site-packages/spacy/util.py", line 136, in load_model_from_path
cls = get_lang_class(meta['lang'])
File "/usr/local/lib/python3.6/site-packages/spacy/util.py", line 41, in get_lang_class
module = importlib.import_module('.lang.%s' % lang, 'spacy')
File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 978, in _gcd_import
File "<frozen importlib._bootstrap>", line 961, in _find_and_load
File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
File "/usr/local/lib/python3.6/site-packages/spacy/lang/en/__init__.py", line 15, in <module>
from ...language import Language
File "/usr/local/lib/python3.6/site-packages/spacy/language.py", line 19, in <module>
from .syntax.parser import get_templates
File "arc_eager.pxd", line 12, in init spacy.syntax.parser
File "search.pxd", line 72, in init spacy.syntax.arc_eager
ValueError: thinc.extra.search.MaxViolation has the wrong size, try recompiling. Expected 104, got 128
Info about spaCy
- spaCy version: 2.0.0a14
- Platform: Linux-4.9.27-moby-x86_64-with-debian-8.9
- Python version: 3.6.2
- Models: en
Info about model en
- lang: en
- pipeline: ['tensorizer', 'tagger', 'parser', 'ner']
- name: core_web_sm
- license: CC BY-SA
- author: Explosion AI
- url: https://explosion.ai
- version: 2.0.0a4
- spacy_version: >=2.0.0a14
- parent_package: spacy-nightly
- email: [email protected]
- description: English multi-task CNN trained on OntoNotes, with GloVe vectors trained on common crawl. Assigns word vectors, context-specific token vectors, POS tags, dependency parse and named entities.
Lmk, if I can check something else.
from thinc.
I'm having the same issue on macOs. I tried a fresh install, in a new virtual env, in python 2 or 3. As well as a --no-cache-dir
. But still doesn't work. (but works with thinc==6.8.1)
from thinc.
Related Issues (20)
- Documentation of Model.from_disk HOT 1
- `SparseLinear` does not look up weights correctly
- Improving type definitions for forward/backward in models
- Segfault possibly caused by changes to `MaxOut` in v8.1.1 HOT 11
- Wrong entry-point fix_random_seed
- Type checkers don't like non-literal `__all__` in `thinc.api` for exposing the public interface HOT 2
- Allow Pydantic >= 1.10 HOT 2
- Is there a way to check if `prefer_gpu` has been called? HOT 1
- Tracking issue for Apple M-series GPU support
- llvm error out of memory HOT 1
- 'GLIBC_2.29' not found HOT 2
- Is there anyway to load a variable in a config file as a list? HOT 3
- Is there anyway to add multiline strings in a config file? HOT 1
- `reduce_mean` with zero-length sequence fails on NumPy backend HOT 2
- Tensorflow dependency slows spacy down HOT 2
- NumPy asarray op does not respect dtype for lists HOT 1
- Documentation of Loss.get_grad confusingly describes independent variable HOT 1
- core dump on powerpc64le HOT 1
- Spacy fails with "module 'cupy' has no attribute 'cublas'" HOT 3
- Wrong blis version on Termux HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thinc.