Skip main navigation

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

Find out more

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

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now