当前位置:网站首页>可视化模型网络连接
可视化模型网络连接
2022-07-25 18:26:00 【写代码_不错哦】
感谢这位博主,让我知道了怎么可视化模型网络,只会用把 Pytorch 的模型拖进 Netron 中,但是没有网络连接,原来转为 onnx,就可以了,感谢!
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()

【网络理解】RepVGG: Making VGG-style ConvNets Great Again_songlixiangaibin的博客-CSDN博客_repvgg代码
边栏推荐
- Connect to MySQL using sqldeveloper
- 7. Dependency injection
- mysql的小数number类型select之后丢失了前面的0
- 中信证券低佣金开户免5是真的吗,安全吗
- 工程师必看的示波器探头安全使用说明书
- 1---电子实物认知
- Use of join function in MATLAB
- Experimental reproduction of image classification (reasoning only) based on caffe resnet-50 network
- Could not stop Cortex-M device! please check the JTAG cable的解决办法
- Bl602 development environment setup
猜你喜欢

Detailed explanation of super full mavan label

408 Chapter 2 linear table

MySQL index optimization introduction

1---电子实物认知

tkinter GUI版通信录管理系统

Boomi won the "best CEO in diversity" and the "best company in career growth" and ranked among the top 50 in the large company category

BiSeNet v1

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

图的相关操作

imx6 RTL8189FTV移植
随机推荐
What are the methods of traversing arrays? What is the difference between the performance of the for loop foreach for/in for/of map and how to choose?
CircleIndicator组件,使指示器风格更加多样化
数二2010真题考点
11.2-HJ86 求最大连续bit数
Insufficient space on Disk C mklink solves vscode expansion migration to other disks
一周活动速递|深入浅出第8期;Meetup成都站报名进行中
nodejs 简单例子程序之express
一次备库的坏块的修复过程
Design practice of Netease strictly selecting inventory center
How to create an effective help document?
Thales launches solutions to help SAP customers control cloud data
NC15 求二叉树的层序遍历
「行话」| 用DevOps高效交付游戏,是种什么体验?
Save the image with gaussdb (for redis), and the recommended business can easily reduce the cost by 60%
MySQL optimistic lock
[NOI2015] 软件包管理器
Flexible current probe selection guide
泛域名配置方法
[QNX hypervisor 2.2 user manual]9.4 dryrun
c语言---25 扫雷游戏