Hi, I have the same problem. And I even use three libraries : *> import segmentation_models as sm* *> from tensorflow.keras.metrics import MeanIoU*
and the last library I use in the middle of code for One Hot Encoding *> from keras.utils import to_categorical* After each importing library, restarting kernel happens. As a result, and it forgets the previous one. I've tried to use all together in the beginning, but it doesn't work. Also, I try to find something in the settings of Spider to fix it. If someone had the same issue, please, tell us how to fix it. Thanks! On Sunday, 14 November 2021 at 23:32:30 UTC+1 [email protected] wrote: > After I update my spyder, when I want to draw a plot or there is something > wrong in my code, spyder will always show restarting kernel. I try some > simple cases, but it is still the same. My python version is 3.7.11 > and IPython is 7.29.0. Can anyone help me? > > [image: 屏幕截图 2021-11-06 165927.png] > -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/spyderlib/34c11bb5-8ac3-4abd-a759-c98e4d7b4d84n%40googlegroups.com.
