当前位置:网站首页>Yolov5 series (I) -- network visualization tool netron
Yolov5 series (I) -- network visualization tool netron
2022-07-03 14:55:00 【A large piece of meat floss】
One 、 Introduce
netron: Network visualization tools , Using this software can clearly show the input and output of each layer of the network model , The overall structure of the network , And support different network frameworks .
Like the image below :
Two 、 Installation steps ( Introduce windows System installation )
( For other versions, please refer to Blog )
1、 Open this link :Github Download link
Open the above link , Row down install, choice windows download 
2、 Select as shown in the figure below Netron-Setup-5.8.9.exe, Download and install

3、 After successful installation, the following display :

3、 ... and 、 open yolov5 The model of the series
1、 transformation
because netron Yes .pt Your files are not very compatible , So you need to convert the file , stay yolov5 In Engineering , Provides export.py, File conversion is possible 
2、 Directly input the following commands at the terminal
python export.py --weights yolov5s.pt --include onnx
Be careful : Pay attention when entering commands export.py and yolo5s.pt The path of
I am directly in the directory of this file , So there is no need to write other paths 
After executing the order , Will be in yolov5s.pt Generated under the same level directory yolov5s.onnx
At this point, you can use network visualization tools netron open
Four 、 Possible problems in executing commands
requirements: onnx not found and is required by YOLOv5, attempting auto-update...
requirements: 'pip install onnx' skipped (offline)
ONNX: export failure: No module named 'onnx'
terms of settlement
install onnx
pip install onnx
Then there is no problem to execute the above command
边栏推荐
- [ue4] Niagara's indirect draw
- Fundamentals of PHP deserialization
- tonybot 人形机器人 红外遥控玩法 0630
- 7-10 stack of hats (25 points) (C language solution)
- Zzuli:1049 square sum and cubic sum
- Tonybot humanoid robot infrared remote control play 0630
- 7-3 count the number of words in a line of text
- QT - draw something else
- 5-1 blocking / non blocking, synchronous / asynchronous
- dllexport和dllimport
猜你喜欢

tonybot 人形機器人 紅外遙控玩法 0630
![[ue4] HISM large scale vegetation rendering solution](/img/a2/2ff2462207e3c3e8364a092765040c.jpg)
[ue4] HISM large scale vegetation rendering solution

Pytorch深度学习和目标检测实战笔记
![[ue4] cascading shadow CSM](/img/83/f4dfda3bd5ba0172676c450ba7693b.jpg)
[ue4] cascading shadow CSM

Tencent internship interview sorting

ASTC texture compression (adaptive scalable texture compression)

表单文本框的使用(一) 选择文本

How can entrepreneurial teams implement agile testing to improve quality and efficiency? Voice network developer entrepreneurship lecture Vol.03

How to color ordinary landscape photos, PS tutorial
![[engine development] rendering architecture and advanced graphics programming](/img/a4/3526a4e0f68e49c1aa5ce23b578781.jpg)
[engine development] rendering architecture and advanced graphics programming
随机推荐
406. 根据身高重建队列
[engine development] in depth GPU and rendering optimization (basic)
分布式事务(Seata) 四大模式详解
[graphics] adaptive shadow map
Yolov5进阶之七目标追踪最新环境搭建(二)
Analysis of gene family characteristics - chromosome location analysis
C language to realize mine sweeping
[opengl] geometry shader
Pytoch deep learning and target detection practice notes
5-1 blocking / non blocking, synchronous / asynchronous
4-29——4.32
TPS61170QDRVRQ1
[graphics] hair simulation in tressfx
Write a 2-minute countdown.
Creation of data table of Doris' learning notes
Vs+qt multithreading implementation -- run and movetothread
CentOS7部署哨兵Redis(带架构图,清晰易懂)
Chapter 14 class part 1
ASTC texture compression (adaptive scalable texture compression)
Simulation of LS -al command in C language