jordanott / DeepLearning

Course material from when I taught deep learning at Chapman University
7 stars 5 forks source link

Plot Pre-Trained Resnet = Show the Model Summary? #2

Closed OliverMathias closed 4 years ago

OliverMathias commented 5 years ago

Quick question about the HW, for 3.2 it asks us to "Plot the Model." Does that mean we should show the summary of the model? Or evaluate it and print the accuracy before training somehow? plotmod

Thanks!

jordanott commented 4 years ago

To get a visual graph, in your notebook you could run:

from IPython.display import SVG
from keras.utils.vis_utils import model_to_dot

SVG(model_to_dot(model).create(prog='dot', format='svg'))

If this doesn't work for you (has issues on windows) the summary is acceptable