$20 Bonus + 25% OFF
Securing Higher Grades Costing Your Pocket?
Book Your Assignment at The Lowest Price
Now!
Students Who Viewed This Also Studied
EIE557 Computational Intelligence
Questions:
1. Fine-tune the pretrained AlexNet, VGG, and ResNet on the hymenoptera_data set, and report the training and testing accuracies after every epoch. Discuss your observations based on the comparison results.
2. Utilize the pretrained AlexNet, VGG, and ResNet as the feature extractors, to perform classification on the hymenoptera_data set. Report the training and testing accuracies after every epoch, and discuss your observations based on the comparison results.
3. Train AlexNet, VGG, and ResNet from scratch on the hymenoptera_data set. Report the training and testing accuracies after every epoch, and discuss your observations based on the comparison results.
4. Make comparison between the results of fine-tuning and training from scratch, using AlexNet, VGG, and ResNet, and plot the curves of validation accuracies in terms of training epochs.
5. Make comparison between the results of feature extractors and training from scratch, using AlexNet, VGG, and ResNet, and plot the curves of validation accuracies in terms of training epochs.
Objectives
1. To understand the concepts of two types of transfer learning, i.e., fine-tuning and feature extraction.
2. To get familiar with three classical deep-learning-based architectures, i.e., AlexNet, VGG, and ResNet.
3. To use pretrained neural networks to solve visual classification tasks.
1 Transfer Learning
In this section, we first introduce two types of transfer learning related techniques, i.e., fine-tuning and feature extraction, which have been widely used to tackle various computer vision and machine learning tasks.
1.1 Fine-tuning
In the previous laboratory exercise, we discussed how to train models on the Fashion MNIST training data set, which only has 60,000 images. Here, we introduce the ImageNet, the most widely used large-scale image data set in the academic world, with more than 10 million images and objects of over 1,000 categories. Assume that we want to identify different kinds of insects in images, but the number of examples is limited. If we directly train a neural network from scratch, the accuracy of the final trained model may not meet the practical requirements.
One potential solution is to apply transfer learning to migrate the knowledge learned from the source data set to the target data set. For example, although the images in ImageNet are mostly unrelated to insects, models trained on this data set can extract more general image features that can help identify edges, textures, shapes, and object composition. These similar features may be equally effective for recognizing insects.
In this section, we introduce a powerful technique in transfer learning: fine-tuning. As shown in Fig. 1, fine tuning consists of the following four steps:
1) Pretrain a neural network model, i.e., the source model, on a source data set (usually large-scale, e.g., the ImageNet data set).
2) Create a new neural network model, i.e., the target model. This replicates all model designs and their parameters on the source model, except the output layer. We assume that the parameters of these deep models contain the knowledge learned from the source data set and this knowledge will be applicable to the target data set. We also assume that the output layer of the source model is closely related to the labels of the source data set and is therefore not used in the target model.
3) Add an output layer, whose output size is the number of categories in the target data set, to the target model, and randomly initialize the model parameters of this layer.
4) Train the target model on a target data set, such as an insect data set. We will train the output layer from scratch, while the parameters of all remaining layers are fine-tuned based on the parameters of the source model.
1.2 Feature Extraction
Another useful transfer-learning-based technique is feature extraction. Specifically, we start with a pretrained model and only update the final layer weights from which we derive predictions. It is called feature extraction, because we use the pretrained neural network as a fixed feature-extractor, and only change the output layer. Compared with the procedure of finetuning described in Section 1.1, the only difference is that in the last step, we only train the output layer, and freeze the parameters of all te remaining layers that are pretrained on the source data set.
2 Classical Deep-Learning-Based Architectures
In this section, we introduce three classical deep-learning-based architectures, including AlexNet, VGG, ResNet, which have been widely used as the backbone networks in the computer vision community.
2.1 AlexNet
AlexNet [1] was the first very successful CNN on the ImageNet data set. The overall architecture is illustrated in Fig. 2. It contains eight layers with weights; the first five are convolutional layers and the remaining three are fully connected layers. The first convolutional layer filters the 224 × 224 × 3 input image with 96 kernels of size 11 × 11 × 3, with a stride of 4 pixels. The second convolutional layer takes the output of the first convolutional layer as input, and filters its input with 256 kernels of size 5 × 5 × 48. The third, fourth, and fifth convolutional layers are connected to one another without any intervening pooling or normalization layers. The third convolutional layer has 384 kernels of size 3 × 3 × 256, connected to the (normalized, pooled) outputs of the second convolutional layer. The fourth convolutional layer has 384 kernels of size 3 × 3 × 192, and the fifth convolutional layer has 256 kernels of size 3 × 3 × 192. The fully connected layers have 4,096 neurons.
2.2 VGGVGG [2] was proposed in 2015. The main contribution of it is a thorough evaluation of networks of increasing depth, using an architecture with very small (3 × 3) filters, which shows significant improvement by pushing the depth of the CNN network to 16–19 weight layers.The related works won the first and the second places in the localisation and classification tasks, in the ImageNet Challenge 2014. The network configurations are shown in Fig. 3. The depth of the configurations increases from the left (A) to the right (E), as more layers are added (the added layers are shown in bold). The parameters of the convolutional layer are denoted as “conv(receptive field size)-(number of channels)”. The ReLU activation function is not shown for brevity.
2.3 ResNet Deeper neural networks are more difficult to train. ResNet [3] was proposed based on a residual learning framework, which can ease the training of networks that are substantially deeper thanthose used previously. It means that we explicitly reformulate the layers as learning residual functions with reference to the layer inputs, instead of learning unreferenced functions. Instead of hopping each few stacked layers directly fit a desired underlying mapping, we explicitly let these layers fit a residual mapping. Formally, denoting the desired underlying mapping as ℋ(
EIE557 Computational Intelligence
Answer in Detail
Solved by qualified expert
Get Access to This Answer
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.
Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.
Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.
Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.
34 More Pages to Come in This Document. Get access to the complete answer.
More EIE557 EIE557 Computational Intelligence: Questions & Answers
Design and implement a custom environment for your maze game. This requires producing your own unique hand-drawn map of the maze game environment and changing the HardCodedDatafile to reflect the locations and items on your map – should show wha …
View Answer
Important Note:
The university policy on academic dishonesty (cheating) will be taken very seriously in this course. You may not provide or use any solution, in whole or in part, to or by another student. You are encouraged to discuss the concepts involved in the questions with other students. If y …
View Answer
This assessment item is designed to test your understanding in Java TCP networking with multiple servers, Java Object SerializationDeserialization, Java Class Interface. The Case An online store selling two productions (Book and Movie) would like to create an application that allows customer …
View Answer
This assessment item relates to the course learning outcomes as stated in the Course Profile. Details For this assignment, you are required to develop a Menu Driven Console Java Program to demonstrate you can use Java constructs including input/output via GUI dialogs, Java primitive and built- …
View Answer
Content Removal Request
If you are the original writer of this content and no longer wish to have your work published on Myassignmenthelp.com then please raise the
content removal request.
Choose Our Best Expert to Help You
Hyde Burnett
Mechanical engineering from The State University of New York School of Engineering and Applied Sciences
650 – Completed Orders
Hire Me
Still in Two Minds? The Proof is in Numbers!
33845 Genuine Reviews With a Rating of 4.9/5.
Programing
Programming: 10 Pages, Deadline:
7 days
excellent work..great writing…on time delivery super expert…excellent work..great writing…on time delivery super expert….excellent work..great …
User ID: 4***78 London, Great Britain
Civil Engineering
Course Work: 1 Page, Deadline:
13 hours
it was very fast and convenience, i feel very confidence, quick response very expert no long wait till they assign my assignment. thank you so much.
User ID: 8***26 United States
Management
Assignment: 20 Pages, Deadline:
9 days
thank you, I scored 97/100. Thank you to all of the writers who help me get a good score.
User ID: 7***60 Germany
It Write Up
Assignment: 5.2 Pages, Deadline:
13 days
Fine. Im okay with your work i have passed the subjrct thanks thabks for your help
User ID: 6***01 London, Great Britain
Healthcare
Home Work: 10 Pages, Deadline:
6 days
Got the great grade. Thank you the expert. Will still use this service, but if the expert can give more real life example is better.
User ID: 4***0 Central District, Hong Kong
Management
Home Work: 2.4 Pages, Deadline:
3 days
perfect and well done . I enjoy working and trusting my assignment. I recommend it to all students
User ID: 8***51 Offenburg, Germany
Healthcare
Assignment: 1.2 Pages, Deadline:
16 hours
I am happy with this good work, I like to deal with my assignment group every time
User ID: 5***45 Saudi Arabia
Management
Assignment: 11 Pages, Deadline:
11 days
It was great assignment , i have got very high score on this course . many thanks
User ID: 7***78 Saudi Arabia
Management
Assignment: 12 Pages, Deadline:
17 days
Thank you for another fantastic assignment help, i very pleased on this work i must say once again thank you
User ID: 7***88 Melbourne, Australia
Marketing
Assignment: 3 Pages, Deadline:
2 days
I am happy with the result. The paper is concise and ideas are well presented. Key details needed to respond to the task are evident.
User ID: 7***73 Indonesia
Programing
Programming: 10 Pages, Deadline:
7 days
excellent work..great writing…on time delivery super expert…excellent work..great writing…on time delivery super expert….excellent work..great …
User ID: 4***78 London, Great Britain
Civil Engineering
Course Work: 1 Page, Deadline:
13 hours
it was very fast and convenience, i feel very confidence, quick response very expert no long wait till they assign my assignment. thank you so much.
User ID: 8***26 United States
Management
Assignment: 20 Pages, Deadline:
9 days
thank you, I scored 97/100. Thank you to all of the writers who help me get a good score.
User ID: 7***60 Germany
It Write Up
Assignment: 5.2 Pages, Deadline:
13 days
Fine. Im okay with your work i have passed the subjrct thanks thabks for your help
User ID: 6***01 London, Great Britain
Healthcare
Home Work: 10 Pages, Deadline:
6 days
Got the great grade. Thank you the expert. Will still use this service, but if the expert can give more real life example is better.
User ID: 4***0 Central District, Hong Kong
Management
Home Work: 2.4 Pages, Deadline:
3 days
perfect and well done . I enjoy working and trusting my assignment. I recommend it to all students
User ID: 8***51 Offenburg, Germany
Healthcare
Assignment: 1.2 Pages, Deadline:
16 hours
I am happy with this good work, I like to deal with my assignment group every time
User ID: 5***45 Saudi Arabia
Management
Assignment: 11 Pages, Deadline:
11 days
It was great assignment , i have got very high score on this course . many thanks
User ID: 7***78 Saudi Arabia
Management
Assignment: 12 Pages, Deadline:
17 days
Thank you for another fantastic assignment help, i very pleased on this work i must say once again thank you
User ID: 7***88 Melbourne, Australia
Marketing
Assignment: 3 Pages, Deadline:
2 days
I am happy with the result. The paper is concise and ideas are well presented. Key details needed to respond to the task are evident.
User ID: 7***73 Indonesia