You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried to wrap the OpenCV function: cv::Ptr<ml::SVM> p = ml::SVM::load<ml::SVM>(filename) using the following codes and solved the problem. Unfortunately, OpenCV has a bug in this function.....
@lymhust
Thank you very much for the effort, and sorry for late reply.
This is a problem indeed, it turns out that we should wrap these :load() functions for each cv::Algorithm subclass.
I'll now do this for cv::ml based on your patch, and later for other packages. Then it will be possible to call svm:load{'svm_model.xml'}.
Hi,
I have trained a RTrees model and saved it using following codes. However, I cannot reload the trained model. How to solve this problem? Thanks!
How to reload RT_MNIST_MODEL?
The text was updated successfully, but these errors were encountered: