c++ - Caffe prints entire protext file on net_.reset(new Net<float>(model_file, TEST)) -


i using on caffe c++ deep learning application. whenever load model file, prints contents of entire .protext file on console. printing happening @ point,

shared_ptr<net<float> > net_; net_.reset(new net<float>(model_file, test)); 

how disable this? appreciated.

you can control verbosity (i.e., how caffe prints log) of caffe using environment variable glog_minloglevel. default, caffe outputs log messages of level "info" (1) , up. try setting 2 (warnings) disable of printouts.

~$ glogminloglevel=2 my_app_that_uses_caffe 

see this thread more information.


Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -