From the course: Deep Learning and Computer Vision: Object Detection with PyTorch
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Using GitHub Codespaces for PyTorch development - PyTorch Tutorial
From the course: Deep Learning and Computer Vision: Object Detection with PyTorch
Using GitHub Codespaces for PyTorch development
- [Instructor] Welcome back. In this video, we will see how to use GitHub codespaces for PyTorch development. codespaces allows us to run our code in the cloud. This means we don't have to install PyTorch or any other dependencies locally on our PC. This makes collaboration and cloud-based development much easier with complex libraries. Let's start by launching the GitHub codespace. First, we should navigate to our GitHub repository and click on the code button. There is an option to open with codespaces, select this option and create a new codespace. Once the codespace is launched, we will have a fully functional development environment with an integrated terminal and editor. That's awesome. Now, once we are inside the codespace, let's install PyTorch. Open the terminal and run the following command to install PyTorch and its dependencies. We can also manage dependencies using requirements.txt or environment dot files, which are automatically installed when the codespace starts. This…