Skip to content

ONNXRuntime adding custom op #232

Open
@OrkhanHI

Description

@OrkhanHI

Question

I have created C++ script, build the binary .so file and imported with load library and added my new function to ONNX.
I have loaded and checked the model, everything looks fine.

Now, I would like to run the model with ONNXRuntime, however I am getting:

Fail: [ONNXRuntimeError] : 1 : FAIL : Load model from generator.onnx failed:Fatal error: my_grid_sampler is not a registered function/op

The provided tutorial does not tell clearly directory and file names that need to be created.

Could you please elaborate clearly the steps, to register my custom op in ONNXRuntime with the real example, file names?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions