Skip to content
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

MissingMethodException, Project won't compile anymore. Syntax changed? #2

Open
philipp-ghtest opened this issue Feb 12, 2020 · 2 comments

Comments

@philipp-ghtest
Copy link

Hello,

first of all, thank you Tak-Au for this great example. I compiled it successfully last year in may and it worked great.

Today I set it up again, executed it, and the following exception appeared when calling the Onnx model:

System.MissingMethodException: 'Method not found: 'Microsoft.ML.OnnxRuntime.SessionOptions Microsoft.ML.OnnxRuntime.SessionOptions.MakeSessionOptionWithCudaProvider(Int32)'.'

I guess there were some syntax changes, but I couldn't figure out the correct new name and handling of the presumeably new Onnx class. Do you have any information on this? How can I get it running again?

Best regards,
Philipp

@tesar-tech
Copy link

Maybe this will help: dotnet/machinelearning#4461

@huy-lv
Copy link

huy-lv commented Mar 14, 2020

Maybe this will help: dotnet/machinelearning#4461

It doesn't work, i tried to change ML.Net version to 1.4 and Onnx version to 0.5.1 but got many build error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants