-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Can not load model from local disk #4868
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
Comments
I think this issue may have been raised and fixed by @antoniovs1029 |
@gvashishtha , I change the ml.net version to 14.0, and resolved my problem. Thanks |
Just out of curiosity, @Benknightdark , what version where you using before? |
@antoniovs1029 , I use 1.5.0-preview first |
Hi, I am still looking into this. It should have worked with 1.5.0-preview just as well. What I've noticed so far, is that previously you tried to use the following:
If I, instead, use the most recent nugets for both ML.NET and ML.NET's Recommender, I.e. the following:
Then the exception is gone, and it works as expected. I am still not sure why is this the case, and if this should have worked with using 1.5.0-preview (the latest nuget) along with the Recommender 0.16 (which is not the latest). This also explains why it is working for you when using 1.4 along with Recommender 0.16, since both belong to the same release. If this should have worked when mixing the releases, then this is actually a bug and I will try to fix it. Thanks for reporting. |
Hi, @Benknightdark . So, it seems to me that the only problem here was indeed that you tried to combine ML.NET doesn't support mixing nugets from different releases, so this solves the problem. I will close the issue. Feel free to reopen if you still have problems with this after using the appropriate versions. Thanks! |
System information
Issue
Hi, I used ml.net to build a movie Recommendation System Model, and when I finished build my model, I saved it into my local disk . And then when I load the model from local disk to predict my test data , it appeared this error .

Here is my source code :https://github.com/Benknightdark/mlnet
The text was updated successfully, but these errors were encountered: