PyTorch/Python 3.6

Torch newbie here. Installed Torch on a Ubuntu 16.04 (x64) computer running Python 3.6. I’ve been trying to run a script from an project from Udemy. The torch models import fine, but as soon as I get to the section where I need to run commands using them, the Python kernel exits… Seen quite a few posts (via Google) regarding this issue but no suggested resolutions.

Any ideas from you folks ? Thanbks


Please post your code (here or in git) and the respective exception.