“Understand more on ourselves through analysis”

Image for post
Image for post

Introduction

After 6 week course with Jovian.ml on Data Analysis with Python: Zero to Pandas. I am now finally able to do my Final Course Project that is related to WhatsApp chat analysis.

The reason why I choose WhatsApp as my analysis is because I always wanted to know more about my chat room behaviour. And after reading some of the notebooks from Prajwal Prashanth at Jovian.ml. It really inspired me to start this analysis as my Final Course project.

In this project, I will attempt to find out what normally I will do in a group chat with my friends such as the active hours we usually talk and the number of emoji we use in the chat. …


Image for post
Image for post

So today our objective is to see the difference in the value of accuracy using a different method to train our Image Classification model:

  1. Basic Convolutional Neural Network
  2. Transfer learning using Resnet 50
  3. Transfer learning using Resnet 18

Feel free to check out my notebook: https://jovian.ml/edsenmichaelcy/flower-classification/v/12

Contents

Step 1: Import the file we needed and put the dataset into data_dir
Step 2: Data augmentation & normalization
Step 3: Check the dataset classes and label them
Step 4: Functions to show a single picture and batch picture
Step 5:Split the training data and the validity data
Step 6: Choose the batch size, put in DataLoader and show the batch
Step 7: Get GPU up on running
Step 8: Training the Image Classification using basic CNN
Step 9:Training and Validation Datasets
Step 10: Training the model with CNN
Step 11: Predict and test the model
Step Resnet50: Transfer Learning method using Resnet50 (Pre-trained)
Step Resnet18: Transfer Learning method using Resnet18 (Pre-trained)
Final Step: Conclusion comparing the…


Introduction to PyTorch

Image for post
Image for post

So what is PyTorch why everyone is so heaping about? PyTorch is an open-source machine learning framework that mainly focuses on fast tracks the path from research prototyping to production deployment. PyTorch was primarily developed by the Facebook artificial intelligence research team. Moreover, PyTorch is used for applications such as computer vision and natural language processing.

This article is inspired by a 6-week free certification course, “Deep Learning with PyTorch: Zero to Gan” taught by Aakash N S and his team at Jovian.ml in collaboration with freeCodeCamp.

#JourneyBasicPyTorch:

Let stop wasting time and start!

→ Here are some of the functions that had chosen:

  • torch.reshape()
  • Basic Operations(eg. torch.add /sub /mul /div)
  • torch.mean()…

MichaelChiaYin

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store