Skip to content

System.Runtime.InteropServices.SEHException : External component has thrown an exception #485

Closed
@frank-dong-ms-zz

Description

@frank-dong-ms-zz

Hi there, our team (ML.NET) is using tensorflow.NET and we are seeing below exception in some cases which is rare case and not easy to reproduce in local env:

Error Message:
System.Runtime.InteropServices.SEHException : External component has thrown an exception.
Stack Trace:
at Tensorflow.c_api.TF_SessionRun(IntPtr session, TF_Buffer* run_options, TF_Output[] inputs, IntPtr[] input_values, Int32 ninputs, TF_Output[] outputs, IntPtr[] output_values, Int32 noutputs, IntPtr[] target_opers, Int32 ntargets, IntPtr run_metadata, IntPtr status)
at Microsoft.ML.TensorFlow.TensorFlowUtils.Runner.Run() in D:\a\1\s\src\Microsoft.ML.TensorFlow\TensorflowUtils.cs:line 491
at ...

Code:
https://github.com/frank-dong-ms/machinelearning/blob/dd0faef7c6fd12b498ef9fb15ec8378650bc551b/src/Microsoft.ML.TensorFlow/TensorflowUtils.cs#L491

I'm wondering is there a way to get exception details like error message and call stack so we can investigate further?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions