-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception has been thrown by the target of an invocation. #2716
Comments
Are you training on GPU, and would you mind sharing your mbconfig |
I was testing both mbconfig:{
"Scenario": "TextClassification",
"DataSource": {
"Type": "TabularFile",
"Version": 1,
"FilePath": "C:\\Users\\User\\Desktop\\test.csv",
"Delimiter": ",",
"DecimalMarker": ".",
"HasHeader": false,
"ColumnProperties": [
{
"ColumnName": "col0",
"ColumnPurpose": "Label",
"ColumnDataFormat": "String",
"IsCategorical": false,
"Type": "Column",
"Version": 4
},
{
"ColumnName": "col1",
"ColumnPurpose": "Text",
"ColumnDataFormat": "String",
"IsCategorical": false,
"Type": "Column",
"Version": 4
}
]
},
"Environment": {
"Type": "LocalCPU",
"Version": 1
},
"RunHistory": {
"Version": 3,
"Type": "Result",
"Trials": [
{
"Version": 1,
"Type": "Trial",
"TrainerName": "TextClassificationMulti",
"Score": 0.1,
"RuntimeInSeconds": 5.194,
"Parameter": {
"_SCHEMA_": "e0 * e1 * e2",
"e0": {
"OutputColumnName": "col0",
"InputColumnName": "col0",
"AddKeyValueAnnotationsAsText": false
},
"e1": {
"LabelColumnName": "col0",
"Sentence1ColumnName": "col1",
"ScoreColumnName": "Score",
"OutputColumnName": "PredictedLabel",
"BatchSize": 32,
"MaxEpochs": 10,
"Architecture": "Roberta"
},
"e2": {
"OutputColumnName": "PredictedLabel",
"InputColumnName": "PredictedLabel"
}
}
}
],
"Estimators": {
"e0": "MapValueToKey",
"e1": "TextClassificationMulti",
"e2": "MapKeyToValue"
},
"Schema": "e0 * e1 * e2",
"MetricName": "MacroAccuracy",
"ModelFilePath": "C:\\Users\\User\\source\\repos\\MlTest\\MlTest\\MLModel2.mlnet"
},
"Type": "TrainingConfig",
"Version": 4,
"TrainingOption": {
"Version": 1,
"Type": "TextClassficationTrainingOption",
"TrainingTime": 2147483647,
"LabelColumn": "col0",
"TextColumn": "col1",
"ValidationOption": {
"Version": 0,
"Type": "CrossValidationValidationOption",
"NumberOfFolds": 5
}
}
} bandicam.2023-06-16.05-29-19-286.mp4 |
Yea please. Thanks! |
same issue with same scenario with: |
I am just experiencing it again on a different project. All I did was choosing a new TSV file and clicked on 'Train again'. But I also created a brand new project and got the same immediately on first train. Here is some updated info: Exception:
VS Log:
Log file:
|
Looks like you are running with |
Unbelievable, you're right. I switched from //edit: With the first run using |
@Symbai Actually, looks like the issue has already been fixed by me,,,, can you try upgrade model builder to v17.17.* and give it another trial? |
The VS extension I have says its the latest version: 17.17.0.2332602 see screenshot in my previous post #2716 (comment) //edit: Reinstalled the extension but still the same |
OK, let me double check then |
@LittleLittleCloud any update? |
@Symbai No haven't yet, I was focusing on other stuff the last week. Will get the update back to this thread once I have any. Also feel free to ping me for reminder |
same here
|
System Information (please complete the following information):
Model Builder Version (available in Manage Extensions dialog):
Visual Studio Version 17.7.0 Preview 2.0
Describe the bug
To Reproduce
Expected behavior
I expect to proceed to "Evaluate" step. If I manually go to this tab and press the "Predict" button, I get the same exception as above.
Screenshots
Additional context
Last log entry in VS is
Generate code behind files
The text was updated successfully, but these errors were encountered: