当前位置:网站首页>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
之後再執行上述命令就沒有問題了
边栏推荐
- 2022/02/14
- Tonybot humanoid robot starts for the first time 0630
- Zzuli:1048 factorial table
- 7-3 count the number of words in a line of text
- Zzuli:1059 highest score
- Rasterization: a practical implementation (2)
- 5.4-5.5
- 零拷贝底层剖析
- Creation of data table of Doris' learning notes
- [combinatorics] permutation and combination (set combination, one-to-one correspondence model analysis example)
猜你喜欢
C string format (decimal point retention / decimal conversion, etc.)
Detailed explanation of four modes of distributed transaction (Seata)
创业团队如何落地敏捷测试,提升质量效能?丨声网开发者创业讲堂 Vol.03
复合类型(自定义类型)
ASTC texture compression (adaptive scalable texture compression)
Byte practice surface longitude
How to query the baby category of tmall on Taobao
亚马逊、速卖通、Lazada、Shopee、eBay、wish、沃尔玛、阿里国际、美客多等跨境电商平台,测评自养号该如何利用产品上新期抓住流量?
提高效率 Or 增加成本,开发人员应如何理解结对编程?
[engine development] rendering architecture and advanced graphics programming
随机推荐
远程服务器后台挂起 nohup
dllexport和dllimport
5-1 blocking / non blocking, synchronous / asynchronous
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
Several sentences extracted from the book "leather bag"
Tonybot Humanoïde Robot Infrared Remote play 0630
Zzuli:1057 prime number determination
Tensor 省略号(三个点)切片
Piwigo 2.7.1 sqli learning
[graphics] real shading in Unreal Engine 4
B2020 points candy
Showmebug entered Tencent conference, opening the era of professional technical interview
链表有环,快慢指针走3步可以吗
[qingniaochangping campus of Peking University] in the Internet industry, which positions are more popular as they get older?
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
Solve the problem that PR cannot be installed on win10 system. Pr2021 version -premiere Pro 2021 official Chinese version installation tutorial
C string format (decimal point retention / decimal conversion, etc.)
4-29——4.32
QT program font becomes larger on computers with different resolutions, overflowing controls