ZhangGe6 / onnx-modifier

A tool to modify ONNX models in a visualization fashion, based on Netron and Flask.
MIT License
1.28k stars 157 forks source link

修改const tensor值不生效 #76

Closed FdyCN closed 11 months ago

FdyCN commented 1 year ago

首先我按照这样的方式和顺序进行了修改 image

然后得到结果在netron可视化中是这样的,看着reshape shape tensor的修改并没有生效: image

请问是哪里操作的不对吗?

ZhangGe6 commented 1 year ago

@FdyCN 谢谢反馈。reshape的shape tensor修改没有生效,以及shape inference出错都是预期外的。请问是否方便提供原始ONNX模型便于排查问题?

ZhangGe6 commented 11 months ago

@FdyCN 由于长时未得到回复,且本地无法复现,本issue将被关闭。如果问题仍然存在,欢迎reopen和继续讨论。