当前位置:网站首页>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
边栏推荐
- Pyqt interface production (login + jump page)
- Amazon, express, lazada, shopee, eBay, wish, Wal Mart, Alibaba international, meikeduo and other cross-border e-commerce platforms evaluate how Ziyang account can seize traffic by using products in th
- 4-24--4-28
- 5-1 blocking / non blocking, synchronous / asynchronous
- Zzuli:1059 highest score
- 5.4-5.5
- 创业团队如何落地敏捷测试,提升质量效能?丨声网开发者创业讲堂 Vol.03
- [ue4] Niagara's indirect draw
- cpu飙升排查方法
- Adobe Premiere Pro 15.4 has been released. It natively supports Apple M1 and adds the function of speech to text
猜你喜欢
QT - draw something else
Tonybot humanoid robot checks the port and corresponds to port 0701
Rasterization: a practical implementation (2)
提高效率 Or 增加成本,开发人员应如何理解结对编程?
tonybot 人形机器人 红外遥控玩法 0630
[wechat applet] wxss template style
Vs+qt application development, set software icon icon
Use of constraintlayout
CentOS7部署哨兵Redis(带架构图,清晰易懂)
5-1 blocking / non blocking, synchronous / asynchronous
随机推荐
Zero copy underlying analysis
7-3 rental (20 points)
[engine development] rendering architecture and advanced graphics programming
Centos7 deployment sentry redis (with architecture diagram, clear and easy to understand)
Niuke bm83 string deformation (case conversion, string inversion, string replacement)
dllexport和dllimport
Get permissions dynamically
Chapter 14 class part 1
Bucket sorting in C language
Pytoch deep learning and target detection practice notes
Zzuli:1043 max
7-10 stack of hats (25 points) (C language solution)
C language to realize mine sweeping
tonybot 人形機器人 紅外遙控玩法 0630
There are links in the linked list. Can you walk three steps faster or slower
[engine development] in depth GPU and rendering optimization (basic)
牛客 BM83 字符串变形(大小写转换,字符串反转,字符串替换)
PS tips - draw green earth with a brush
How to query the baby category of tmall on Taobao
Vs+qt multithreading implementation -- run and movetothread