SOD C/C++ API - RealNet Architecture


int sod_realnet_train_init(sod_realnet_trainer **ppOut);


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.


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.


Checkout the introduction course, the C/C++ samples on the download page or refer to the SOD Github Repository.

See also