Technical Answers For Real World Problems Digital Assignment 2
Technical Answers For Real World Problems Digital Assignment 2
PROBLEMS
DIGITAL ASSIGNMENT 2
CONTENT
S. NUMBER TITLE
1 PROBLEM STATEMENT
2 OBJECTIVE
3 ALGORITHM
Problem Statement
1. Plants play an essential role in climate change, agriculture industry and a country's
economy. Thereby taking care of plants is very crucial.
2. Identification of the plant diseases is the key to preventing the losses in the yield and
quantity of the agricultural product but it is very difficult task in agriculture field. Wrong
decision can lead to devastating loss on the production of crop and economical value of
market.
3. Farmers try to identify and diagnose the diseases and monitor the health of plants with
their own knowledge and experience. Their naked eyes can’t observe big plantation area
and it can be expensive too.
4. Leaf disease detection demands huge amount of work, knowledge in the plant diseases, and
also require the more processing time. Identification includes finding visually observable
patterns seen on the plant Existing models are used for limited crops.
5. If the scope of project is big then accuracy is less.
6. These kinds of software don’t have user friendly interface.
Objective
Using Deep Learning for Image-Based Plant Disease Detection
ALGORITHM
DATASET
Dataset contains 54,306 images of plant leaves, which 38 class labels. The dataset is split into
two parts, training and validation.
DATA AUGMENTATION
For the training, following transformations were applied to the dataset
Random Rotation
Image is rotated horizontally
DATA NORMALIZATION
Input images has been normalize using the formula for the all the three channels RGB
For the means, it's ' [0.485, 0.456, 0.406]' and for the standard deviations ''[0.229, 0.224,
0.225]' These values will shift each color channel to be centered at 0 and range from -1 to 1.
Each ResNet block is either 2 layer deep (Used in small networks like ResNet 18, 34) or 3 layer
deep( ResNet 50, 101, 152).
ResNet-152, both have about 60M parameters so we Freeze parameters so we don't backprop through
them.
We Define a new, untrained feed-forward network as a classifier, using ReLU activations
We create classifier ordered dictionary first and since the pretranined model has 1000 classes
in the final layer and we need only 38 classes, we replace the final layer of the pretrained model
with our untrained feed-forward network
TRAINING
BACKPROPAGATION
OPTIMIZATION
TESTING