当前位置:网站首页>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
边栏推荐
- Puzzle (016.4) domino effect
- Creation of data table of Doris' learning notes
- Qt development - scrolling digital selector commonly used in embedded system
- 406. Reconstruct the queue according to height
- 556. The next larger element III: simple construction simulation questions
- 5-1 blocking / non blocking, synchronous / asynchronous
- Zzuli:1049 square sum and cubic sum
- C language memory function
- Zero copy underlying analysis
- 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
猜你喜欢
dllexport和dllimport
How to color ordinary landscape photos, PS tutorial
[qingniaochangping campus of Peking University] in the Internet industry, which positions are more popular as they get older?
Code writing and playing method of tonybot humanoid robot at fixed distance
tonybot 人形机器人 定距移动 代码编写玩法
C string format (decimal point retention / decimal conversion, etc.)
表单文本框的使用(一) 选择文本
To improve efficiency or increase costs, how should developers understand pair programming?
Bucket sorting in C language
创业团队如何落地敏捷测试,提升质量效能?丨声网开发者创业讲堂 Vol.03
随机推荐
Zzuli:1054 monkeys eat peaches
Centos7 deployment sentry redis (with architecture diagram, clear and easy to understand)
mmdetection 学习率与batch_size关系
Luogu p5018 [noip2018 popularization group] symmetric binary tree problem solution
[qingniaochangping campus of Peking University] in the Internet industry, which positions are more popular as they get older?
retrofit
C language to implement a password manager (under update)
2021-10-16 initial programming
The latest M1 dedicated Au update Adobe audit CC 2021 Chinese direct installation version has solved the problems of M1 installation without flash back!
[ue4] cascading shadow CSM
Bucket sorting in C language
Tonybot Humanoïde Robot Infrared Remote play 0630
[opengl] geometry shader
[wechat applet] wxss template style
Solve the problem that PR cannot be installed on win10 system. Pr2021 version -premiere Pro 2021 official Chinese version installation tutorial
Get permissions dynamically
Use of form text box (I) select text
NOI OPENJUDGE 1.4(15)
牛客 BM83 字符串变形(大小写转换,字符串反转,字符串替换)
406. Reconstruct the queue according to height