Skip to content

Protobuf Parsing Failed when loading Keras model with custom layer #6098

@gjiremadzeBECKMAN

Description

@gjiremadzeBECKMAN

Hey all I'm having an error when trying to load a keras model with a custom layer. When trying to call Transforms.ApplyOnnxModel(modelFile) I'm receiving an exception:

Microsoft.ML.OnnxRuntime.OnnxRuntimeException: '[ErrorCode:InvalidProtobuf] Protobuf parsing failed.'

Has anyone tried loading models with custom layers with onnxruntime and have you had any success?

Does anyone know which ONNX opsets are supported in the current ML.NET? Or where I can find this information?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions