![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
onnx
onnx模型的编辑,处理
慕思侣
一条互联网咸鱼
展开
-
onnx模型制作
参考链接:ONNX-开放式神经网络交换格式 - vh_pg - 博客园Play with ONNX operators — sklearn-onnx 1.9.2 documentationPython helper.make_graph方法代码示例 - 纯净天空https://github.com/onnx/onnx/blob/master/onnx/test/helper_test.py...原创 2021-09-26 14:50:33 · 4128 阅读 · 0 评论 -
onnx-modifier:ONNX可视化编辑
onnx可视化编辑:参考链接:onnx-modifier:ONNX可视化编辑_歌你一下的博客-CSDN博客_onnx模型 可视化原创 2022-06-15 11:51:27 · 347 阅读 · 0 评论 -
ONNX内部节点修改方法
1. 载入ONNX文件import onnxonnx_model = onnx.load("test.onnx")graph = onnx_model.graphnode = graph.nodefor i in range(len(node)): print(node[i])我们可以依靠上述代码输出该模型的节点个数,还有节点中的属性信息,当然也包含静态图的链路形状。2. 搜索目标节点接着,依据节点ID找到我们需要修改的Resize节点,这里需要注意的是,Netron可视化原创 2021-05-22 15:47:55 · 2043 阅读 · 1 评论 -
How to predict fast? 修改onnx model支持batch模式
在onnxruntime中如何可以支持“batching”模式使模型前向运行更快呢:参考链接:https://github.com/microsoft/onnxruntime/issues/2118 OnnxRunTime的部署流程_hjxu2016的博客-CSDN博客_c++ onnx 部署...原创 2022-02-10 15:38:53 · 2420 阅读 · 0 评论 -
TypeError: ONNX node of type Resize is not supported.
U版yolov3 pytorch-->onnx-->caffe其中pytorch转onnx参考博客链接其中onnx转caffe使用github链接:https://github.com/MTlab/onnx2caffepython convertCaffe.py *.onnx *.prototxt *.caffemodel出现报错信息Traceback (most recent call last): File "convertCaffe.py", line 116.原创 2021-05-22 11:39:13 · 1879 阅读 · 0 评论