From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Errors on IMAQ Train SVM due to invalid number of labels in weighted cost

I get errors when I try to train texture using 'IMAQ Train SVM' due to invalid number of labels in weighted cost. I could not find much information about weighted cost for the 'Model Options' input. What type of label needs to be supplied and how many? I could not find any related information in NIVisionConcepts document. Are there any other references?

 

Thanks,

-ygno

0 Kudos
Message 1 of 4
(4,783 Views)

Hi ygno,

 

According to this help document you need an array of labels and weight. Make sure you initialize the array when you use the VI and have the appropriate amount of elements in the array.

Paolo F.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 4
(4,744 Views)

i try to HOG-SVM algorism.

when i use train svm node, i have a error

 

"You supplied an invalid number of labels".

 

 

i want to make a algorism at  'c-svc mode'

 

can i get more information?

what should i do?

0 Kudos
Message 3 of 4
(3,091 Views)

Hello,

It appears that this forum thread was opened almost 2 years ago. I highly recommend opening up a new thread. This will increase its exposure to the community.

Regards,

Thomas C.
FlexRIO Product Support Engineer
National Instruments
0 Kudos
Message 4 of 4
(3,068 Views)