当前位置:网站首页>Visual model network connection
Visual model network connection
2022-07-25 18:34:00 【Write code_ pretty good】
Thank you to this blogger , Let me know how to visualize the model network , Can only use a handle Pytorch Drag the model of Netron in , But no network connection , It turned to onnx, That's all right. , thank !
def test():
args = parser.parse_args()
repvgg_build_func = get_RepVGG_func_by_name(args.arch)
model = repvgg_build_func(deploy=args.mode=='deploy')
model.eval()
# convert to onnx
print('=====convert to onnx=======')
dummy_input = torch.randn(1, 3, 224, 224)
torch.onnx.export(model, dummy_input, 'RepVGG-A1.onnx', export_params=True, verbose=False, input_names=['input0'],
output_names=['output0'])
print('=====convert sucess=======')
exit()

【 Network understanding 】RepVGG: Making VGG-style ConvNets Great Again_songlixiangaibin The blog of -CSDN Blog _repvgg Code
边栏推荐
- 论文修改回复1
- TypeError: Unrecognized value type: <class ‘str‘> ParserError: Unknown string format
- [haoi2015] tree operation
- How to add EXE file to boot
- Disk performance and capacity
- Paper revision reply 1
- [web page performance optimization] what about the slow loading speed of the first screen of SPA (single page application)?
- c语言---25 扫雷游戏
- Optimistic lock resolution
- Today's sleep quality record is 84 points
猜你喜欢

3DE reply

Introduction notes of JVM foundation and problem analysis

C language -- 25 minesweeping game
![[web page performance optimization] what about the slow loading speed of the first screen of SPA (single page application)?](/img/e2/9b62dd9bd0f2bc8dcbb6d9c851254d.png)
[web page performance optimization] what about the slow loading speed of the first screen of SPA (single page application)?

How to build an enterprise level OLAP data engine for massive data and high real-time requirements?

电流探头在ECU、电气系统电流测量的应用

One week activity express | in simple terms, issue 8; Meetup Chengdu station registration in progress

ZFS - 01 - basic operations of creating and expanding zpool

如何创建一个有效的帮助文档?

动态内存管理
随机推荐
VIM basic operation commands
Software testing -- common testing tools
[Huawei machine test real question] string matching
How to add EXE file to boot
[QNX Hypervisor 2.2用户手册]9.4 dryrun
中信证券低佣金开户免5是真的吗,安全吗
String function and memory function (2)
Tensor to img && imge to tensor (pytorch的tensor转换)
Oracle uses impdp import to report an error: ora-39001: invalid parameter value ora-39000: dump file description error ora-39088: file name cannot contain path description
电流探头在ECU、电气系统电流测量的应用
对角化、A的幂
Insufficient space on Disk C mklink solves vscode expansion migration to other disks
rust多线程安全计数
软件测试——常用的测试工具
Jz32 print binary tree from top to bottom
PHP memory management mechanism and garbage collection mechanism
C language libcurl cross compilation
15. Simple salary management system design
Taishan Office Technology Lecture: conversion relations of inch, centimeter, pound, pika, Ti, line, word line and pixel
NC68 跳台阶