当前位置:网站首页>Yolov5系列(一)——網絡可視化工具netron
Yolov5系列(一)——網絡可視化工具netron
2022-07-03 14:54:00 【一大塊肉松】
一、介紹
netron:網絡可視化工具,使用這個軟件可以清晰的展示網絡模型的每一層的輸入輸出,網絡的整體的架構,而且支持不同的網絡框架。
類似下圖:
二、安裝步驟(介紹windows系統安裝)
(其他版本可以參考博客)
1、打開此鏈接:Github下載鏈接
打開上述鏈接,劃到下面 install,選擇 windows 下載
2、選擇下圖所示Netron-Setup-5.8.9.exe,下載安裝

3、安裝成功之後顯示如下:

三、打開yolov5系列的模型
1、轉換
因為netron對 .pt 的文件沒有太好的兼容性,所以需要將文件進行轉換,在yolov5 工程中,提供了export.py,可以進行文件轉換
2、在終端直接輸入以下命令
python export.py --weights yolov5s.pt --include onnx
注意:輸入命令時需要注意export.py 和 yolo5s.pt 的路徑
我是直接在該文件的目錄下,所以不需要再寫其他的路徑
執行完命令,會在yolov5s.pt 同級目錄下生成 yolov5s.onnx
此時就可以用網絡可視化工具netron打開
四、執行命令可能遇到的問題
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'
解决辦法
安裝onnx
pip install onnx
之後再執行上述命令就沒有問題了
边栏推荐
- Introduction to opengl4.0 tutorial computing shaders
- C # realizes the login interface, and the password asterisk is displayed (hide the input password)
- Pytoch deep learning and target detection practice notes
- Zzuli:1057 prime number determination
- Find books ()
- [ue4] material and shader permutation
- Rasterization: a practical implementation (2)
- Zzuli:1052 sum of sequence 4
- .NET六大设计原则个人白话理解,有误请大神指正
- QT - draw something else
猜你喜欢
![[graphics] adaptive shadow map](/img/93/a6a3c7716331368c90c2c86da11f55.jpg)
[graphics] adaptive shadow map

retrofit
![[ue4] geometry drawing pipeline](/img/30/9fcf83a665043fe57389d44c2e16a8.jpg)
[ue4] geometry drawing pipeline

Puzzle (016.4) domino effect

Vs+qt multithreading implementation -- run and movetothread

How does vs+qt set the software version copyright, obtain the software version and display the version number?

4-20-4-23 concurrent server, TCP state transition;
![[graphics] efficient target deformation animation based on OpenGL es 3.0](/img/53/852ac569c930bc419846ac209c8d47.jpg)
[graphics] efficient target deformation animation based on OpenGL es 3.0

亚马逊、速卖通、Lazada、Shopee、eBay、wish、沃尔玛、阿里国际、美客多等跨境电商平台,测评自养号该如何利用产品上新期抓住流量?

The picture quality has been improved! LR enhancement details_ Lightroom turns on AI photo detail enhancement: picture clarity increases by 30%
随机推荐
cpu飙升排查方法
Zzuli:1048 factorial table
Code writing and playing method of tonybot humanoid robot at fixed distance
Pytoch deep learning and target detection practice notes
Adc128s022 ADC Verilog design and Implementation
Chapter 14 class part 1
C language fcntl function
Zzuli:1057 prime number determination
The picture quality has been improved! LR enhancement details_ Lightroom turns on AI photo detail enhancement: picture clarity increases by 30%
Yolov5进阶之七目标追踪最新环境搭建(二)
Zzuli:1059 highest score
How to color ordinary landscape photos, PS tutorial
Zzuli:1052 sum of sequence 4
C language DUP function
556. The next larger element III: simple construction simulation questions
mmdetection 学习率与batch_size关系
tonybot 人形机器人 红外遥控玩法 0630
Zzuli:1041 sum of sequence 2
表单文本框的使用(一) 选择文本
5-1 blocking / non blocking, synchronous / asynchronous