dotnet / machinelearning-modelbuilder

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

"Machine Learning Model (ML.NET)" does not appear in the new item list or is not created by Visual Studio for the Console App (C#) #2885

Open anilTeke opened 5 months ago

anilTeke commented 5 months ago

System Information (please complete the following information):

Describe the bug

To Reproduce Steps to reproduce the behavior: previous explanation ↑

Expected behavior To see "Machine Learning Model (ML.NET)" item on the list.

Screenshots image

Additional context When I try to re-install the ML.NET Model Builder 2022, it says this. image

But when I go to extension list it does not show up there. image

LittleLittleCloud commented 5 months ago

Maybe go check in VS installer to see if you can find model builder there?

image

anilTeke commented 5 months ago

It was installed on the machine and still is.

SS 1 (VS is up-to-date) image

SS 2 (This looks suspicious: "Total space required 485 MB") image

And it still does not appear in the new item list or is not created by VS 22 IDE for the Console App (C#) Screenshot 2024-03-26 181236

dansimon363 commented 2 months ago

I am also experiencing this issue.

LittleLittleCloud commented 2 months ago

@dansimon363 Can you try the following steps and let us know the results

Thanks

dansimon363 commented 2 months ago

Hi @LittleLittleCloud, thanks for your response. I created an empty file with the extension ".mbconfig" and this is what appeared:

image

I clicked OK and then this page appeared.

image

I was able to successfully train some data so it looks like this is a valid workaround for me. Thank you! 😃

dansimon363 commented 2 months ago

In Extensions -> Manage Extensions, ML.NET Model Builder 2022 is not listed under Installed.

image

I can see it under Browse.

image

I get this message after clicking Install:

image

I originally installed the extension from here: https://marketplace.visualstudio.com/items?itemName=MLNET.ModelBuilder2022&WT.mc_id=dotnet-35129-website.

dansimon363 commented 2 months ago

I tried using a console application that targets .NET Framework 4.7.2 and I don't see "Machine Learning Model (ML.NET)" item in the list. I also tried a different console application targeting .NET 8.0 as well and this produced the same behavior.

LittleLittleCloud commented 2 months ago

@dansimon363 Thanks for verifying the workaround. It means that the model builder is installed on your VS, it's just the new item dialog doesn't show .mbconfig item correctly.

We will try reproduce this error on our side and working on a fix for this bug.

dansimon363 commented 2 months ago

You are welcome, sounds good and thank you.

dansimon363 commented 3 weeks ago

In Visual Studio version 17.10.4, I can no longer reproduce this issue.

image