Day 1: Explore loading model code
Yesterday, I started with running dog classification project. However, I found out the Lesson 2 Deep Learning with PyTorch: 21 Loading image was more suitable as the basis to study the code. Today, I revisit the material on Lesson 2: 21 Loading image. Images are the real high quality images, but probably in different sizes. The first step would be to make this images have the same sizes and probably crop them as well using transforms compose. In the example, transform = transforms . Compose ([ transforms . Resize ( 255 ), transforms . CenterCrop ( 224 ), transforms . ToTensor ()]) I think I need to ask this in tech_help channel, Resize and CenterCrop which one is executed first and 255 and 224 is pixel or other? Quick help from the channel. It make sense now. Running Part 7 exercise locally, I got an error on torchvision. It seemed yesterday code to install pytorch was not correct. Below ...