Code 4: Internal Error (Engine deserialization failed)

I am trying to run yolov4 tensorrt with custom weights. I changed but this error shows up:
GPU: NVIDIA GeForce GTX 1650 Ti

python3 --video yolo/vid.mp4 -m yolov4


We recommend you please refer to the official TensorRT sample to convert the Yolo model to TensorRT.
If you still face any issue, please share with us the issue repro ONNX model and trtexec --verbose logs for better debugging.

Thank you.