-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
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
Onnxruntime not working properly for netfx #2106
Comments
@jignparm can you please take a look. |
Microsost.ML.OnnxRuntime.dll is not the same as onnxruntime.dll. The first contains the .Net managed code whereas the second contains the native code, and is contained within the runtimes folder in the nuget. What version of .NetFramework are you using (4.6.1 or other?) @eerhardt, the it seems like the properties file below does not copy the 'onnxruntime.dll' native file to the output folder. Does this need to be updated to work with different versions of .NetFramework? This pattern is being used for other projects (e.g. TensorFlow, and MatrixFactorization). |
The version is 4.6.2 |
That <ItemGroup Condition="Exists('packages.config') OR
Exists('$(MSBuildProjectName).packages.config') OR
Exists('packages.$(MSBuildProjectName).config')"> We are using It appears that the https://github.com/dotnet/machinelearning/blob/master/test/Directory.Build.props#L9 But in the OnnxRuntime package, it is using I've had conversations with @shahasad in the past on whether the OnnxRuntime package should change to use the |
Fix added to Onnxruntime to update to Win-x64. Will be available in next release of the Nuget. |
Resolved via #2085 |
I am trying to run the test SimpleEndToEndOnnxConversionTest on netfx
I get this is as an error
Although I looked at the output folder, I saw there was a dll named as Microsost.ML.OnnxRuntime.dll(not sure if it is similar to onnxruntime.dll)
I renamed it to onnxruntime.dll, and then I was getting
@eerhardt @danmosemsft @shauheen @TomFinley @jignparm
The text was updated successfully, but these errors were encountered: