Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 530 Bytes

Paddle_2_ONNX.md

File metadata and controls

16 lines (12 loc) · 530 Bytes

Paddle to ONNX

  1. Install Repository PaddleSeg

  2. Refer Deployment , exporting ONNX model with command as follow:

    cd PaddleSeg
    python deploy/python/infer_onnx_trt.py \
        --config <path to config> \
        --model_path <path to model> \
        --width <img_width> \
        --height <img_height> 
    

    The ONNX model will be generated in ./output