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

静态节点的输入,转为动态batch的输入?现在支持吗? #92

Closed sunliangpeng closed 8 months ago

sunliangpeng commented 9 months ago

静态节点的输入,转为动态batch的输入?现在支持吗?我修改这个初始值[3,560.26000]为[-1,560,26000]或者[batch,560,26000],不生效呢?保存不下来,求助

ZhangGe6 commented 9 months ago

@sunliangpeng batch维度静态和动态相互转换,是已经支持的,可参照:https://github.com/ZhangGe6/onnx-modifier#Edit_batch_size

如果编辑没有起作用,请查看一下终端是否有异常报错信息?

ZhangGe6 commented 8 months ago

@sunliangpeng 因长时间(超过三周)未得回复且本地无法复现,本issue将关闭。如果问题仍然存在,欢迎reopen和继续讨论。