L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Déploiement et opérations · SKILL.md

deployment-and-export

deployment-and-export

Exports PaddleDetection models and plans Paddle Inference, Python/C++, Serving, Lite, ONNX, FastDeploy, TensorRT, and benchmark deployment workflows.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: deployment-and-export description: "Exports PaddleDetection models and plans Paddle Inference, Python/C++, Serving, Lite, ONNX, FastDeploy, TensorRT, and benchmark deployment workflows." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

Deployment and Export

Use this route to export a trained model, inspect exported artifacts, run Paddle Inference deployment, prepare Serving/Lite/ONNX/FastDeploy paths, or plan TensorRT/benchmark checks.

Workflow

  1. Start from a validated training config and weights file/URL. Confirm the model family supports the target backend.
  2. Build an export command with scripts/build_export_deploy_command.py. Export should produce infer_cfg.yml, model.pdmodel, model.pdiparams, and model.pdiparams.info in the model directory.
  3. Inspect the exported directory with scripts/inspect_inference_model.py before deploying.
  4. For Python Paddle Inference, choose --device=CPU/GPU/XPU, --run_mode=paddle/trt_fp32/trt_fp16/trt_int8, input source, threshold, batch size, MKLDNN or TensorRT options.
  5. For Serving, Lite, ONNX, FastDeploy, C++, or vendor backends, read the corresponding reference and verify the external runtime before running conversion/build commands.
  6. Use scripts/convert_infer_cfg_to_json.py for the small Paddle Lite config conversion helper.

References

Skills enregistrées