latentsvmdetector - Converting Matlab models to xml

asked 2013-07-23 04:47:33 -0500


I came across the following code to convert latentsvm-detector Matlab models to xml:

This code is very helpful to me, as I'm training new models in Matlab.

However, the code refers to model.rootfilters and model.partfilters that do not exist in the Matlab model (I loaded one of the models available in the matlab package).

Is there a new version of the mat2xml.m that I should use? Is there any way to fix this?

Can someone please guide me as to how to covert models from Matlab format to xml using mat2xml.m? I'm quite stuck and any help will be very helpful.



edit retag flag offensive close merge delete


I share your pitty, but I do not think that people actually rewrote a new mat2xml file for converting the new structure. I haven't been lucky to find a single working convertion m-file.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-07-23 04:57:53 -0500 )edit

Thanks for the answer. I'll guess I'll have to write something myself.

GilLevi gravatar imageGilLevi ( 2013-07-23 08:34:53 -0500 )edit

If you do so, feel free to create a pull request with the conversion tool. More info on the 'how to contribute' page.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-07-23 08:39:34 -0500 )edit

Hi GilLevi, I am also having the same problem. I generated a new model using Pascal VOC development code but converting the mat file to an XML seems to be a night mare. Did you have any luck with mat2xml.m for the new model structure. Looking forward to your reply.

kwasif gravatar imagekwasif ( 2013-10-09 06:10:18 -0500 )edit

Please could you give me the procedure to generate new models? thanks.

EricFokou gravatar imageEricFokou ( 2015-05-06 03:42:54 -0500 )edit

The standard matlab implementation of the latentsvm detector and training software can be found here.

StevenPuttemans gravatar imageStevenPuttemans ( 2015-05-07 04:58:20 -0500 )edit