Keras

Keras Pre-Trained Models

Keras Pre-Trained Models

There are some pre-trained models in Keras as follows:

  • MobileNetV2: This model can be trained using ImageNet. The syntax if this model is as shown below:
​​​​​​​keras.applications.mobilenet_v2.MobileNetV2 (
   alpha = 1.0, 
   input_shape = None, 
   include_top = True, 
   input_tensor = None, 
   pooling = None, 
   weights = 'imagenet', 
   classes = 800
)

VGG16: This model is also trained using ImageNet and the syntax is shown below:

keras.applications.inception_v3.InceptionV3 (
   include_top = True, 
   pooling = None, 
   classes = 2000
   weights = 'imagenet', 
   input_tensor = None, 
   input_shape = None, 
)
  • InceptionV3:The syntax for this model is given below:

keras.applications.inception_v3.InceptionV3 (
   include_top = True, 
   pooling = None, 
   classes = 2000
   weights = 'imagenet', 
   input_tensor = None, 
   input_shape = None, 
)
  • InceptionResNetV2: This model can be loaded using the syntax below:
keras.applications.inception_resnet_v2.InceptionResNetV2 (
   include_top = True, 
   input_tensor = None, 
   input_shape = None, 
   weights = 'imagenet',
   pooling = None, 
   classes = 2000
)

 

Top course recommendations for you

    Docker Swarm Project
    1 hrs
    Beginner
    819 Learners
    4.55  (22)
    Collections in Java
    3 hrs
    Beginner
    4.5K+ Learners
    4.59  (150)
    PyCharm for Beginners
    1 hrs
    Beginner
    2.7K+ Learners
    4.41  (136)
    Git Tutorial
    2 hrs
    Beginner
    10.2K+ Learners
    4.53  (699)
    Create a IPL theme Landing page with CSS and HTML
    1 hrs
    Beginner
    6.8K+ Learners
    4.3  (297)
    PyTest Basics
    2 hrs
    Beginner
    2.7K+ Learners
    4.41  (132)
    Python MySQL
    1 hrs
    Beginner
    11.5K+ Learners
    4.51  (480)
    Python Automation Project
    2 hrs
    Beginner
    6.7K+ Learners
    4.57  (209)
    Python For Android
    2 hrs
    Beginner
    5.2K+ Learners
    4.5  (109)
    Kivy Projects
    2 hrs
    Beginner
    1.8K+ Learners
    4.48  (52)