当前位置:   article > 正文

ONNX生成模型遇到的问题_onnx.onnx_cpp2py_export.checker.validationerror: n

onnx.onnx_cpp2py_export.checker.validationerror: nodes in a graph must be to

在使用onnx生成模型遇到的问题
onnx.onnx_cpp2py_export.checker.ValidationError: Nodes in a graph must be topologically sorted, however input ‘ends’ of node:
input: “x3” input: “starts” input: “ends” output: “Y” op_type: “Slice”
is not output of any previous nodes.
这是错误是由于使用onnx.helper.make_graph的时候,缺少必需的参数initializer。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/article/detail/57710
推荐阅读
相关标签
  

闽ICP备14008679号