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
Run toposort on this simple onnx got an error: OnnxGraphSurgeonException: Cycle detected in graph! Are there tensors with duplicate names in the graph?
importonnximportonnx_graphsurgeonasgsgraph=gs.import_onnx(onnx.load('./toposort.onnx'))
graph.toposort()
# `OnnxGraphSurgeonException: Cycle detected in graph! Are there tensors with duplicate names in the graph?`
Description
Run toposort on this simple onnx got an error:
OnnxGraphSurgeonException: Cycle detected in graph! Are there tensors with duplicate names in the graph?
Environment
onnx==1.16.2
onnx_graphsurgeon==0.5.2
Operating System:
Ubuntu 20.04
Python Version (if applicable):
python==3.8.10
Relevant Files
Model link:
toposort.onnx.zip
Steps To Reproduce
Commands or scripts:
Have you tried the latest release?:
Yes
Can this model run on other frameworks? For example run ONNX model with ONNXRuntime (
polygraphy run <model.onnx> --onnxrt
):Yes
The text was updated successfully, but these errors were encountered: