Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from tensorflow import keras
- # Create the base model from the pre-trained model MobileNet V2
- base_model = keras.applications.InceptionV3(input_shape=IMG_SHAPE,
- # We cannot use the top classification layer of the pre-trained model as it contains 1000 classes.
- # It also restricts our input dimensions to that which this model is trained on (default: 299x299)
- include_top=False,
- weights='imagenet')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement