Skip to content

Exception in example #2

@benprofessionaledition

Description

@benprofessionaledition

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions