Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit

Semester 1, 2023

Tutorial 5

COMP4528: Computer Vision

Question 1 PyTorch installation

1. PyTorch will be used throughout Lab 5 and Assignment 2. Installing PyTorch could be tricky depending on your operating system, graphic cards etc. PyTorch supports GPU acceleration (CUDA for NVIDIA, ROCm for AMD and Metal for Apple silicon chips). If you have access to GPU resources, we suggest you install the corresponding GPU version of PyTorch. In other cases, you can install the CPU version of PyTorch. However, when training wide or deep neural networks, it would take a long time. One option is to use Google Colab, where you can access decent GPU resources (NVIDIA T4) for free, and it can significantly boost the training speed. Another approach is to use the DUG server, the instructions can be found on Wattle. But it is much more difficult to configure than Google Colab.

2. If you have any problem installing PyTorch, please feel free to ask your tutor for help!

Question 2 PyTorch introduction

1.  Complete the coding questions in COMP4528 lab5 code.ipynb .