#8 model version is different

open
nobody
None
5
2012-01-25
2012-01-25
Anonymous
No

Sometimes when trying to perform testing, the following error occurred: "model version is different: 0 vs 100".

This error was first generated in the file feature_index.cpp, in the method EncoderFeatureIndex::save when saving the model file. At a certain point, bofs.write(.) would erase the buffer, and the beginning of the model file would not be written. In order to work this around, doing bofs.flush() seemed to solve the problem.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks