当前位置:网站首页>Paddlepaddle model to onnx
Paddlepaddle model to onnx
2022-04-23 03:35:00 【Crispy eggplant strips】
1. First the paddlepaddle Turn the training model into reasoning model
paddlepaddle The training model includes .pdparams Document and .pdopt file ,.pdparams The file is the model weight ,.pdopt The file stores the parameters used for breakpoint training ;
utilize paddledetection Of tools In the directory export_model.py, take paddlepaddle The training model is transformed into reasoning model .
The converted reasoning model is shown in the figure below :
2. install paddle2onnx
pip install paddle2onnx
3. utilize paddle2onnx Transformation model
# stay cmd Execute the following operations in the command
paddle2onnx --model_dir E:\wyk\PaddleDetection-release-2.3\output_inference\lite_hrnet_30_384x288_coco --model_filename model.pdmodel --params_filename model.pdiparams --opset_version 11 --save_file test.onnx
transformation onnx Example , As shown in the figure below .
版权声明
本文为[Crispy eggplant strips]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220602451848.html
边栏推荐
- PYMOL-note
- Three types of jump statements
- 2022 团体程序设计天梯赛 模拟赛 L2-4 哲哲打游戏 (25 分)
- Database - MySQL -- Navicat import SQL error 1067 - invalid default value for 'paydate‘
- Using jsonserialize to realize data type conversion gracefully
- Design and implementation of redis (2): how to handle expired keys
- Software testing process
- Unity knowledge points (ugui)
- Activity supports multi window display
- Instructions for fastmock
猜你喜欢
Romantic silhouette of L2-3 of 2022 group programming ladder Simulation Competition (25 points)
Codeforces Round #784 (Div. 4)題解 (第一次AK cf (XD
"Visual programming" test paper
Using swagger in. Net5
【微服务】(十)—— 统一网关Gateway
Common net HP UNIX system FTP server listfiles returns null solution.
Identificateur, mot - clé, type de données
The principle and solution of not allowing pasting in an English Network
The art of concurrent programming (2): synchronized usage scenarios
Design and implementation of redis (1): understand data structures and objects
随机推荐
Unity knowledge points (ugui 2)
Téléchargement en vrac de fichiers - téléchargement après compression
List interface of collection
SQL topic exercise summary
The fourth operation
Variables, constants, operators
Activity supports multi window display
QT dynamic translation of Chinese and English languages
Explanation keyword of MySQL
Notes sur l'apprentissage profond (Ⅱ) - - Principe et mise en oeuvre de la fonction d'activation
Detailed description of MySQL index [B + tree index, hash index, full-text index, overlay index]
Design and implementation of redis (2): how to handle expired keys
Batch download of files ---- compressed and then downloaded
VS Studio 修改C语言scanf等报错
Un aperçu des flux d'E / s et des opérations de fichiers de classe de fichiers
JS takes out the same elements in two arrays
深度学习笔记(二)——激活函数原理与实现
A hundred dollars for a hundred chickens
2022 团体程序设计天梯赛 模拟赛 1-8 均是素数 (20 分)
The art of concurrent programming (6): explain the principle of reentrantlock in detail