Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Any plan to support Graph attribute type? #215

Open
odannyc opened this issue May 1, 2024 · 0 comments
Open

Any plan to support Graph attribute type? #215

odannyc opened this issue May 1, 2024 · 0 comments

Comments

@odannyc
Copy link

odannyc commented May 1, 2024

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:

onnx-go/attributes.go

Lines 32 to 36 in 13f8618

return nil, &ErrNotImplemented{
AttributeName: attr.GetName(),
AttributeValue: attr,
Message: "ir.AttributeProto_GRAPH not handled yet",
}

Are there any plans to support this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant