dotnet / dotnet/machinelearning-modelbuilder

ExceptionDispatchInfo. The JSON-RPC connection with the remote party was lost before the request could complete.

Open
#2,826 0 comments 0 reactions 0 assignees View on GitHub
GS Tutorial
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 or CLI Version: 17.17.0
- Visual Studio Version (if applicable): 17.8.5
- .NET version: 8.0.101

**Describe the bug**
- page of the tutorial: https://learn.microsoft.com/en-us/training/modules/predictive-maintenance-model-builder/3-choose-scenario-data
- Clear description of the problem:

Stack:
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at StreamJsonRpc.JsonRpc.d__162.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 StreamJsonRpc.JsonRpc.d__151`1.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 Microsoft.ML.ModelBuilder.ViewModels.TrainViewModel.<b__92_0>d.MoveNext()

**To Reproduce**
Steps to reproduce the behavior:
1. Create and open cross-platform console project
2. Solution Explorer -> right click on *project name* -> Add -> Machine Learning Model
3. Scenario is "Text classification"
4. Environment is "Local CPU" (Intel Core i3-8130U, 8 GB RAM)
5. Data source type is CSV file, column to predict is "respondent", text column is "question" (see screenshots)
6. Click train

**Expected behavior**
Training is finished without exceptions.

**Screenshots**
If applicable, add screenshots to help explain your problem.

Error:
![image](https://github.com/dotnet/machinelearning-modelbuilder/assets/90712434/94cb999c-6fe5-4fb9-93f9-c9d77fa00102)

CSV file content:
![image](https://github.com/dotnet/machinelearning-modelbuilder/assets/90712434/33c37cbd-afd9-41b5-87eb-f18c9d145d94)

**Additional context**
Add any other context about the problem here.

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.