From the course: Learning Graph Neural Networks
Unlock this course with a free trial
Join today to access over 24,400 courses taught by industry experts.
Exercise: Set up the Colab environment and libraries
From the course: Learning Graph Neural Networks
Exercise: Set up the Colab environment and libraries
- [Instructor] In this first hands-on demo, we'll see how we can work with the graph data structure in PyTorch Geometric. The graph data structure will serve as the input to the graph neural network that we'll build in the next demo. So we need to understand how we actually structure the data to feed into our neural network. Now we'll be writing all of our code using Google's Colab, so head over to colab.research.google.com. Google Colab offers Jupyter Notebooks hosted on the cloud for data science and machine learning. The Colab runtime environment comes pre-installed with most of the libraries that you'll need for ML, and you can also install additional libraries as you need. Working with Google Colab saves us the hassle of setting up notebooks running on our local machine. But the best thing about Google Colab is the fact that it gives us access to a GPU for absolutely free. The demos in this course don't really need A GPU. You can just run it on your local machine if you want to…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Introducing PyTorch Geometric2m 1s
-
(Locked)
Exercise: Set up the Colab environment and libraries4m 15s
-
(Locked)
Exercise: Setting up a graph data structure in PyG5m 26s
-
(Locked)
Exercise: Visualizing graphs and exploring graph methods5m 31s
-
(Locked)
Exercise: Visualizing and exploring a directed graph2m 42s
-
(Locked)
Exercise: Exploring the cora dataset6m 2s
-
(Locked)
Exercise: Mini batches of data3m 45s
-
(Locked)
Exercise: Representing heterogeneous graphs in PyG7m 31s
-
(Locked)
-
-