Syntax
int sod_realnet_train_init(sod_realnet_trainer **ppOut);
Description
This routine allocate & initialize a new sod_realnet_trainer instance which will be used to train your RealNet models on the CPU via sod_realnet_train_start(). Depending on your dataset, training should take at least 18 hours to complete on a modern CPU. Once done, a RealNet model should be saved on disk and you must release all resources via sod_realnet_train_release() to avoid memory leaks.
Parameters
sod_realnet_trainer **ppOut
OUT: On success, a fresh sod_realnet_trainer handle is written into this pointer and the network is ready to start the train process via sod_realnet_train_start().
Return Value
SOD_OK is returned on success. Any other code indicates failure.
Example
Checkout the introduction course, the C/C++ samples on the download page or refer to the SOD Github Repository.
See also
sod_realnet_train_release • sod_realnet_train_config • sod_realnet_train_start.