当前位置:网站首页>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] geometry drawing pipeline
- [opengl] pre bake using computational shaders
- Pytorch深度学习和目标检测实战笔记
- 556. The next larger element III: simple construction simulation questions
- Tonybot humanoid robot starts for the first time 0630
- CentOS7部署哨兵Redis(带架构图,清晰易懂)
- [opengl] advanced chapter of texture - principle of flowmap
- [combinatorics] permutation and combination (set combination, one-to-one correspondence model analysis example)
- [ue4] cascading shadow CSM
- 【微信小程序】WXSS 模板样式
猜你喜欢

Adobe Premiere Pro 15.4 has been released. It natively supports Apple M1 and adds the function of speech to text

链表有环,快慢指针走3步可以吗

【微信小程序】WXSS 模板样式

To improve efficiency or increase costs, how should developers understand pair programming?

Introduction to opengl4.0 tutorial computing shaders

Rasterization: a practical implementation (2)

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

Detailed explanation of four modes of distributed transaction (Seata)

分布式事务(Seata) 四大模式详解

tonybot 人形機器人 紅外遙控玩法 0630
随机推荐
Talking about part of data storage in C language
C language to realize mine sweeping
Fundamentals of PHP deserialization
7-3 rental (20 points)
[graphics] adaptive shadow map
Devaxpress: range selection control rangecontrol uses
tonybot 人形机器人 红外遥控玩法 0630
Dllexport et dllimport
tonybot 人形机器人 查看端口并对应端口 0701
创业团队如何落地敏捷测试,提升质量效能?丨声网开发者创业讲堂 Vol.03
NOI OPENJUDGE 1.3(06)
There are links in the linked list. Can you walk three steps faster or slower
Zzuli:1049 square sum and cubic sum
Analysis of gene family characteristics - chromosome location analysis
Web server code parsing - thread pool
Timecho of Tianmou technology completed an angel round financing of nearly 100 million yuan to create a native timing database of the industrial Internet of things
.NET六大设计原则个人白话理解,有误请大神指正
C language to implement a password manager (under update)
PS tips - draw green earth with a brush
Class part2