Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. from tensorflow import keras
  2.  
  3. # Create the base model from the pre-trained model MobileNet V2
  4. base_model = keras.applications.InceptionV3(input_shape=IMG_SHAPE,
  5. # We cannot use the top classification layer of the pre-trained model as it contains 1000 classes.
  6. # It also restricts our input dimensions to that which this model is trained on (default: 299x299)
  7. include_top=False,
  8. weights='imagenet')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement