1. Homepage
  2. Programming
  3. Introduction to Computer Vision (ECSE 415) Assignment 4: Neural Networks

Introduction to Computer Vision (ECSE 415) Assignment 4: Neural Networks

Engage in a Conversation
McGillEECS415Introduction to Computer VisionNeural NetworksCIFAR-10YOLOPython

Introduction to Computer Vision (ECSE 415) Assignment 4: Neural Networks CourseNana.COM

DEADLINE: November, 3rd
Please submit your assignment solutions electronically via the myCourses assignment dropbox. CourseNana.COM

The submission should include a single Jupyter notebook. More details on the format of the submission can be found below. Submissions that do not follow the format will be penalized 10%. CourseNana.COM

The assignment will be graded out of a total of 100 points. There are 50 points for accurate analysis and description, 40 points for bug-free and clean code, and 10 points concerning the appropriate structure in writing your report with citations and references. CourseNana.COM

Each assignment will be graded according to defined rubrics that will be visible to students. Check out MyCourses, the "Rubrics" option on the navigation bar. You can use OpenCV, sklearn, skimage, Numpy, and Pytorch library functions for all parts of the assignment except those stated otherwise. Students are expected to write their own code. (Academic integrity guidelines can be found here). CourseNana.COM

Assignments received late will be penalized by 10% per day. CourseNana.COM

Submission Instructions CourseNana.COM

  1. Submit a single Jupyter notebook consisting of the solution of the entire assignment. CourseNana.COM

  2. Comment your code appropriately. CourseNana.COM

  3. Give references for all codes which are not written by you. (Ex. the code is taken from an online source or from tutorials) CourseNana.COM

  4. Do not forget to run Markdown (’Text’) cells. CourseNana.COM

  5. Do not submit input/output images. Output images should be displayed in the Jupyter CourseNana.COM

    notebook itself. CourseNana.COM

  6. Make sure that the submitted code is running without error. Add a README file if required. CourseNana.COM

  7. If external libraries were used in your code please specify their name and version in the README file. CourseNana.COM

  8. We are expecting you to make a path variable at the beginning of your codebase. This should point to your working local (or google drive) folder.
    Ex. If you are reading an image in the following format: CourseNana.COM

            img = cv2.imread ( ’/content/drive/MyDrive/Assignment1/images/shapes.png’ )
    

    Then you should convert it into the following: CourseNana.COM

            path = ’/content/drive/MyDrive/Assignment1/images/’
            img = cv2.imread(path + ’shapes.png’)
    

    Your path variable should be defined at the top of your Jupyter notebook. While grading, we are expecting that we just have to change the path variable once and it will allow us to run your solution smoothly. Specify, your path variable in the README file. CourseNana.COM

  9. Answers to reasoning questions should be comprehensive but concise. CourseNana.COM

CourseNana.COM

1 Part 1 - CIFAR-10 Classification using Convolution Neural Network (50 points) CourseNana.COM

For this assignment, you are going to train models on the subset derived from the publicly available CIFAR-10 dataset source. The CIFAR-10 dataset consists of 60000 32x32 color images in 10 classes, with 6000 images per class. For more information, you are encouraged to look at their webpage. In this section, you are expected to implement a Convolution Neural Network(CNN) to classify the images based on their context. GPU is recommended for executing the code in this section. CourseNana.COM

  1. Use Pytorch class torchvision.datasets.CIFAR10 to load the dataset and use the batch size of 32. CourseNana.COM

  2. Implement a CNN with the layers mentioned below. CourseNana.COM

  3. Create an instance of SGD optimizer with a learning rate of 0.002. Use the default setting for the rest of the hyperparameters. Create an instance of categorical cross entropy criterion. CourseNana.COM

  4. Train the CNN for 10 epochs and show the performance on the test images by displaying the accuracy. CourseNana.COM

  5. Change the kernel size to 5x5 and train the new network with the same hyperparameters. CourseNana.COM

  6. Compare the run time and the results of models under different kernel sizes and briefly discuss the possible factors that affect the performances of a CNN. CourseNana.COM

2 Part 2 - YOLO Object Detection on Montréal Streets (50 points) CourseNana.COM

YOLO is a fast object detection technique that is widely used in many research aspects. In this section, you will be asked to take a photo of a street in Montreal and summarize the information in this image by using a trained YOLO model. CourseNana.COM

  1. Use your cellphone or a digital camera to capture of a street scene in Montréal. CourseNana.COM

  2. Implement the YOLOv3 object detection approach to identify what are the types of objects included in the image (such as person, bicycle, vehicle, tree) and count the number of each object. CourseNana.COM

  3. Show your result in a table with categories as the index column and quantity as the value column. CourseNana.COM

  4. Display the original and predicted images in your notebook. CourseNana.COM

Tips: This section does not ask to implement and train the model. You may find useful information on how to use a well-constructed YOLO model from this website.  CourseNana.COM

Get in Touch with Our Experts

WeChat (微信) WeChat (微信)
Whatsapp WhatsApp
McGill代写,EECS415代写,Introduction to Computer Vision代写,Neural Networks代写,CIFAR-10代写,YOLO代写,Python代写,McGill代编,EECS415代编,Introduction to Computer Vision代编,Neural Networks代编,CIFAR-10代编,YOLO代编,Python代编,McGill代考,EECS415代考,Introduction to Computer Vision代考,Neural Networks代考,CIFAR-10代考,YOLO代考,Python代考,McGillhelp,EECS415help,Introduction to Computer Visionhelp,Neural Networkshelp,CIFAR-10help,YOLOhelp,Pythonhelp,McGill作业代写,EECS415作业代写,Introduction to Computer Vision作业代写,Neural Networks作业代写,CIFAR-10作业代写,YOLO作业代写,Python作业代写,McGill编程代写,EECS415编程代写,Introduction to Computer Vision编程代写,Neural Networks编程代写,CIFAR-10编程代写,YOLO编程代写,Python编程代写,McGillprogramming help,EECS415programming help,Introduction to Computer Visionprogramming help,Neural Networksprogramming help,CIFAR-10programming help,YOLOprogramming help,Pythonprogramming help,McGillassignment help,EECS415assignment help,Introduction to Computer Visionassignment help,Neural Networksassignment help,CIFAR-10assignment help,YOLOassignment help,Pythonassignment help,McGillsolution,EECS415solution,Introduction to Computer Visionsolution,Neural Networkssolution,CIFAR-10solution,YOLOsolution,Pythonsolution,