Kernel appears to have died on fitting the model
See original GitHub issueI have the code like this:
# importing the libraries
import numpy as np
from lightfm.datasets import fetch_movielens
from lightfm import LightFM as lf
# fetch data and format it
data = fetch_movielens(min_rating=5.0)
# print training and testing data
print(repr(data["train"]))
print(repr(data["test"]))
# creating and fitting the model
model = lf(loss="warp")
model.fit(data["train"], epochs=30, num_threads=2)
And I always receive an error “Kernel appear to have died” on the line “model.fit” System is Ubuntu, IDLE is jupyter notebook. I tried to reduce the number of epochs to 1 and the number of threads to 1, but it still doesn’t work. What can be a problem?
Issue Analytics
- State:
- Created 5 years ago
- Comments:9
Top Results From Across the Web
The kernel appears to have died | Data Science and ... - Kaggle
My kernel dies whenever I run mode.fit on my cnn model using keras within jupyter notebook. Any idea what might be causing this?...
Read more >The kernel appears to have died. It will restart ... - YouTube
Apologies for the audio distortion in the beginning of the video: I am a robot.In this video, I'll show you how to fix...
Read more >The kernel appears to have died. It will restart automatically ...
Its possible you are using some package thats gettig called in the 3rd cell thats causing the kernel to die. Does this issue...
Read more >Jupyter | The kernel appears to have died. It will restart ...
This is the error message that I am getting: Kernel Restarting The kernel appears to have died. It will restart automatically. And, here...
Read more >Issues while importing Keras? — Kernel appears to have died.
The kernel appears to have died. It will restart automatically. “Issues while installing Keras? — Kernel appears to have died.
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 FreeTop 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
Top GitHub Comments
Finally,
conda install gxx_linux-64
solved my problem. Thanks.The Intel Core designation covers quite a lot of different CPUs with different architectures. In this case I suspect you have a CPU that’s older than the CPUs used to build the wheels (maybe it doesn’t support AVX instructions?).
The solution is to have a working C compiler and install from source, which is what installing from pip does.
On Sun, 1 Jul 2018, 12:10 balancy, notifications@github.com wrote: