# Revision history [back]

Does anybody else have this problem?

> "Bad argument (The SVM should be trained first) in CvSVM::predict"


Steven, I've seen your post but it doesn't seems to be a problem.

I'm trying to load saved SVM classifier:

mySVM.save("C:\classifier.xml");



I saved it as .xml, file seems to be correctly saved. Thanks!

Does anybody else have this problem?problem? Wapir did you manage to fix it?

>  "Bad argument (The SVM should be trained first) in CvSVM::predict"

CvSVM::predict"

Steven, I've seen your post but it doesn't seems to be a problem.

I'm trying to load saved SVM classifier:

mySVM.save("C:\classifier.xml");



I saved it as .xml, file seems to be correctly saved. Thanks!

Does anybody else have this problem? Wapir Wampir did you manage to fix it?

"Bad argument (The SVM should be trained first) in CvSVM::predict"

Steven, I've seen your post but it doesn't seems to be a problem.

I'm trying to load saved SVM classifier:

mySVM.save("C:\classifier.xml");