Ask Your Question

nmcfarlane's profile - activity

2017-10-06 07:49:42 -0600 marked best answer How to save ANN_MLP by appending to file containing other data?

I'm using OpenCV 3.2. I need to save a trained ANN_MLP network, but it needs to be saved in the same file as other serialised data from the application (the api specifies only one set-up file), so I need a save() method that appends to existing data in a file.

Is there a way to save ANN_MLP by appending to an existing file and then read it back again?

Failing that, is is possible to "train" a network by setting the weight matrices, instead of using train() or load()? This would enable me to simply write/read the matrices that describe the network.

2017-10-06 06:18:54 -0600 received badge  Self-Learner (source)
2017-10-06 06:15:15 -0600 commented question How to save ANN_MLP by appending to file containing other data?

Thank you, berak. For info, in the simple case of writing and reading, this works: cv::FileStorage fs; fs.open(

2017-10-05 11:41:27 -0600 received badge  Editor (source)
2017-10-05 11:41:27 -0600 edited question How to save ANN_MLP by appending to file containing other data?

How to save ANN_MLP by appending to file containing other data? I'm using OpenCV 3.2. I need to save a trained ANN_MLP

2017-10-05 11:29:43 -0600 commented question How to save ANN_MLP by appending to file containing other data?

I have solved the second part of this question: it is possible to create a working network by copying the matrices. The

2017-10-05 09:25:09 -0600 asked a question How to save ANN_MLP by appending to file containing other data?

How to save ANN_MLP by appending to file containing other data? I'm using OpenCV 3.2. I need to save a trained ANN_MLP