Skip to content

Commit

Permalink
Removed unused parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
cchadowitz committed Nov 8, 2019
1 parent 543a2e1 commit 732995f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/backends/dlib/dliblib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -122,17 +122,6 @@ namespace dd {
bbox = true;
}

// If provided, use this as the chip_size for the shape predictor. Default: 150
int chip_size = _chip_size;
if (ad_mllib.has("chip_size")) {
chip_size = ad_mllib.get("chip_size").get<int>();
}
double padding = _padding;
// If provided, use this as the padding ratio for the shape predictor. Default: 0.25
if (ad_mllib.has("padding")) {
padding = ad_mllib.get("padding").get<double>();
}

const std::string modelFile = this->_mlmodel._modelName;
if (modelFile.empty()) {
throw MLLibBadParamException("No pre-trained model found in model repository");
Expand Down

0 comments on commit 732995f

Please sign in to comment.