Closed flyers closed 7 years ago
try calling MXNotifyShutdown() before main() exits.
@mz24cn Thanks for your reply. It works. Besides, I also found the other examples don't work well under the current master mxnet version. For example, the lenet and googlenet example just give segmentation fault error.
@mz24cn In the lenet example, it looks like that the segmentation error starts from the convolution layer construction https://github.com/dmlc/MXNet.cpp/blob/master/example/lenet.cpp#L34-L35
try copying dmlc/nnvm.git repository latest version into dmlc/mxnet/nnvm directory, then recompile mxnet, rerun the examples.
@mz24cn Thanks very much. This issue can be closed now.
The mlp example here https://github.com/dmlc/MXNet.cpp/blob/master/example/mlp.cpp will not exit normally but complains about a segmentation fault (core dumped) error, probably because some of the resources are not cleaned up. Does anyone know why? Thanks.