Weights.h5 convert to trtexec engine

Description

How to convert weights.h5 model to weights.engine file.
Kindly give the steps for the same.

Environment

TensorRT Version: 7.0
GPU Type: T4
Nvidia Driver Version: 440
CUDA Version: 10.2
CUDNN Version:
Operating System + Version: 18.04
Python Version (if applicable):
TensorFlow Version (if applicable):
PyTorch Version (if applicable):
Baremetal or Container (if container which image + tag):

Hi @GalibaSashi,
You can do the conversion with the below mentioned steps
Keras<< ONNX<< TRT
Please check the below link for Keras to Onnx conversion

Thanks!

I tried but can you give additional steps. Because I could not even load the model let alone convert it to onnx.
It is VGG16 model
Thanks

Hi @GalibaSashi
Please follow the steps in the below link for the conversion.


Thanks!