1) Build a simple CNN for an input image 40x40x3 and filter 3x3x3. You will have 3 convolutional layers and 2 pooling (max pooling) layers. You can use no padding and stride 1. Draw the network. 2) Build a simple CNN for an input image 60x40x3 and filter 3x3x3. You will have 3 convolutional layers and 2 pooling (avg pooling) layers. You should use padding and stride 2. Draw the network.
Added by Steven A.
Step 1
Step 1: For the first CNN with input image 40x40x3 and filter 3x3x3, we will start with the input layer of size 40x40x3. Show more…
Show all steps
Your feedback will help us improve your experience
Akash M and 87 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Compute the forward pass of the following part of a convolutional net: If I is the following image patch: 1 3 2 4 6 4 4 8 3 1 0 2 2 1 4 3 9 1 4 7 2 3 9 2 and W is the following 3-by-3 filter matrix: -1 0 1 -1 0 1 -1 0 1 Compute J, K, and O. You are not doing any zero padding while doing the convolution. Assume stride size 1 for the convolution. Assume a 2-by-2 max pooling with stride 2. Write J, K, and O below. Now assume that the ideal output IO=[7,10]. Also assume the loss as 0.5 times the square of the Euclidean distance between IO and O. Compute back-propagation for O, K, J, and W.
Akash M.
Consider a CNN that takes in 32 × 32 grayscale images and has asingle convolution layer with three 5 × 5 convolution filters (withoutboundary padding).(a) Draw a sketch of the input and first hidden layer similar toFigure 10.8.(b) How many parameters are in this model?(c) Explain how this model can be thought of as an ordinary feedforwardneural network with the individual pixels as inputs, andwith constraints on the weights in the hidden units. What arethe constraints?(d) If there were no constraints, then how many weights would therebe in the ordinary feed-forward neural network in (c)?Please draw the sketch. Original answers only.
Please complete the following using Python. To implement a multi-layer feedforward back-propagation algorithm (we can just call it ANN) that can "Teach a Neural Network for Classification". Requirement: 1. You must have three layers (input, hidden, and output) in your architecture. 2. Use the Sigmoid function as your transfer function. Implement the ANN (NOT perceptron) to recognize 4 blocks image (such as the one image shown below) to make a decision if an image is BRIGHT or DARK. Remember that we have 16 samples for the input. You must have at least three layers in your ANN: input layer, hidden layer, and output layer. + If it contains 2, 3, or 4 white pixels, it is "bright" + If it contains 0 or 1 white pixels, it is "dark
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD