We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, Great write up! I am getting an error right after checkout and go build running go version go1.14.2 linux/amd66 Any idea how i can fix this ?
Thanks
panic: mat: zero length in matrix dimension
goroutine 1 [running]: gonum.org/v1/gonum/mat.NewDense(...) /root/goEnv/src/gonum.org/v1/gonum/mat/dense.go:50 main.dot(0x571fc0, 0xc000072040, 0x571fc0, 0xc000072200, 0x1c, 0x1c) /root/goEnv/neural_network/gonn/mlp.go:95 +0x21a main.Network.Predict(0x310, 0xc8, 0xa, 0xc000072040, 0xc000072080, 0x3fb999999999999a, 0xc0002be000, 0x310, 0x310, 0xc000040510, ...) /root/goEnv/neural_network/gonn/mlp.go:67 +0xd8 main.predictFromImage(0x310, 0xc8, 0xa, 0xc000072040, 0xc000072080, 0x3fb999999999999a, 0x7fff4e778edc, 0xa, 0xc000072080) /root/goEnv/neural_network/gonn/mlp.go:211 +0x96 main.main() /root/goEnv/neural_network/gonn/main.go:49 +0x236
Also running ./gonn -mnist train produces an error also panic: runtime error: index out of range [1] with length 1
goroutine 1 [running]: main.mnistTrain(0xc000062f48) /root/goEnv/neural_network/gonn/main.go:69 +0x7e3 main.main() /root/goEnv/neural_network/gonn/main.go:33 +0x2cd
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
Great write up!
I am getting an error right after checkout and go build running go version go1.14.2 linux/amd66
Any idea how i can fix this ?
Thanks
./gonn -file nums/1.png
panic: mat: zero length in matrix dimension
goroutine 1 [running]:
gonum.org/v1/gonum/mat.NewDense(...)
/root/goEnv/src/gonum.org/v1/gonum/mat/dense.go:50
main.dot(0x571fc0, 0xc000072040, 0x571fc0, 0xc000072200, 0x1c, 0x1c)
/root/goEnv/neural_network/gonn/mlp.go:95 +0x21a
main.Network.Predict(0x310, 0xc8, 0xa, 0xc000072040, 0xc000072080, 0x3fb999999999999a, 0xc0002be000, 0x310, 0x310, 0xc000040510, ...)
/root/goEnv/neural_network/gonn/mlp.go:67 +0xd8
main.predictFromImage(0x310, 0xc8, 0xa, 0xc000072040, 0xc000072080, 0x3fb999999999999a, 0x7fff4e778edc, 0xa, 0xc000072080)
/root/goEnv/neural_network/gonn/mlp.go:211 +0x96
main.main()
/root/goEnv/neural_network/gonn/main.go:49 +0x236
Also running ./gonn -mnist train produces an error also
panic: runtime error: index out of range [1] with length 1
goroutine 1 [running]:
main.mnistTrain(0xc000062f48)
/root/goEnv/neural_network/gonn/main.go:69 +0x7e3
main.main()
/root/goEnv/neural_network/gonn/main.go:33 +0x2cd
The text was updated successfully, but these errors were encountered: