当前位置:网站首页>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
边栏推荐
- L3-011 direct attack Huanglong (30 points)
- 2022 group programming ladder game simulation L2-4 Zhezhi game (25 points)
- 打卡:4.22 C语言篇 -(1)初识C语言 - (11)指针
- Optimization of especially slow startup in idea debugging mode
- A hundred dollars for a hundred chickens
- Leetcode 617 merge binary tree
- The art of concurrent programming (3): an in-depth understanding of the principle of synchronized
- Punch in: 4.22 C language chapter - (1) first knowledge of C language - (11) pointer
- VS Studio 修改C语言scanf等报错
- L3-011 直捣黄龙 (30 分)
猜你喜欢

C set

Problem a: face recognition

QT learning summary

Learn about I / O flow and file operations

Design and implementation of redis (4): what is the event driver of redis

Unity Basics

Unity games and related interview questions

Using swagger in. Net5

Common net HP UNIX system FTP server listfiles returns null solution.

2022 group programming ladder game simulation L2-4 Zhezhi game (25 points)
随机推荐
QT dynamic translation of Chinese and English languages
Section 2 map and structure in Chapter 6
Idea debug debugging tutorial
MySQL query specifies that a row is sorted to the first row
Applet - more than two pieces of folding and expansion logic
Unity knowledge points (common core classes)
Detailed description of MySQL index [B + tree index, hash index, full-text index, overlay index]
Identificateur, mot - clé, type de données
Punch in: 4.22 C language chapter - (1) first knowledge of C language - (11) pointer
MySQL is completely uninstalled and MySQL service is cleaned up
Supersocket is Use in net5 - startup
Three types of cyclic structure
[microservices] (x) -- Unified gateway
The art of concurrent programming (2): synchronized usage scenarios
常用的辅助类
Codeforces Round #784 (Div. 4)題解 (第一次AK cf (XD
Learn about I / O flow and file operations
MySQL zip installation tutorial
List interface of collection
Codeforces round 784 (Div. 4) (AK CF (XD) for the first time)