dotnet / dotnet/machinelearning-modelbuilder
The whole Model builder experience feels broken...
- Lenguaje dominante
- Dockerfile
- Estrellas
- 285
- Forks
- 66
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
**System Information (please complete the following information):**
- Model Builder or CLI Version: Model Builder 17.15.0.2321402
- Visual Studio Version (if applicable):
- Visual Studio Professional 17.5.4+33530.505
- Visual Studio Community 17.5.4+33530.505
**Describe the bug**
Well, this Model Builder tool seems to be very poorly written or maintained, it has several issues. The most easiest to see if those you get by just running the Machine Learning Model and follow the steps outlined in the [getting started guide](https://dotnet.microsoft.com/en-us/learn/ml-dotnet/get-started-tutorial/intro).
The two most easiest to find is that the scenario page is missing the images. The second is that after the initial training I always get following error (I get this both when I run the getting started guide and other scenarios).
Missing images:

Error:
```
Updating nuget dependencies... (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2023-04-25 08:32:52.5050 INFO Starting update NuGet dependencies async. (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2023-04-25 08:32:52.5361 INFO Project Miscellaneous Files cannot be accessed. It may be unloaded. (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2023-04-25 08:32:52.5361 INFO Couldn't find project named C:\Development\ML.NET\src\myMLApp\myMLApp.csproj (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2023-04-25 08:32:52.5361 INFO Installing nuget package, package ID: Microsoft.ML, package Version: 2.0.0 (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
2023-04-25 08:32:52.5361 DEBUG Value cannot be null.
Parameter name: project
at NuGet.VisualStudio.Implementation.Extensibility.VsPackageInstallerServices.GetInstalledPackages(Project project)
at Microsoft.ML.ModelBuilder.Utils.Utilities.d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.d__101.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.d__100.MoveNext() (Microsoft.ML.ModelBuilder.Utils.Logger.Debug)
```
**Expected behavior**
Well, the model builder should work is at least what we can expect.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Reproduce el problema siguiendo la guía de inicio vinculada en Model Builder 17.15.0.2321402, comprobando las imágenes que faltan en la página del escenario y el error de entrenamiento. Lee TrainViewModel.UpdateNugetDependenciesAsync y Utilities.InstallNugetPackageAsync junto con la búsqueda registrada de myMLApp.csproj/el proyecto. Se considera completado cuando aparecen las imágenes del escenario y el entrenamiento finaliza sin el error de acceso al proyecto o de dependencia de NuGet.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- csharp, machine-learning
- Área
- machine-learning, tooling
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100