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

无法添加LayerNormaliztion算子 #97

Closed Phoenix8215 closed 6 months ago

Phoenix8215 commented 6 months ago

问题描述

LayerNormaliztion算子无法正常添加,点击添加LayerNormaliztion算子会导致所有算子都无法添加 demo1

感谢您提供如此🐂🍺的项目,期待您的回复🥰🥰🥰

ZhangGe6 commented 6 months ago

@Phoenix8215 Hi, 谢谢反馈。LayerNormaliztion算子在opset >= 17后出现,请检查所编辑的模型的opset是否低于17。如果低于17,可重新导出opset>=17的ONNX模型,或使用ONNX Version Converter进行版本转换。

Phoenix8215 commented 6 months ago

太谢谢啦,已经解决了,将opset设置成17就好了💞