当前位置:网站首页>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
边栏推荐
- Applet - more than two pieces of folding and expansion logic
- Design and implementation of redis (1): understand data structures and objects
- The art of concurrent programming (5): the use of reentrantlock
- 打卡:4.22 C语言篇 -(1)初识C语言 - (11)指针
- Can you answer the questions that cannot be answered with a monthly salary of 10k-20k?
- Query stored procedures in PostgreSQL
- "Visual programming" test paper
- C-10 program error correction (recursive function): number to character
- Design and implementation of redis (4): what is the event driver of redis
- 51 single chip microcomputer: D / a digital to analog conversion experiment
猜你喜欢
Codeforces Round #784 (Div. 4)題解 (第一次AK cf (XD
Instructions for fastmock
7-1 introduction to finance
Supersocket is Used in net5 - command
. net webapi access authorization mechanism and process design (header token + redis)
浅学一下I/O流和File类文件操作
Mechanical design knowledge point planning
Use of rotary selector wheelpicker
C abstract class
Design and implementation of redis (5): master-slave replication strategy and optimization
随机推荐
Wechat payment iframe sub page has no response
JS, bind the event for a label with input, and then bind the stand-alone event in the parent element. The event is executed twice and solved
Query stored procedures in PostgreSQL
Idea debug debugging tutorial
The content of the website is prohibited from copying, pasting and saving as JS code
2021-08-11
The art of concurrent programming (3): an in-depth understanding of the principle of synchronized
Test questions and some space wars
"Visual programming" test paper
深度学习笔记(二)——激活函数原理与实现
String input problem
Téléchargement en vrac de fichiers - téléchargement après compression
Detailed description of MySQL index [B + tree index, hash index, full-text index, overlay index]
Concepts of objects and classes
L3-011 direct attack Huanglong (30 points)
Section 1 array and slicing in Chapter 6
Redis (17) -- redis cache related problem solving
Applet - more than two pieces of folding and expansion logic
QT dynamic translation of Chinese and English languages
Seekbar custom style details