MCPcopy Create free account
hub / github.com/davisking/dlib / print_shape_predictor_training_options

Function print_shape_predictor_training_options

tools/python/src/shape_predictor.h:112–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110 }
111
112 inline string print_shape_predictor_training_options(const shape_predictor_training_options& o)
113 {
114 std::ostringstream sout;
115 sout << "shape_predictor_training_options("
116 << "be_verbose=" << o.be_verbose << ", "
117 << "cascade_depth=" << o.cascade_depth << ", "
118 << "tree_depth=" << o.tree_depth << ", "
119 << "num_trees_per_cascade_level=" << o.num_trees_per_cascade_level << ", "
120 << "nu=" << o.nu << ", "
121 << "oversampling_amount=" << o.oversampling_amount << ", "
122 << "oversampling_translation_jitter=" << o.oversampling_translation_jitter << ", "
123 << "feature_pool_size=" << o.feature_pool_size << ", "
124 << "lambda_param=" << o.lambda_param << ", "
125 << "num_test_splits=" << o.num_test_splits << ", "
126 << "feature_pool_region_padding=" << o.feature_pool_region_padding << ", "
127 << "random_seed=" << o.random_seed << ", "
128 << "num_threads=" << o.num_threads << ", "
129 << "landmark_relative_padding_mode=" << o.landmark_relative_padding_mode
130 << ")";
131 return sout.str();
132 }
133
134// ----------------------------------------------------------------------------------------
135

Callers

nothing calls this directly

Calls 1

strMethod · 0.45

Tested by

no test coverage detected