We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
作者您好!我的ort版本和您的好像不一样,里面没有getinputname取而代之的是GetInputNameAllocated,因此我对代码做了如下更改: Ort::AllocatedStringPtr input_name_Ptr = ort_session->GetInputNameAllocated(i, allocator); input_names.push_back(input_name_Ptr.get()); 然后session的构造函数也发生了变化: const ORTCHAR_T* model_path = "/data/LSTR/lstr_360x640.onnx"; ort_session = new Session(env, model_path, sessionOptions); 以上问题我推测都是版本变化造成的,更改后编译能通过,但是执行可执行文件的时候报错: terminate called after throwing an instance of 'Ort::Exception' what(): Invalid Feed Input Name:JPEG files (.jpeg;.jpg;*.jpe) 已放弃 (核心已转储)
我不知道错误的根源是什么,另外代码里面的log_space.bin文件具体用处是什么呢?真心请教一下,谢谢!
The text was updated successfully, but these errors were encountered:
我有相同的问题请问是否解决了
Sorry, something went wrong.
Invalid Feed Input Name: microsoft/onnxruntime#14157
No branches or pull requests
作者您好!我的ort版本和您的好像不一样,里面没有getinputname取而代之的是GetInputNameAllocated,因此我对代码做了如下更改:
Ort::AllocatedStringPtr input_name_Ptr = ort_session->GetInputNameAllocated(i, allocator);
input_names.push_back(input_name_Ptr.get());
然后session的构造函数也发生了变化:
const ORTCHAR_T* model_path = "/data/LSTR/lstr_360x640.onnx";
ort_session = new Session(env, model_path, sessionOptions);
以上问题我推测都是版本变化造成的,更改后编译能通过,但是执行可执行文件的时候报错:
terminate called after throwing an instance of 'Ort::Exception'
what(): Invalid Feed Input Name:JPEG files (.jpeg;.jpg;*.jpe)
已放弃 (核心已转储)
我不知道错误的根源是什么,另外代码里面的log_space.bin文件具体用处是什么呢?真心请教一下,谢谢!
The text was updated successfully, but these errors were encountered: