I am trying to convert a cyclegan model to onnx.
I referred this answer for onnx importing, and it worked without errors.
But the thing is, when I try to import the onnx file to the onnx runtime(Snap Lens Studio), I got this error below
Resource import for /Users/youjin/Downloads/latest_net_G (1).onnx failed: The ONNX network's output '625' dimensions should be non-negative
When I see the structure of the model, the '625' is the output node, and the dimension is unknown, which is considered as '-1'.
I wonder where I can find the output node and if anyone has an idea to set it to the right dimension.
Hello,
I am trying to convert a cyclegan model to onnx. I referred this answer for onnx importing, and it worked without errors. But the thing is, when I try to import the onnx file to the onnx runtime(Snap Lens Studio), I got this error below
Resource import for /Users/youjin/Downloads/latest_net_G (1).onnx failed: The ONNX network's output '625' dimensions should be non-negative
When I see the structure of the model, the '625' is the output node, and the dimension is unknown, which is considered as '-1'.I wonder where I can find the output node and if anyone has an idea to set it to the right dimension.