Search code examples
tensorflowkeraspre-trained-model

How to Load a pre-trained model into Keras without the Weight and bias?


I need to Load a pre-trained model into Keras without the Weight and bias. I also just want to use the Architecture of the model alone for my training.

Example: I want to load coco_mobilenet model pre-trained without Weights and bias.

Any suggestions would be appreciated.


Solution

  • net=keras.applications.MobileNet(weight=None)
    net.summary()
    

    view keras mobilenet api for detail