Skip to content
New issue

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

Exception in example #2

Open
benprofessionaledition opened this issue Sep 5, 2016 · 3 comments
Open

Exception in example #2

benprofessionaledition opened this issue Sep 5, 2016 · 3 comments

Comments

@benprofessionaledition
Copy link

Hello, I've followed the documentation to get everything installed and I'm running into this issue when attempting to run the example:

panic: Cannot find argument 'fix_gamma', Possible Arguments:

eps : float, optional, default=1e-10
Epsilon to prevent div 0
momentum : float, optional, default=0.1
Momentum for moving average

goroutine 1 [running]:
panic(0x4231420, 0xc422f420b0)
/usr/local/Cellar/go/1.7/libexec/src/runtime/panic.go:500 +0x1a1
main.main()
/usr/local/go/bin/src/github.com/jdeng/gomxnet/example/main.go:56 +0xad4

This issue seems to be caused by the statement "goxmnet.NewPredictor(...)", which appears to call MXPredCreate in the native code (predict.go line 54 and then mxnet.cc line 20000 something). I'm sadly unfamiliar with debugging tools for C++ and Go, so I can't get a whole lot further than that. My suspicion is that I've failed in the setup somehow. I'm using OpenBLAS 2.18.2, and the Inception-BN model.

@vadmeste
Copy link

vadmeste commented Oct 8, 2016

panic: Cannot find argument 'fix_gamma', Possible Arguments:

eps : float, optional, default=1e-10
Epsilon to prevent div 0
momentum : float, optional, default=0.1
Momentum for moving average

I have the same error message. It would be great if someone fix it.

@vadmeste
Copy link

vadmeste commented Oct 8, 2016

@lqstuart, I think I understood the problem.. mxnet code in this repository is quite outdated, it seems you need to apply "mxnet amalgamation (this is optional. A pre-generated mxnet.cc is already in the directory.)" section in README.md

I didn't test it but I downloaded an earlier version of the mxnet model (https://www.dropbox.com/s/es1xn9404p8isia/Inception21k-Full.zip?dl=1) and it worked just fine.

@songtianyi
Copy link

Is there anyone build pass?
Too much trouble for building.

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

No branches or pull requests

3 participants