Posts

Showing posts from June, 2019

Day 1: Explore loading model code

Image
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 ...

Day 0: Preparation day

Image
This journey started when I received the "You have been accepted into the Secure and Private AI Scholarship Challenge Program" email. One of the challenge in this project is to code in 60 days. My project would be Jar Classification Machine . Let us see if I can manage to implement further up to a mobile application. The project is similar to dog and cat classification. But this time, I want to classify the jars according to its model and brand. My dream is to have a visual scanner mobile app, a kind of barcode reader but this time just by take the photo of a jar. Why it is a dream, because I don't think I can manage to finish by having a fully working mobile app. I just want to take a step by step to achieve that, it may take more than 60 days, but I do not care. The progress is the important thing. Today is preparation day. First I setup this blog to record all activities. I chose blogspot for the sake of simplicity. In just few minutes it can be run. I unders...