dotnet / dotnet/machinelearning-modelbuilder

Training error during - Updating nuget dependencies

Open
#2,715 3 comments 0 reactions 0 assignees View on GitHub
Bug Stale
Dominant language
Dockerfile
Stars
285
Forks
66
PR merge metrics
No merged PRs in 30d

Description

**System Information (please complete the following information):**
- Model Builder Version: 17.16.0.2326802
- Visual Studio Version: Microsoft Visual Studio Community 2022 (64-bit) - 17.6.3

**Describe the bug**
- Following the instruction at https://dotnet.microsoft.com/en-us/learn/ml-dotnet/get-started-tutorial/intro
- I am getting exception on the training step. With following dialog
![image](https://github.com/dotnet/machinelearning-modelbuilder/assets/3456937/7f871222-3657-47f6-a653-57fd3377c284)

**To Reproduce**
Steps to reproduce the behavior:
1. Clone the repos https://github.com/arung2207/MLDemo
2. Open the MLModel1.mbconfig in ConsoleApp2 project
3. In the training step click Train again
4. You should see above error dialog. The complete log file is available at https://github.com/arung2207/MLDemo/blob/master/02-ML/ConsoleApp2/MLModel1-51LQWU.txt The error snippet from the log is shown below

> Updating nuget dependencies... (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
> 2023-06-15 12:11:18.3856 INFO Starting update NuGet dependencies async. (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
> 2023-06-15 12:11:18.6972 INFO Project Miscellaneous Files cannot be accessed. It may be unloaded. (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
> 2023-06-15 12:11:18.7112 INFO Couldn't find project named C:\Repos\MLDemo\02-ML\ConsoleApp2\ConsoleApp2.csproj (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
> 2023-06-15 12:11:18.7112 INFO Installing nuget package, package ID: Microsoft.ML, package Version: 3.0.0-preview.23266.6 (Microsoft.ML.ModelBuilder.Utils.Logger.Info)
> 2023-06-15 12:11:18.7305 WARN ModelBuilder fails to install the following nuget dependencies
> - package name: Microsoft.ML
> - package version: 3.0.0-preview.23266.6

5. The project doesn't compile as the NuGet package couldn't be added.

**Expected behavior**
The training step should finish without any errors and the NuGet packages should update successfully

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.