AttributeError: module 'onnxruntime' has no attribute 'InferenceSession' #21948
Unanswered
With-Darkness
asked this question in
Release Q&A
Replies: 1 comment
-
Can you show the smallest example of what you're doing that causes the error? It sounds like it could be similar to this issue: #8623 Specifically, try this: Running |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, All the members of Github.
It's a great opportunity to use onnxruntime package as a new AI developer.
I have some problems with using onnxruntime package, that is the error: AttributeError: module 'onnxruntime' has no attribute 'InferenceSession'.
Initially, I used onnxruntime-gpu v 1.16.3 and It worked well, there is no issue like AttributeError: module 'onnxruntime' has no attribute 'InferenceSession'.
But I upgraded the onnxruntime-gpu from 1.16.3 to 1.18.1 and occurred an error.
I can't figure out this issue. Doesn't the onnxruntime package upper 1.16.3 support InferenceSession?
If it is right, what is the other way instead of InferenceSession?
I would appreciate your help as soon as possible.
Beta Was this translation helpful? Give feedback.
All reactions