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.
https://blog.owulveryck.info/2019/04/03/from-a-project-to-a-product-the-state-of-onnx-go.html
MIT License
704 stars 72 forks source link

Sporadic error in the reshape operation #138

Closed owulveryck closed 5 years ago

owulveryck commented 5 years ago

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.

blackrez commented 5 years ago

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).

blackrez commented 5 years ago

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