Snipaste_2020-10-09_14-24-131080×478 20.9 KB
I am trying to use pytorch with gpu, but it is so weird that torch can detect gpu(cuda) on ipython console, but not on python console.
It seems both of them are using the same python interpreter, but the environment is different.