MLP train Runtime error

asked 2014-01-08 08:04:31 -0600

AMAWAL gravatar image

Hi,

I'm trying to train an MLP using CvANN_MLP, but i'm getting a runtime error ... any idea why this is happening? I tried some tutorials that seems to run correctly by others, but I am still having the runtime error,

Thanks in advance

edit retag flag offensive close merge delete

Comments

... and the error is ?

berak gravatar imageberak ( 2014-01-08 08:11:46 -0600 )edit

There is no error message, it just says, this application has been stopped ... I am working on codeblocks C++

AMAWAL gravatar imageAMAWAL ( 2014-01-08 08:20:40 -0600 )edit

at least post a minimal code snippet, that reproduces your error, so others can try it

berak gravatar imageberak ( 2014-01-08 08:45:05 -0600 )edit

Here is the tutorial: http://bytefish.de/blog/machine_learning_opencv/ I also tried on vs 2010, same problem

AMAWAL gravatar imageAMAWAL ( 2014-01-08 09:12:46 -0600 )edit

The line causing the error is:// train mlp.train(trainingData, trainingClasses, cv::Mat(), cv::Mat(), params);

AMAWAL gravatar imageAMAWAL ( 2014-01-08 09:13:30 -0600 )edit

Seems like the problem comes from codeblocks, I succeeded to run it on VS 2010

AMAWAL gravatar imageAMAWAL ( 2014-01-08 09:41:53 -0600 )edit

think so, too. the machine learning tut runs fine here, even on vs2008.

berak gravatar imageberak ( 2014-01-08 10:44:37 -0600 )edit