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')
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