Dead Kernel after running torchvision.utils.make_grid(images)
To make it simple, I am following this tutorial provided by PyTorch to create a CNN.
However, it appears that when I'm running this particular code block with this respective line:
# show images
imshow(torchvision.utils.make_grid(images))

It somehow kills the kernel. Which confuses me because it is only a simple function.
I have also went through numerous SO posts that are related to PyTorch but all of them are not related to torchvision. The most similar issue I found was posted 5 months ago without answer.
Please let me know if I need to add on any information to make this question clearer.

The same thing happened to me. Running these commands in the python interpreter, I got an error that lead me to this:
Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized
when I added the following, it worked:
import os
os.environ['KMP_DUPLICATE_LIB_OK']='True'

