A PyTorch Environment
Ok, the goal of this article is to find out how to create our own environments and export them for future use.
First, let's find out which python version we're running when using the Python Default environment.
Ok, and I guess a bunch of packages are already there (it's Anaconda after all).
Ok great! Let's go ahead and install PyTorch... but wait! What about a GPU? Let's click on the Runtime and select the Dedicated 4 CPU + GPU, 16GB Ram as Resources.
pip install http://download.pytorch.org/whl/cu80/torch-0.4.1-cp36-cp36m-linux_x86_64.whl pip install torchvision
Awesome, let's see if we can work with this.
With that we add a new runtime (Python) of the same environment. Let's
import torch to see if it worked.
import torch import torchvision