Skip to content

Error Executing Graph with ImageLoader #792

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

Closed
zyw400 opened this issue Aug 31, 2018 · 1 comment
Closed

Error Executing Graph with ImageLoader #792

zyw400 opened this issue Aug 31, 2018 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@zyw400
Copy link
Member

zyw400 commented Aug 31, 2018

System information

  • OS version/distro: windows
  • .NET Version (eg., dotnet --info): latest master branch

Issue

When executing a graph generated with ImageLoader, bombed with an error:

[8/30/2018 5:06:37 PM Error] [xUnit.net 00:00:12.4271461] Microsoft.ML.Runtime.RunTests.TestEntryPoints.EntryPointExecGraphCommand [FAIL]
[8/30/2018 5:06:37 PM Informational] [xUnit.net 00:00:12.4294784] System.FormatException : One of the identified items was in an invalid format.
[8/30/2018 5:06:37 PM Informational] [xUnit.net 00:00:12.4311870] Stack Trace:
[8/30/2018 5:06:37 PM Informational] [xUnit.net 00:00:12.4325847] D:\mldotnet0823\machinelearning\src\Microsoft.ML.Core\Utilities\Contracts.cs(706,0): at Microsoft.ML.Runtime.Contracts.CheckDecode(IExceptionContext ctx, Boolean f)
[8/30/2018 5:06:37 PM Informational] [xUnit.net 00:00:12.4330332] D:\mldotnet0823\machinelearning\src\Microsoft.ML.Data\Model\ModelLoadContext.cs(153,0): at Microsoft.ML.Runtime.Model.ModelLoadContext.LoadNonEmptyString()
[8/30/2018 5:06:37 PM Informational] [xUnit.net 00:00:12.4331477] D:\mldotnet0823\machinelearning\src\Microsoft.ML.Data\Transforms\TransformBase.cs(354,0): at Microsoft.ML.Runtime.Data.OneToOneTransformBase.Bindings.Create(OneToOneTransformBase parent, ModelLoadContext ctx, ISchema input, ITransposeSchema transInput, Func2 testType) [8/30/2018 5:06:37 PM Informational] [xUnit.net 00:00:12.4332460] D:\mldotnet0823\machinelearning\src\Microsoft.ML.Data\Transforms\TransformBase.cs(508,0): at Microsoft.ML.Runtime.Data.OneToOneTransformBase..ctor(IHost host, ModelLoadContext ctx, IDataView input, Func2 testType)
[8/30/2018 5:06:37 PM Informational] [xUnit.net 00:00:12.4333372] D:\mldotnet0823\machinelearning\src\Microsoft.ML.ImageAnalytics\ImageLoaderTransform.cs(92,0): at Microsoft.ML.Runtime.ImageAnalytics.ImageLoaderTransform..ctor(IHost host, ModelLoadContext ctx, IDataView input)
[8/30/2018 5:06:37 PM Informational] [xUnit.net 00:00:12.4334287] D:\mldotnet0823\machinelearning\src\Microsoft.ML.ImageAnalytics\ImageLoaderTransform.cs(110,0): at Microsoft.ML.Runtime.ImageAnalytics.ImageLoaderTransform.<>c__DisplayClass11_0.b__0(IChannel ch)
[8/30/2018 5:06:37 PM Informational] [xUnit.net 00:00:12.4335158] D:\mldotnet0823\machinelearning\src\Microsoft.ML.Core\Data\IHostEnvironment.cs(232,0): at Microsoft.ML.Runtime.HostExtensions.Apply[T](IHost host, String channelName, Func`2 func)
[8/30/2018 5:06:37 PM Informational] [xUnit.net 00:00:12.4336053] D:\mldotnet0823\machinelearning\src\Microsoft.ML.ImageAnalytics\ImageLoaderTransform.cs(110,0): at Microsoft.ML.Runtime.ImageAnalytics.ImageLoaderTransform.Create(IHostEnvironment env, ModelLoadContext ctx, IDataView input)
[8/30/2018 5:06:37 PM Informational] [xUnit.net 00:00:12.4349911] Output:
[8/30/2018 5:06:37 PM Informational] [xUnit.net 00:00:12.4350922] Test EntryPointExecGraphCommand: aborted: passed
[8/30/2018 5:06:37 PM Informational] [xUnit.net 00:00:12.4543727] Finished: Microsoft.ML.Core.Tests

Source code / logs

Please use any random images for testing and modify the test.txt to test.csv.

test.txt
image_graph.txt

@shauheen shauheen added the bug Something isn't working label Sep 4, 2018
@shauheen shauheen added this to the 0918 milestone Sep 4, 2018
@montebhoover
Copy link
Contributor

Confirmed that this does not repro as of commit 2c0bb21. I believe this was fixed as a side effect of #753 (Image transforms become Estimators).

@ghost ghost locked as resolved and limited conversation to collaborators Mar 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants