NoColumn Attribute not recognized by TextLoaderSaverCatalog.LoadFromTextFile Method #5443
Labels
Awaiting User Input
Awaiting author to supply further info (data, model, repro). Will close issue if no more info given.
loadsave
Bugs related loading and saving data or models
P2
Priority of the issue for triage purpose: Needs to be fixed at some point.
System information
OS version/distro: Windows 10/ Home
.NET Version (eg., dotnet --info):
.NET Core SDK (reflecting any global.json):
Version: 3.1.101
Commit: b377529961
Runtime Environment:
OS Name: Windows
OS Version: 10.0.19041
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\3.1.101\
Issue
Tried to run the following code to load my training data out of a CSV file. I've been using the AutoML CLI to this point to generate my models, and thought I'd take crack at doing it via my .NET code. The
ModelInput
class has been working at runtime to load my metrics into, and pass to the model trained using the CLI, for predictions, even with the extra columns in the class.Get error:
Data to be loaded from my csv file into an IDataView
Source code / logs
This is a trimmed down version of my ModelInput class. Note that the "Index(0)" attribute and the "Ignore" attribute come from the "CsvHelper" Nuget package, as I use this ModelInput class for both writing to Csv, and for input for model predictions.
Please paste or attach the code or logs or traces that would be helpful to diagnose the issue you are reporting.
The text was updated successfully, but these errors were encountered: