Starting from:

$30

VE581-Homework 2 Solved

Note:  

•      In Homework #2 mini-project assignment, you will build and train a convolutional neural networks (classifier) for traffic sign recognition based on German Traffic Sign Dataset, with an accuracy on the validation set of 95% or greater.

 

Submission files (to Canvas):

•      Jupyter notebook with code or python file with code

•      PDF of the code

•      A writeup PDF report:

o The report would describe the main steps that you used to  

§  explore the dataset

§  design and test your classifier

§  use your classifier to make predictions on the new images o Please include the necessary code or figures

 

(Total: 100 points)

1.      Import your data:

a.       We’ve provided the dataset through canvas which includes the training, validation and test set.

b.      Please use the following code to import your data:

  

2.      Data Exploration:

a. (6 points) Dataset Summary

i.           Number of samples in each set

ii.        Shape of the traffic image ie. (x, x, x)

iii.      Number of classes/labels

                                                                                                                                             Page 1 of 2 

                        b.   (4 points) Exploratory Visualization

                                         i.   For each class/label, plot a sample image

3.     Design and Test a Classifier (or model architecture)

a.     Preprocess the dataset using techniques such as normalization, colors converting, and explain why you choose those techniques in report

b.        Design your model architecture with at least 5 layers, and show the architecture in your report

c.       (10 points) Compile your model: choose the loss function, optimizer, and metrics, batch size, number of epochs, and other relevant values of hyperparameters

d.        Train your model, and plot your training history

e.        Tune your model or change your model if your validation accuracy is less than 95%, and save your final model which has a validation accuracy higher than 95%

f.      Evaluate your final model’s performance, and make predictions on 10 randomly selected test image

4.      Test Your Classifier on New Images

a.       Download 10 pictures of the traffic signs from the internet and use your model to predict the traffic sign type. You might need to preprocess the pictures.

b.       Output the top 5 softmax probabilities for each above picture

5.      (optional bonus: 5 points) Visualize selected layers of convolutional neural networks of the test images to help you understand what features your model extracted from the images.

Page 2 of 2 

More products