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

new ModelManager Error #50

Open
shuoshuoa opened this issue Dec 11, 2018 · 8 comments
Open

new ModelManager Error #50

shuoshuoa opened this issue Dec 11, 2018 · 8 comments

Comments

@shuoshuoa
Copy link

I have used AI Tools to generate a inference model with my python model, i want to use C# call for it.
However, when i run it, it occur to the following problem. My build platform has been changed to x86, but it doesn't work.
I don't know how to solve it, can you help me?
image

@linmajia
Copy link
Contributor

@shuoshuoa , thank you very much for the feedbacks.

The model inference feature only supports x64 applications. Please change the build platform to x64 and try again.

Thanks.

@shuoshuoa
Copy link
Author

Thanks for your reply, and i have tried it. However it doesn't work. I guess the Micrsoft,ML,Scoring.dll have referenced 32-bit code

@linmajia
Copy link
Contributor

@shuoshuoa , Microsoft.ML.Scoring DLLs are 64-bit binaries. Please open the configuration manager to verify that each project's platform is set to "x64" indeed.

@shuoshuoa
Copy link
Author

@linmajia , I tried the method you said, changing each engineering platform to x64, but it didn't work, and still reported the error mentioned above. I don't know why? Is it because of other dll files?

@linmajia
Copy link
Contributor

@shuoshuoa , are you referencing other 32bit DLLs?

@shuoshuoa
Copy link
Author

@linmajia , I only used the model reasoning function provided by the AI tools, and VSTO toolkit for Excel plugin development. The bug appears in the ModelInferenceLibrary project generated by AI Tools, when I new a model object in this project, the bug appeared. Thanks for your reply

@linmajia
Copy link
Contributor

@shuoshuoa , do you mean that you are using model inference in your Excel plugin? Is it because that your Office is 32-bit?

@shuoshuoa
Copy link
Author

yes, i want using model inference in my Excel plugin, my Excel is 64-bit. And I succeeded in about October, but then I seem to have an error after running the project after the ML.Scoring is updated.

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

2 participants