I'm a new, novice user of Jupyter
; having just successfully installed Anaconda, along with some packages I need (tensorflow
and keras
), I keep on getting 'the kerneal appears to have died. It will restart automatically'
error message when I try to run this cell:
import tensorflow as tf
from keras.preprocessing.image import ImageDataGenerator
Other cells before the above cell execute ok.
Error message screenshot:
I'm using an m1 Apple chip.
To resolve the issue I have already tried the following:
- Refresh the page and try running the code again.
- Restart the kernel. You can do this by going to the "Kernel" menu and selecting "Restart".
- If restarting the kernel doesn't work, try shutting down the notebook completely and reopening it.
- If none of the above steps work, you can try reinstalling Jupyter Notebook or restarting your computer.
- Check if there is any code that may be causing the kernel to crash, such as an infinite loop or large memory usage. If you suspect this is the case, try modifying your code to avoid these issues.