Hi, I fixed it when I put it to Google Colab, because the last didn't 
restart kernel and just showed the exceptions, which I fixed.

On Tuesday, 7 December 2021 at 01:54:04 UTC+1 Tetiana Luhacheva wrote:

> 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/3df7b748-f632-4852-b946-8176e2c89c9an%40googlegroups.com.

Reply via email to