From the course: Deep Learning and Computer Vision: Object Detection with PyTorch
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Getting started with PyTorch - PyTorch Tutorial
From the course: Deep Learning and Computer Vision: Object Detection with PyTorch
Getting started with PyTorch
- [Instructor] Welcome to the video on getting started with PyTorch Development. PyTorch is a powerful and flexible deep learning library that's widely used for building and training deep neural networks. In this video, we'll go through the basics of PyTorch and learning how to create tenors and perform basic operations. Before we deep dive into coding, let's set up PyTorch in our environment. If you're using pip, you can install PyTorch by running the following command, pip install torch touchvision. For those learners who are using Anaconda, they can use the below command to install PyTorch with GPU support if CUDA is set up. Now, let's talk about tensors. What are they? In PyTorch, tensors are multi-dimensional array, similar to NumPy arrays in Python, but they come up with some extra functionalities. One of them is GP acceleration. They are the core data structures we'll be using throughout this course. Now, let's set up a simple two by three tensor to get started. Here, we have…