当前位置:网站首页>Yolov5系列(一)——网络可视化工具netron
Yolov5系列(一)——网络可视化工具netron
2022-07-03 14:53: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
之后再执行上述命令就没有问题了
边栏推荐
- Puzzle (016.3) is inextricably linked
- C language to implement a password manager (under update)
- pyQt界面制作(登录+跳转页面)
- The picture quality has been improved! LR enhancement details_ Lightroom turns on AI photo detail enhancement: picture clarity increases by 30%
- Rasterization: a practical implementation (2)
- Zzuli:1043 max
- Table of mathematical constants by q779
- Déformation de la chaîne bm83 de niuke (conversion de cas, inversion de chaîne, remplacement de chaîne)
- dllexport和dllimport
- Use of constraintlayout
猜你喜欢

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

Analysis of gene family characteristics - chromosome location analysis

B2020 分糖果

Adc128s022 ADC Verilog design and Implementation

Vs+qt application development, set software icon icon

4-29——4.32

Introduction to opengl4.0 tutorial computing shaders

Qt development - scrolling digital selector commonly used in embedded system

远程服务器后台挂起 nohup

Solve the problem that PR cannot be installed on win10 system. Pr2021 version -premiere Pro 2021 official Chinese version installation tutorial
随机推荐
PHP GD image upload bypass
Zzuli:1055 rabbit reproduction
How to color ordinary landscape photos, PS tutorial
dllexport和dllimport
牛客 BM83 字符串变形(大小写转换,字符串反转,字符串替换)
Plane vector addition
Luogu p4047 [jsoi2010] tribal division solution
Solve the problem that PR cannot be installed on win10 system. Pr2021 version -premiere Pro 2021 official Chinese version installation tutorial
Zzuli:1053 sine function
[opengl] geometry shader
[graphics] hair simulation in tressfx
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
Tensor 省略号(三个点)切片
【微信小程序】WXSS 模板样式
Zzuli: cumulative sum of 1050 factorials
B2020 分糖果
关于敏捷的一些概念
Qt—绘制其他东西
[engine development] rendering architecture and advanced graphics programming
mmdetection 学习率与batch_size关系