Open loeffel-io opened 2 years ago
My guess is that the axes is a int64
and not a []int64
which causes the error.
I don't know why, but you can try to change the code in unsqueeze.go like this:
a, ok := o.Attributes["axes"].(int64)
if !ok {
return errors.New("unsqueeze: axes in not an []int64")
}
a.Axes = []int64{a}
Thanks @owulveryck, i created a workaround like this too but then i got stuck because the Cast
operator is unimplemented.
I moved to https://github.com/triton-inference-server/server
I would leave this open to inform that the Unsqueeze
operator seams unstable - feel free to close if not
Hello @owulveryck,
i try to run this onnx model:
with this code:
It looks like i miss something pretty small - would love to get some help ❤️ thank you