OpenCV image recognition - setting up ANN MLP

后端 未结 1 1128
难免孤独
难免孤独 2021-02-11 05:39

I am new in OpenCV world and neural networks but I have some coding experience in C++/Java.


I created my first ANN MLP and learned it the XOR:

#inc         


        
相关标签:
1条回答
  • 2021-02-11 06:16

    There was a problem in backprop weight scale parameter - it was too big and the ANN couldn't learn more difficult things.


    I changed the line to mlp->setTrainMethod(ANN_MLP::TrainingMethods::BACKPROP, 0.0001); and the hidden layer size to 100 (to speed up the learning) - now it's working!

    0 讨论(0)
提交回复
热议问题