Skip to content

Any plan to support Graph attribute type? #215

@odannyc

Description

@odannyc

I'm trying to run a custom model but I'm getting an error when trying to load the model.

onnx: operator . Implementation error for attribute body (&ir.AttributeProto{Name:"body", RefAttrName:"", DocString:"", Type:5, F:0, I:0, S:[]uint8(nil), T:(*ir.TensorProto)(nil), G:(*ir.GraphProto)(0x14000134180), Floats:[]float32(nil), Ints:[]int64(nil), Strings:[][]uint8(nil), Tensors:[]*ir.TensorProto(nil), Graphs:[]*ir.GraphProto(nil), XXX_NoUnkeyedLiteral:struct {}{}, XXX_unrecognized:[]uint8(nil), XXX_sizecache:0}): ir.AttributeProto_GRAPH not handled yet

The error is coming from: https://github.com/owulveryck/onnx-go/blob/13f8618fa3024b5a5b65e03d501985bede0b7f31/attributes.go#L32-L36

Are there any plans to support this?

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