mathmanu / caffe-jacinto

This repository has moved. The new link can be obtained from https://github.com/TexasInstruments/jacinto-ai-devkit
116 stars 35 forks source link

missing a member function "sparsity_threshold_maxratio()" #12

Closed power0341 closed 7 years ago

power0341 commented 7 years ago

It seems the latest build missing a function named "sparsity_threshold_maxratio()"

src/caffe/solver.cpp:419:49: error: ‘const class caffe::SolverParameter’ has no member named ‘sparsity_threshold_maxratio’
         float threshold_value_maxratio = param_.sparsity_threshold_maxratio(); //0.1; //0.2;
mathmanu commented 7 years ago

Please replace it with: float threshold_value_maxratio = 0.2; I'll push a fix soon.

power0341 commented 7 years ago

@mathmanu copy