go-mxnet-predictor icon indicating copy to clipboard operation
go-mxnet-predictor copied to clipboard

fatal error: mxnet/c_predict_api.h: No such file or directory while building the Golang app

Open vasantivmahajan opened this issue 6 years ago • 5 comments

I need to make predictions on a pre-trained MXNet model in Golnag. I try to use your library for making the predictions, however, while building the application I get the following error:


 # github.com/songtianyi/go-mxnet-predictor/mxnet  
 ../../songtianyi/go-mxnet-predictor/mxnet/error.go:20:33: fatal error: mxnet/c_predict_api.h: No such file or directory
compilation terminated. 

How can this be resolved?

vasantivmahajan avatar Apr 11 '18 19:04 vasantivmahajan

There are several steps which described in README to make it work.

  1. Did you clone and build the mxnet correctly?
  2. If so, which version of mxnet you are using?

songtianyi avatar Apr 12 '18 02:04 songtianyi

Yes, the MXNet library is correctly built. I can run other sample MXNet codes on the same machine. The version I am using is 1.1.0.

vasantivmahajan avatar Apr 12 '18 14:04 vasantivmahajan

I'll test go-mxnet-predictor with MXNet 1.1.0 later

songtianyi avatar Apr 14 '18 04:04 songtianyi

Isn't MXNet 1.1.0 the latest version of MXNet available?

vasantivmahajan avatar Apr 17 '18 16:04 vasantivmahajan

What's the status of it?

0xBYTESHIFT avatar Jan 21 '21 19:01 0xBYTESHIFT