-
Notifications
You must be signed in to change notification settings - Fork 6.8k
cpp_package instructions need clarification and examples need repair #12401
Comments
@mxnet-label-bot [C++, Build, Example, Breaking] |
@aaronmarkham The instructions here appear to be updated - https://mxnet.incubator.apache.org/install/c_plus_plus.html |
@aaronmarkham after I dived deeper into examples. I've captured the current status.
will keep updating the table as soon as I got the result (it take more than 20 mins for one epoch for those examples)
|
Is v like ✔️ ? |
@aaronmarkham Refer to #13243, some models are not trained at all in examples. Params are not updated after each epoch. |
@sandeep-krishnamurthy could you close this issue? @roywei PR has been merged into master |
I tried following the instructions for building c++ examples.
The resulting binaries don't work out of the box, and after troubleshooting some terminate abruptly, core dump or do nothing.
I worked on the example C++ for image prediction (#12397) that has its own Makefile that points to libmxnet.so specifically, and was able to get it to run without hunting for the mxnet library. The Makefile for the
cpp-package/example
files does not mention the library at all. Maybe that's a problem?The steps in the README could use some clarification. Eventually after trying a bunch of things, I found a reference that led me to try this:
And some of the examples started working! At least they're finding the library. I can add this line to the instructions if this is what we should recommend that people do after building from source with the cpp package flag turned on. Is it?
But, then there's also the fact that several the examples core dump:
Or do nothing:
The text was updated successfully, but these errors were encountered: