oramasearch / onnx-go

onnx-go gives the ability to import a pre-trained neural network within Go without being linked to a framework or library.

Home Page:https://blog.owulveryck.info/2019/04/03/from-a-project-to-a-product-the-state-of-onnx-go.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sporadic error in the reshape operation

owulveryck opened this issue · comments

From times to time, the CI fails with an error:

--- FAIL: TestReshape_Scalar (0.00s)
##[error]    reshape_test.go:43: Cannot reshape, bad output shape []float32{0, 1, 2, 3, 10000, 10001, 10002, 10003}
FAIL
FAIL	github.com/owulveryck/onnx-go/backend/x/gorgonnx	0.108s

This is to investigate.

This happen again on this jobs.

https://travis-ci.com/owulveryck/onnx-go/jobs/239399874

I will try to reproduce the same build env (with go, docker and ubuntu).

This is fixed, this is not a issue about build env but about how graph works.