i am trying to train a classifier of an object. I have tried to train it in MATLAB and i am getting good results. But the generated output .xml file can't be used in open-cv. so can anyone tell me how can i use the MATLAB generated .xml file in open-cv or can anyone give me some link to app where i can directly put my positive and negative images and it can do all the training and give me out .xml file in open-cv.
Thanks in advance
Here you can find several .exe that will help you to train your OpenCV classifier.
And here you can find a tutorial. Hope it helps!
Related
I am currently working on a disparity map estimation project in Matlab. I am using the middlebury datasets including ground-truth disparities in PFM format. I don't know how to load this particular format in Matlab. Could anyone help me? Thanks
I have tried a simple load and then read in the documentation that the load function does not support the pfm format.
I want to study and use the "MVGC Multivariate Granger Causality MatlabĀ® Toolbox" . For that I want to run a example for the same in Matlab. Can you tell me how to import this toolbox and use it with the help of one sample working example ? Thanks in Advance
You can download it, extract the zip file, then run startup.m and see if you get no errors.
I have a problem in applying Super-Resolution Convolutional Neural Networks (SRCNN). In SRCNN code, the 'Readme.txt' file tells
1) Place the "SRCNN" folder into "($Caffe_Dir)/examples/"
2) Open MATLAB and direct to ($Caffe_Dir)/example/SRCNN, run "generate_train.m" and "generate_test.m" to generate training and test data.
3)To train our SRCNN, run ./build/tools/caffe train --solver examples/SRCNN/SRCNN_solver.prototxt
4) After training, you can extract parameters from the caffe model and save them in the format that can
be used in our test package (SRCNN_v1). To do this, you need to
install mat-caffe first, then open MATLAB and direct to ($Caffe_Dir)
and run "saveFilters.m". The "($Caffe_Dir)/examples/SRCNN/x3.mat" will
be there for you.
In number 3, I don't know how to run prototxt file in Matlab. So there is anyone to help me running prototxt file in Maytlab? I want some example code to run prototxt file in Matlab. Thank you for reading.
I have just tried out Neural Network fitting tool in Matlab, however, I am not able to generate a function which relates all the input variables to the output, can anybody help me out on this? Is there a post-processor available to do that?
cheers,
Gaurav
If You are using nftool at the last page there are saving options.
You can generate script that will allow You to solve similar problem but with new fitting data and (what I think You want) You can save object with Your net that You can use with Your input to get output.
The trained NN object itself can be used as the input-output function. It is an object that contains an "evaluate" method. See the example from mathworks for details:
http://www.mathworks.com/help/nnet/ref/fitnet.html
I am training a neural network using the FANN library and I find the library pretty impressive. The problem is that I when I tried to "export" (manually) the weights and the formation of the network so I could simulate it in Matlab something is going wrong... While FANN tells me I have an mse of 4-5% when I try to simulate it in matlab it's around 80%!
I believe I'm missing something when I'm trying to translate/map the attributes of the network from the saved file. Can somebody have a look and please help me?
The saved .net file which fann produces, the .xls files into which I put the weights as well as the matlab scripts in case you want to test it are all here : http://users.isc.tuc.gr/~spapagrigoriou/network/ .