Flash Sale: Flat 70% + Addl. 25% Off on all Courses | Use Coupon DS25 in Checkout | Offer Expires InEnroll Now
Let us have a complete picture of our new VGG16 model.
We could view that using the
summary() method on the
Also, we could visualize them using
plot_model, a Keras utility. Let's see how!
Note: Make sure to execute these code lines in separate code cells of your notebook for better visualization experience.
View the architectural summary of the pre-trained model(without the top dense layers), which is our
vgg_base, by using
vgg_base.summary() as below.
from tensorflow.keras.utils import << your code comes here >>
plot_model imported above to graphically visualize the architecture of pre-trained
<< your code comes here >>(vgg_base, show_shapes=True, show_layer_names=True)
show_shapes=True is used to display the shape of input and output tensors for each layer in the model.
show_layer_names=True is used to display the layer names.
Similarly, let us view the architectural summary of our custom model built on top of the pre-trained VGG model, which is our
vgg_model to view its summary.
plot_model to graphically visualize the architecture of pre-trained
<< your code comes here >>(vgg_model, show_shapes=True, show_layer_names=True)
No hints are availble for this assesment
Answer is not availble for this assesment
Note - Having trouble with the assessment engine? Follow the steps listed here