@@ -350,16 +350,16 @@ public static void CheckVersionInfo(ref ModelHeader header, VersionInfo ver)
350350 Contracts . CheckDecode ( header . ModelSignature == ver . ModelSignature , "Unknown file type" ) ;
351351 Contracts . CheckDecode ( header . ModelVerReadable <= header . ModelVerWritten , "Corrupt file header" ) ;
352352 if ( header . ModelVerReadable > ver . VerWrittenCur )
353- throw Contracts . ExceptDecode ( "Cause: TLC {0} cannont read component '{1}' of the model, because the model is too new.\n " +
354- "Suggestion: Make sure the model is trained with TLC {0} or older.\n " +
353+ throw Contracts . ExceptDecode ( "Cause: ML.NET {0} cannont read component '{1}' of the model, because the model is too new.\n " +
354+ "Suggestion: Make sure the model is trained with ML.NET {0} or older.\n " +
355355 "Debug details: Maximum expected version {2}, got {3}." ,
356356 typeof ( VersionInfo ) . Assembly . GetName ( ) . Version , ver . LoaderSignature , header . ModelVerReadable , ver . VerWrittenCur ) ;
357357 if ( header . ModelVerWritten < ver . VerWeCanReadBack )
358358 {
359359 // Breaking backwards compatibility is something we should avoid if at all possible. If
360360 // this message is observed, it may be a bug.
361- throw Contracts . ExceptDecode ( "Cause: TLC {0} cannot read component '{1}' of the model, because the model is too old.\n " +
362- "Suggestion: Make sure the model is trained with TLC {0}.\n " +
361+ throw Contracts . ExceptDecode ( "Cause: ML.NET {0} cannot read component '{1}' of the model, because the model is too old.\n " +
362+ "Suggestion: Make sure the model is trained with ML.NET {0}.\n " +
363363 "Debug details: Minimum expected version {2}, got {3}." ,
364364 typeof ( VersionInfo ) . Assembly . GetName ( ) . Version , ver . LoaderSignature , header . ModelVerReadable , ver . VerWrittenCur ) ;
365365 }
0 commit comments