You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run onnx-cpp mnist.onnx I get the following error:
reading onnx model from file mnist.onnx
Model info:
ir_vesion : 7
doc :
WARN (ONNX): allowzero is not a valid graph-node attribute.
operator Reshape will be added without this attribute.
INFO (ONNX): writing model parameter fc.weight to dir .
INFO (ONNX): writing model parameter fc.bias to dir .
INFO (ONNX): writing model parameter fc2.weight to dir .
INFO (ONNX): writing model parameter fc2.bias to dir .
running DNNC graph sanity check.
ERROR (GRAPH): some of graph torch_jit's node /fc/Gemm's
outputs are not connected to other nodes in the graph.
ERROR (GRAPH): some of graph torch_jit's node /fc2/Gemm's
outputs are not connected to other nodes in the graph.
FAILED. Please check your model.
Writing C++ file /mnist.cpp
ERROR (CODEGEN): cound not find all nodes for /fc/Gemm,
an instance of Gemm.
Please check model's sanity and try again.ERROR (CODEGEN): cound not find all nodes for /fc2/Gemm, an instance of Gemm. Please check model's sanity and try again.
ERROR (CODEGEN): could not open file mnist.cppto write.
INFO (ONNX): model files are ready in dir
The text was updated successfully, but these errors were encountered:
When I run
onnx-cpp mnist.onnx
I get the following error:The text was updated successfully, but these errors were encountered: