where to download pre-trained model_vgg19.h5

2,198 views
Skip to first unread message

Mac Drug

unread,
May 14, 2021, 1:25:12 AM5/14/21
to Keras-users
hi
where to download pre-trained  model_vgg19.h5?
thanks

Sai Durga Kamesh Kota

unread,
May 14, 2021, 3:04:20 AM5/14/21
to Keras-users
Hi

You can get the pre-trained models from keras.applications from where you can directly load the model. If you want to download the model_vgg19.h5 then you can instantiate it with the weights as imagenet and can save the model with model.save() method

You can instantiate the vgg19 model from the following code 

model= tf.keras.applications.VGG19( include_top=True, weights="imagenet", input_tensor=None, input_shape=None, pooling=None, classes=1000, classifier_activation="softmax", )

If you want to download then 

model.save('model_vgg19.h5')

To Know more about VGG19 Model refer to this link:-  https://keras.io/api/applications/vgg/#vgg19-function

Hope This answer works for you. Let me know if you need any further help.

With Regards,
Sai Durga Kamesh Kota
Data Science Intern
Sony Research India
Reply all
Reply to author
Forward
0 new messages