Skip main navigation

Get 30% off one whole year of Unlimited learning. Subscribe for just £249.99 £174.99. T&Cs apply

Practical: Using Pytorch in Colab

An article describing a simple Colab notebook demonstrating the basic use of PyTorch
In the first practical of the course we will work through a short Colab notebook introducing PyTorch in Colab

In the linked Colab notebook we will look at the following:

  • A quick recap of how Colab notebooks work
  • How to import the core PyTorch package torch
  • How to make a PyTorch tensor
  • A quick look at the torchvision library and what it contains

To work through the notebook visit the following link:

PyTorch in colab

You may wish to open the link in a new browser tab so you can refer back here quickly.

This article is from the free online

Deep Learning for Bioscientists

Created by
FutureLearn - Learning For Life