bgslibrary icon indicating copy to clipboard operation
bgslibrary copied to clipboard

saving a trained model

Open sjaiswal25 opened this issue 7 years ago • 1 comments

Is there a way by which one can save a trained bgs model, so that it can be loaded automatically when its used the next time, without having to explicitly train again?

sjaiswal25 avatar Jul 12 '18 04:07 sjaiswal25

Hi @sjaiswal25 , sorry for my long feedback. The only method that provide this feature is the MultiLayer algorithm. It provides 2 parameters named saveModel and preloadModel, as you can check here: https://github.com/andrewssobral/bgslibrary/blob/master/package_bgs/MultiLayer.h https://github.com/andrewssobral/bgslibrary/blob/master/package_bgs/MultiLayer.cpp However, I agree that it would be nice to have this kind of feature for all bgs methods. I will add it in my TO DO list for a next release. Thanks

andrewssobral avatar Aug 20 '18 12:08 andrewssobral