当前位置:网站首页>可视化模型网络连接
可视化模型网络连接
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代码
边栏推荐
- Basic knowledge of documents
- 浅析回归问题、建模、预测
- If you want to do a good job in software testing, you can first understand ast, SCA and penetration testing
- C盘空间不够 mklink解决VScode扩展迁移到其他盘
- 基于Caffe ResNet-50网络实现图片分类(仅推理)的实验复现
- 408 Chapter 2 linear table
- The milestone progress has been made in the joint development of whole human GPCR antibody drugs by baicalto and liberothera
- [noi2015] package manager
- UnitTest框架应用
- Oracle import error: imp-00038: unable to convert to environment character set handle
猜你喜欢

7. Dependency injection

Related operations of figure

How to add EXE file to boot

BiSeNet v1

Connect to MySQL using sqldeveloper

Could not stop Cortex-M device! Please check the JTAG cable solution

CircleIndicator组件,使指示器风格更加多样化

Experimental reproduction of image classification (reasoning only) based on caffe resnet-50 network

RTC 性能自动化工具在内存优化场景下的实践

BiSeNet v1
随机推荐
LeetCode 101. 对称二叉树 && 100. 相同的树 && 572. 另一棵树的子树
Could not stop Cortex-M device! Please check the JTAG cable solution
Optimistic lock pessimistic lock applicable scenario
List conversion problem
一次备库的坏块的修复过程
nodejs 简单例子程序之express
Use of LCD screen of kendryte k210 on FreeRTOS
Nc78 reverse linked list
Optimistic lock resolution
C language -- 25 minesweeping game
Keil5 “Loading PDSC Debug Description Failed for STMicroelectronics STM32Hxxxxxxx”解决办法
C语言 cJSON库的使用
11.1-cm24 nearest common ancestor
STM8S003F3 uart的使用
11.1-CM24 最近公共祖先
Unittest framework application
MySQL lost the previous 0 after the decimal number type select
Compilation of program
RTC 性能自动化工具在内存优化场景下的实践
1--- electronic physical cognition