How to train you neural net [Image [0]]

How to train your neural net

This notebook takes you through the implementation of multi-class image classification with CNNs using the Rock Paper Scissor dataset on PyTorch.

Import Libraries

import numpy as np
import pandas as pd
import seaborn as sns
from tqdm.notebook import tqdm
import matplotlib.pyplot as plt
import torch
import torchvision
import torch.nn as nn
import torch.optim as optim
import torch.nn.functional as F
from torchvision import…

How to train you neural net [Image [0]]

How to train your neural net

Import Libraries

import numpy as np
import pandas as pd
import seaborn as sns
from tqdm.notebook import tqdm
import matplotlib.pyplot as plt
import torch
import torchvision
import torch.nn as nn
import torch.optim as optim
import torch.nn.functional as F
from torchvision import transforms, utils, datasets
from torch.utils.data import Dataset, DataLoader, SubsetRandomSampler
from sklearn.metrics…

How to train you neural net [Image [0]]

How to train your neural net

This notebook takes you through an implementation of random_split, SubsetRandomSampler, and WeightedRandomSampler on Natural Images data using PyTorch.

Import Libraries

import numpy as np
import pandas as pd
import seaborn as sns
from tqdm.notebook import tqdm
import matplotlib.pyplot as plt
import torch
import torchvision
import torch.nn as nn
import torch.optim as optim
import torch.nn.functional as F
from…

How to train you neural net [Image [0]]

How to train your neural net

We will use the red wine quality dataset available on Kaggle. This dataset has 12 columns where the first 11 are the features and the last column is the target column. The data set has 1599 rows.

Import Libraries

We’re using tqdm to enable progress bars for training and testing loops.

import…

How to train you neural net [Image [0]]

How to train your neural net

We will use the wine dataset available on Kaggle. This dataset has 12 columns where the first 11 are the features and the last column is the target column. The data set has 1599 rows.

Import Libraries

We’re using tqdm to enable progress bars for training and testing loops.

import numpy as…

How to train you neural net [Image [0]]

How to train your neural net

In this blog post, we will implement 1D and 2D convolutions using torch.nn.

What is a CNN?

A Convolutional Neural Network is type of neural network that is used mainly in image processing applications. Other applications of CNNs are in sequential data such as audio, time series, and NLP. Convolution is one of the…

How to train you neural net [Image [0]]

How to train your neural net

With all the hype around PyTorch, I decided to take the plunge and learn it towards the end of 2019. Getting started was kind of tough because there are not a lot of tutorials which (in my opinion) are good for beginners. …

Computer Vision and Deep Learning.

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