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
你好,感谢分享,我编译并运行main程序,按照你的步骤转换得到onnx模型,但是不能加载模型:
Using Onnxruntime C++ API
Number of inputs = 1
Input 0 : name=l_x_
Input 0 : type=float
Input 0 : num_dims=4
Input 0 : dim 0=1
Input 0 : dim 1=3
Input 0 : dim 2=-1
Input 0 : dim 3=-1
terminate called after throwing an instance of 'Ort::Exception'
what(): tried creating tensor with negative value in shape
Aborted(核心已转储)
请问你是否可以正确加载模型呢,或者你的模型转换过程是什么样的?
The text was updated successfully, but these errors were encountered:
你好,感谢分享,我编译并运行main程序,按照你的步骤转换得到onnx模型,但是不能加载模型:
Using Onnxruntime C++ API
Number of inputs = 1
Input 0 : name=l_x_
Input 0 : type=float
Input 0 : num_dims=4
Input 0 : dim 0=1
Input 0 : dim 1=3
Input 0 : dim 2=-1
Input 0 : dim 3=-1
terminate called after throwing an instance of 'Ort::Exception'
what(): tried creating tensor with negative value in shape
Aborted(核心已转储)
请问你是否可以正确加载模型呢,或者你的模型转换过程是什么样的?
The text was updated successfully, but these errors were encountered: