-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Labels
Description
The CTrainNodeCvRF::save() / CTrainNodeCvRF::load() seems to not working.
When loading the training data (saved before with CTrainNodeCvRF::save() function) with the CTrainNodeCvRF::load() function, the random forest appears to be empty and the first call of the CTrainNodeCvRF::getNodePotentials() function causes an exception.
However, it is possible to successfully load the training data, which was saved by the DGM v.1.5.0.
In order to reproduce, please insert into the Demo Train the code:
nodeTrainer->save("D:\\");
nodeTrainer->reset();
nodeTrainer->load("D:\\");
after the line
nodeTrainer->train();