This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
When training image classification task on images with shape 32x32x3, what shape is the input to Dense neural layer?
Dense
32x32x3
1024
3072
Our dataset contains images of size 32x32x3. What should we do in order to train Dense neural network on those images?
Use Flatten layer as the first layer of the network to reshape the images
Flatten
Change the shape of the training dataset elements to be vectors of length 3072, and use a network of only one Dense layer
Any of the above solutions will work
We want to monitor the accuracy of the model on validation dataset during training. What do we need to do?
Specify metrics=['acc'] in a call to model.compile
metrics=['acc']
model.compile
Specify metrics=['acc'] in a call to model.fit
model.fit
Provide validation dataset using validation_data parameter in model.fit
validation_data
Options (a) and (c)
Options (b) and (c)
You must answer all questions before checking your work.
Was this page helpful?