load onnx to tensorrt

I want to use tensorrt to accelerate yolov3, I had created onnx by yolo model,now I want to load onnx to tensorrt

with open("../market1.engine", "wb") as f:
            f.write(engine.serialize())

however, the maket1.engine is only 1.7k,
who can tell me what happend ?