Kernel died, restarting on training spaCy NER model
See original GitHub issuei am getting following error whenever i am training the model.
Kernel died, restarting
kernel is restarting in this line. Inside a loop.
self._nlp.update([text],[annotations],drop=float(dropout),sgd=optimizer,losses=losses)
occasionally it works and train successfully but most of the times it is restarting the kernel when i individually run the failed text it passes but training fails most of the time any help will be appreciated
Your Environment
- Operating System: Windows 10
- Python Version Used: 3.6.5
- spaCy Version Used: 2.0.10
- Environment Information: Anaconda
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Jupyter Kernel dies/Spyder console stops while training ...
I understand that the deprecated version of spacy is not throwing the value error but still it's of no use as I am...
Read more >Jupyter, Python: the kernel appears to have died while training ...
I am training my model on almost 200 000 images, i'm using Jupyter and now after 3 days of training ( i used...
Read more >explosion/spaCy - Gitter
My model is training normally for custom ner but it's to_disk and load that's giving me ... If I restart the kernel in...
Read more >RuntimeError in Jupyter Kernel Gateway on Docker
When I try to execute Jupyter Kernel Gateway on Docker, I get the below error: ... Kernel dies/Spyder console stops while training custom...
Read more >The kernel appears to have died | Data Science and ... - Kaggle
The problem arises in the loop over training epochs. TensorFlow is set up to load the OpenMP library multiple times, which will cause...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I had to reduce my batch size to 3 to reduce the “crash chance” to below 1 out of every 10 iterations. Would be helpful if spaCy can throw an Exception instead of just crashing the kernel.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.