问题描述
大家好,我正在尝试使用一些新生成的训练数据来训练一个先前训练过的多类神经网络,以解决分类问题,这些数据在特征中具有相同的值,并提供了1个新标签,这是我希望模型能够做到的能够对这些进行分类 行,以便它们属于此标签.但是,我收到此错误消息.
Hi all, I am trying to train a previously trained Multiclass Neural Network for a classification problem with a bit of newly produced training data which have the identical values in the features and 1 new label as I want the model to able to classify these rows so that they belong to this label. However, I am met with this error message.
requestId = eb943938abec4da698378574d6be6396 errorComponent = Module. taskStatusCode = 400.警告:训练数据不支持改组,因此忽略改组的请求{"Exception":{"ErrorId":"LibraryException","ErrorCode":"1000","ExceptionType":"ModuleException" ,消息":错误 1000:TLC库异常:引发了类型为"Microsoft.Numerics.AFxLibraryException"的异常.消息":"异常 错误类型:"Microsoft.Numerics.AFxLibraryException"被抛出."}}}错误:错误1000:TLC库异常:类型"Microsoft.Numerics.AFxLibraryException"被抛出异常.进程退出,错误代码为-2
requestId = eb943938abec4da698378574d6be6396 errorComponent=Module. taskStatusCode=400. Warning: Training data does not support shuffling, so ignoring request to shuffle{"Exception":{"ErrorId":"LibraryException","ErrorCode":"1000","ExceptionType":"ModuleException","Message":"Error 1000: TLC library exception: Exception of type 'Microsoft.Numerics.AFxLibraryException' was thrown.","Exception":{"Library":"TLC","ExceptionType":"LibraryException","Message":"Exception of type 'Microsoft.Numerics.AFxLibraryException' was thrown."}}}Error: Error 1000: TLC library exception: Exception of type 'Microsoft.Numerics.AFxLibraryException' was thrown. Process exited with error code -2
这是我的输出日志(我从偏执狂中删除了公钥令牌):
This is my output log(I removed the public key token out of paranoia):
[Start] Program::Main
[Start] DataLabModuleDescriptionParser::ParseModuleDescriptionString
[Stop] DataLabModuleDescriptionParser::ParseModuleDescriptionString. Duration = 00:00:00.0034711
[Start] DllModuleMethod::DllModuleMethod
[Stop] DllModuleMethod::DllModuleMethod. Duration = 00:00:00.0000364
[Start] DllModuleMethod::Execute
[Start] DataLabModuleBinder::BindModuleMethod
[Verbose] moduleMethodDescription Microsoft.Analytics.Modules.TrainGenericModel.Dll, Version=6.0.0.0, Culture=neutral, PublicKeyToken=;Microsoft.Analytics.Modules.TrainGenericModel.Dll.TrainGenericModel;Run
[Verbose] assemblyFullName Microsoft.Analytics.Modules.TrainGenericModel.Dll, Version=6.0.0.0, Culture=neutral, PublicKeyToken=
[Start] DataLabModuleBinder::LoadModuleAssembly
[Verbose] Loaded moduleAssembly Microsoft.Analytics.Modules.TrainGenericModel.Dll, Version=6.0.0.0, Culture=neutral, PublicKeyToken=
[Stop] DataLabModuleBinder::LoadModuleAssembly. Duration = 00:00:00.0102366
[Verbose] moduleTypeName Microsoft.Analytics.Modules.TrainGenericModel.Dll.TrainGenericModel
[Verbose] moduleMethodName Run
[Information] Module FriendlyName : Train Model
[Information] Module Release Status : Release
[Stop] DataLabModuleBinder::BindModuleMethod. Duration = 00:00:00.0117957
[Start] ParameterArgumentBinder::InitializeParameterValues
[Verbose] parameterInfos count = 3
[Verbose] parameterInfos[0] name = learner , type = Microsoft.Analytics.MachineLearning.ILearner
[Start] CustomSerializationHandler::HandleArgumentString
[Start] DotNetSerializationHandler::HandleArgumentString
[Verbose] Enable type check at deserialization: True
[Stop] DotNetSerializationHandler::HandleArgumentString. Duration = 00:00:00.7916501
[Stop] CustomSerializationHandler::HandleArgumentString. Duration = 00:00:00.7930054
[Verbose] parameterInfos[1] name = trainingData , type = Microsoft.Numerics.Data.Local.DataTable
[Start] DataTableDatasetHandler::HandleArgumentString
[Stop] DataTableDatasetHandler::HandleArgumentString. Duration = 00:00:00.1350294
[Verbose] parameterInfos[2] name = labelColumnIndexOrName , type = Microsoft.Analytics.Modules.Common.Dll.ColumnSelection
[Stop] ParameterArgumentBinder::InitializeParameterValues. Duration = 00:00:01.0717481
[Verbose] Begin invoking method Run ...
[ModuleOutput] Using: AVX Math
[ModuleOutput] Loading net from: W:\Temp\tmpEB5B.tmp
[ModuleOutput]
[ModuleOutput] ***** Net definition *****
[ModuleOutput] input Data [2];
[ModuleOutput] hidden H_1 [100] sigmoid from Data all;
[ModuleOutput] output Result [1] sigmoid from H_1 all;
[ModuleOutput] ***** Reduced *****
[ModuleOutput] input Data 2;
[ModuleOutput] hidden H_1 100 sigmoid from Data all;
[ModuleOutput] output Result 1 sigmoid from H_1 all;
[ModuleOutput] ***** End net definition *****
[Stop] DllModuleMethod::Execute. Duration = 00:00:01.4586995
[Critical] Error: Error 1000: TLC library exception: Exception of type 'Microsoft.Numerics.AFxLibraryException' was thrown.
[Critical] {"InputParameters":{"DataTable":[{"Rows":24,"Columns":3,"estimatedSize":7028736,"ColumnTypes":{"System.String":1,"System.Double":2},"IsComplete":true,"Statistics":{"0":[1,0],"1":[1.0,1.0,1.0,1.0,0.0,1.0,0.0],"2":[1.0,1.0,1.0,1.0,0.0,1.0,0.0]}}],"Learner":[{"LearnerKind":"learner","LearnerSettings":{"name":"NeuralNetworkMulticlassClassifier","isTrained":true,"settings":[["IsInitializedFromString","False"],["IsClassification","True"],["InitialWeightsDiameter","0.1"],["LearningRate","0.1"],["LossFunction","CrossEntropy"],["Momentum","0"],["NeuralNetworkDefinition",""],["DataNormalizerType","MinMax"],["NumberOfInputFeatures","55"],["NumberOfHiddenNodes","System.Collections.Generic.List`1[System.Int32]"],["NumberOfIterations","100"],["NumberOfOutputClasses","39"],["Shuffle","True"],["AllowUnknownLevels","True"],["RandomNumberSeed",""]],"weights":[]}}],"Generic":{"labelColumnIndexOrName":"{\"isFilter\":true,\"rules\":[{\"ruleType\":\"ColumnNames\",\"columns\":[\"Account_Number\"],\"exclude\":false}],\"ui\":{\"withRules\":true}}"}},"OutputParameters":[],"ModuleType":"Microsoft.Analytics.Modules.TrainGenericModel.Dll","ModuleVersion":" Version=6.0.0.0","AdditionalModuleInfo":"Microsoft.Analytics.Modules.TrainGenericModel.Dll, Version=6.0.0.0, Culture=neutral, PublicKeyToken=;Microsoft.Analytics.Modules.TrainGenericModel.Dll.TrainGenericModel;Run","Errors":"Microsoft.Analytics.Exceptions.ErrorMapping+ModuleException: Error 1000: TLC library exception: Exception of type 'Microsoft.Numerics.AFxLibraryException' was thrown. ---> Microsoft.Numerics.AFxLibraryException: Exception of type 'Microsoft.Numerics.AFxLibraryException' was thrown.\r\n at Microsoft.Analytics.MachineLearning.Local.TlcUtils.HandleTlcException(Exception exception, DataTable dataTable)\r\n at Microsoft.Analytics.MachineLearning.Local.MulticlassClassifierBase.Train(DataTable instanceSource)\r\n at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid2[T0,T1](CallSite site, T0 arg0, T1 arg1)\r\n at Microsoft.Analytics.Modules.TrainGenericModel.Dll.TrainGenericModel.RunImpl(ILearner learner, DataTable trainingData, ColumnSelection labelColumnIndexOrName) in m:\\AzureMLVS15-004\\_work\\117\\s\\Product\\Source\\Modules\\TrainGenericModel.Dll\\TrainGenericModel.cs:line 53\r\n --- End of inner exception stack trace ---","Warnings":[],"Duration":"00:00:01.4510420"}
Module finished after a runtime of 00:00:01.8438362 with exit code -2
Module failed due to negative exit code of -2
推荐答案
我刚刚发现了一个已解决的类似问题,建议您先参考一下:
I just found a similar issue we have solved, I would suggest you to refer to it first:
https://social.msdn.microsoft.com/Forums/azure/zh-CN/79565d2d-8402-47cf-bcd6-ca6b80837191/error-tlc-library-exception-exception-of-type-microsoftnumericsafxlibraryexception-was -thrown?forum =机器学习
https://social.msdn.microsoft.com/Forums/azure/en-US/79565d2d-8402-47cf-bcd6-ca6b80837191/error-tlc-library-exception-exception-of-type-microsoftnumericsafxlibraryexception-was-thrown?forum=MachineLearning
此致
雨桐
这篇关于错误:警告:训练数据不支持改组,因此忽略改组请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!