Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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 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.

click to hide/show revision 2
retagged

updated 2017-10-05 09:25:31 -0600

berak gravatar image

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 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.

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.