In the last post we went through all the building blocks of ConVNets. Now let’s put all the concepts together and see how to do it in Pytorch. Before going into the implementation , lets see what is Data Augmentation. Augmentation:Using pytorch’s torchvision.transforms operations , we can do data augmentation.With data augmentation we can flip/shift/crop…
Tag: Python
Deep Learning with Pytorch-CNN – Getting Started – 2.0
In Deep Learning , we use Convolutional Neural Networks (ConvNets or CNNs) for Image Recognition or Classification. Computer Vision using ConvNets is one of the most exciting fields in current Deep Learning research. For more detail understanding of ConvNets , I will encourage you to go through this amazing Videos tutorials by Andrew Ng In this tutorial…
Deep Learning with Pytorch-Speeding up the training – 1.4
In the last post we saw using GPU , how we can speed the training process of Neural Network in Pytorch. Apart from GPU we can also use below mentioned three techniques to speed the training process , lets discuss them in brief before diving into the coding – 1. Normalization of input data:We have…
Deep Learning with Pytorch-nn.Sequential,GPU,Saving & Loading Model – 1.3
If you have gone through the last three posts of this series , now you should be able able to define the architecture of Deep Neural Network , define and optimize loss , you should also be now aware of few of over-fitting reduction techniques like – compare validation/test set performance with training set ,…
Deep Learning with Pytorch-DataLoader,Validation&Test,Dropouts – 1.2
In this previous post , we saw how to train a Neaural Network in Pytorch with different available modules. In this tutorial we will go through different functionalities of Pytorch like Data Loader ,Subsetsampler and how to create Validation and Test Set with the help of Data Loader. One of the main problem of Neaural…
Deep Learning with Pytorch – Neural Network Implementation – 1.1
In the last post of this series , we got the basic ideas of Pytorch and how to use few of the features of the Pytorch. In this tutorial we will go through how to code a deep neural network. First we will go through, what are the basic steps required in neural network and…
Deep Learning with Pytorch – Getting Started 1.0
The idea of this new series of posts to get you started with Pytorch and to go through with different implementations like neural networks,CNN , RNN etc. I assume that you know the theory part of deep learning. So I will cover the coding with Pytorch in this series. Now the motivation , why Pytorch…
ML Python Tutorials – 1.0 – Dimension Reduction – PCA
Machine Learning can be divided mainly in two sections – Supervised Learning – Where we teach the machines with correct answers or labels. Ex – Regression or Classification. Unsupervised Learning – We deal with unlabeled data and we either do Clustering or we go for Dimension Reduction. In this article we will go through the…
Python Tutorials – 1.6 – Class and Instances
Python Tutorials – 1.5 – Numpy
Numpy is the short form of ‘Numerical Python‘. This is one library you should learn if you are interested in Data Science with Python. The core of Numpy is it’s N-Dimension Array which is similar to List but has many advance over List like – More compact. Faster access in Reading and writing items. Ease…