dotnet / machinelearning-modelbuilder

Simple UI tool to build custom machine learning models.
Creative Commons Attribution 4.0 International
264 stars 56 forks source link

Can't find PredictRecommendationAsync/3 in Microsoft.ML.ModelBuilder.AutoMLEngine #1490

Closed Karol-Gor closed 3 years ago

Karol-Gor commented 3 years ago

System Information:

Describe the bug While trying to predict the rate, there opens a window which says that it can't find a method „PredictRecommendationAsync/3” in Microsoft.ML.ModelBuilder.AutoMLEngine. And although I can go to the Code section, nothing is being added after clicking on add to the project.

image

Here is the log: By the way "Koniec śladu stosu z poprzedniej lokalizacji, w której wystąpił wyjątek" means "End of stack trace from previous location where exception was thrown"

(Microsoft.ML.ModelBuilder.Utils.Logger.Info) 2021-06-02 14:52:48.1662 DEBUG Nie można odnaleźć metody „PredictRecommendationAsync/3” w klasie Microsoft.ML.ModelBuilder.AutoMLEngine. Przyczyny: w System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) w System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) w System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) w StreamJsonRpc.JsonRpc.d94`1.MoveNext() --- Koniec śladu stosu z poprzedniej lokalizacji, w której wystąpił wyjątek --- w System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) w System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) w Microsoft.ML.ModelBuilder.AutoMLServiceFactory.AutoMLServiceProxy.d19.MoveNext() --- Koniec śladu stosu z poprzedniej lokalizacji, w której wystąpił wyjątek --- w System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) w System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) w Microsoft.ML.ModelBuilder.TrainSession.d__53.MoveNext() --- Koniec śladu stosu z poprzedniej lokalizacji, w której wystąpił wyjątek --- w System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) w System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) w System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() w Microsoft.ML.ModelBuilder.ToolWindows.EvaluateTabControl.d__5.MoveNext() (Microsoft.ML.ModelBuilder.Utils.Logger.Debug) 2021-06-02 14:53:07.0430 DEBUG Open Log FileC:\Users\lolek\AppData\Local\Temp\MLVSTools\logs\0124deb9-2840-43aa-848c-e18a47d2bf27.txt (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)

To Reproduce

  1. Go to ML.NET Model Builder
  2. Choose recommendation
  3. Set the enviroment
  4. Load the data from CSV
  5. Train the model
  6. Click to predict

Expected behavior Prediction being showed.

beccamc commented 3 years ago

Sorry you ran into this issue. Are you on the most recent version (16.3.0.2056001)? If not, can you upgrade by download the newest version here https://marketplace.visualstudio.com/items?itemName=MLNET.07.

Thanks for reporting!

beccamc commented 3 years ago

@Karol-Gor We have released a new version of Model Builder, and this issue should be fixed. Can you update to 16.6.0 and see if it resolves the problem? https://marketplace.visualstudio.com/items?itemName=MLNET.07

Thanks for reporting!

beccamc commented 3 years ago

Closing this due to inactivity. If the upgrade doesn't work, please @ mention me and re-open. Thanks!