Hi Peter
I figured this issue out finally. The problem that I was facing with PyTorch was the same as in using Tensorflow. I checked the kernel specs being used by Spyder and Jupyter Notebook (import sys then sys.executable) and they differed. So I ran “python -m ipykernel install --user” in my DeepLearning env and that fixed it. Thought that you should know this
Clive