Keras

Keras Applications

Keras Applications

There is an application module in Keras that provides a pre-trained model for creating deep neural networks. The pre-trained models consist of two parts Architecture and model Weights. Some popular pre-trained models include:

  • VGG16
  • MobileNet
  • InceptionV3
  • ResNet
  • InceptionResNetV2

​​​​​​​You can easily load a model with the help of the following code:

import keras 
import numpy as np 

from keras.applications import vgg16, inception_v3, resnet50, mobilenet 
vgg_m = vgg16.VGG16(weights = 'imagenet') 

model_inception = inception_v3.InceptionV3(weights = 'imagenet') 
#Load the ResNet50 model 
model_resnet = resnet50.ResNet50(weights = 'imagenet')

After the model is successfully loaded, you can immediately use it to check the prediction. 

Top course recommendations for you

    Backtracking Algorithm
    1 hrs
    Beginner
    1.9K+ Learners
    4.49  (80)
    Become Full Stack Developer
    1 hrs
    Beginner
    45.9K+ Learners
    4.28  (1027)
    Bitcoin for Beginners
    1 hrs
    Beginner
    6K+ Learners
    4.49  (338)
    Pygame Basics
    1 hrs
    Beginner
    4.8K+ Learners
    4.37  (119)
    Inheritance in Java
    1 hrs
    Beginner
    3.7K+ Learners
    4.63  (142)
    Tic Tac Toe Python
    1 hrs
    Beginner
    2.2K+ Learners
    4.64  (58)
    Anaconda Python
    2 hrs
    Beginner
    2.6K+ Learners
    4.62  (105)
    Operators in MySQL
    2 hrs
    Beginner
    6.6K+ Learners
    4.51  (239)
    Advanced SQL
    1 hrs
    Intermediate
    20.2K+ Learners
    4.49  (921)
    Errors in Java Programming
    2 hrs
    Beginner
    2.6K+ Learners
    4.49  (65)